Jump to content

Add product attributes to the cart modal window


Recommended Posts

Hi,

 

I’m using default-bootstrap theme with the latest version of prestashop and I’m working on local.

 

When I add some product to the cart it opens a modal window with details of the product and the cart.

 

I need to have on that modal the product discount attribute and the ‘New’ label that appears on the new products on product listing.

 

I’ve tried {$product|@print_r} on blockcart.tpl, to see the attributes I’m getting, and I have ‘reduction_type’ attribute, but I don’t have the ‘reduction’ attribute with the value or the ‘new’ attribute for the ‘New’ label.

 

How can I get this information??

 

Thanks!

Link to comment
Share on other sites

×
×
  • Create New...