Close

Add to cart with tier prices do not work

janurva
2 years ago
#21892 Quote
Avatar
  • 1
Hi,
When I apply Tier prices to a product then I can't use ajax add to cart button on homepage on Jcarousel. It gives me error in log:
The model item passed into the ViewDataDictionary is of type 'Nop.Web.Models.Catalog.ProductDetailsModel+ProductPriceModel', but this ViewDataDictionary instance requires a model item of type 'Nop.Web.Models.Catalog.ProductDetailsModel'.

When I remove the Tier price, it works perfectly.

I'm using NopCommerce 4.4 version and Pacific nop templates theme.
hristo
2 years ago
#21894 Quote
Avatar
  • Moderator
  • 172
Hello janurva.
Unfortunately we were not able to reproduce your issue.
I tested various products with Tier Price enabled in Pacific 4.4 and they work as expected - I can add them to the cart from anywhere, including from carousels on Home Page.
If you are still having that issue please start a support ticket and provide us with admin access to your site so we can log in and inspect what's going on.
Regards,
Hristo Gospodinov
Nop-Templates.com