Issue
I'm working on prestashop 1.7. I added a field to the specific_price table. I would like to use the data in this field in the cart-detailed-product-line.tpl
How should I do this ? Do I need to connect to the price_specific table in the Cart.php class? If yes, how?
Thanks in advance!
Solution
Yes, the simplest in view of your situation, is to create an override Link.php, and in there make a call to your table to fetch your information.
In the tpl you only have to put {$link->nameoffunction(parametre)}
Regards
Answered By - ethercreation Answer Checked By - Timothy Miller (PHPFixing Admin)
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.