Close

Trying to override _Addtocart from plugin

Madhukar
4 years ago
#21231 Quote
Avatar
  • 4
Hi,

I am trying to replace _Addtocart view with my plugin view. Its working fine with Default nopcommerce theme, but with Pavilion theme its not overriding. I guess its taking only theme view.

How to override my plugin view here?
SDobrev
4 years ago
#21240 Quote
Avatar
  • 283
Hi,

Our view engine is with higher priority and this is the reason why your view is not loaded. You should register your view locations before ours.
Best Regards,
Stoyan Dobrev
Nop-Templates.com
Madhukar
4 years ago
#21246 Quote
Avatar
  • 4
SDobrev wrote:
Hi,

Our view engine is with higher priority and this is the reason why your view is not loaded. You should register your view locations before ours.


I tried with highest and least priority nothing worked :(