Close

Works in ProductBox , but not ProductDetail

optimido
9 years ago
#7907 Quote
Avatar
  • 5
Hi

Wonder if you could give me a quick pointer in the right direction. I have Ajax Cart installed and it works fine adding to cart in the ProductBox view, but doesn't in the ProductDetail view, can you see why? http://www.caterplate.co.uk

Thanks

Cheers
Richard
Stefan
9 years ago
#7908 Quote
Avatar
  • Moderator
  • 157
optimido wrote:
Hi

Wonder if you could give me a quick pointer in the right direction. I have Ajax Cart installed and it works fine adding to cart in the ProductBox view, but doesn't in the ProductDetail view, can you see why? http://www.caterplate.co.uk

Thanks

Cheers
Richard


Hi optimido,

As the markup differs from the default nopComemrce markup, you need to configure the Nop Ajax Cart selector settings according to your markup. In your case open the admin -> plugins -> nop ajax cart -> settings page and under the Ajax cart selector settings change the value as shown below:

Product page "Add To Cart" button selector: button.add-to-cart-button

Hope that helps!

Best Regards,

Stefan Hristov
Nop-Templates.com
optimido
9 years ago
#7909 Quote
Avatar
  • 5
Brilliant, thank you, thought as much and tried some options but not that one... typical. Thanks again.