Jump to content

Edit History

Alpha4

Alpha4

Hi, 

I overrided Product class, added a new attribute and overrided getproducts function from cart class. I need this attribute in cart-detailed-product-line.tpl. I tried to access it with {$product.my_attribute} but it doesn't work. And when I try {var_dump($product)} I can see my attribute, how can I do to access it? This problem only occur in my 1.7.5.1 prestashop version. In the 1.7.8 version everything is fine.

 

Alpha4

Alpha4

Alpha4

Hi, 

I overrided Product class added a new attribute and overrided getproducts function from cart class. I need this attribute in cart-detailed-product-line.tpl. I tried to access it with {$product.my_attribute} but it doesn't work. And when I try {var_dump($product)} I can see my attribute, how can I do to access it? This problem only occur in my 1.7.5.1 prestashop version. In the 1.7.8 version everything is fine.

 

Alpha4

×
×
  • Create New...