Sébastien L Posted March 28, 2014 Share Posted March 28, 2014 (edited) Hello, I would show the manufacturer name in products pack items. The code : {$product.manufacturer_name} does not work. Any idea to solve this problem ? Should I add a variable to pack items ? Thank you in advance Edited March 29, 2014 by slett (see edit history) Link to comment Share on other sites More sharing options...
rocky Posted March 29, 2014 Share Posted March 29, 2014 If you don't have $product.manufacturer_name, but you have $product.id_manufacturer, you can use the following: {Manufacturer::getNameById($product.id_manufacturer)} 1 Link to comment Share on other sites More sharing options...
Sébastien L Posted March 29, 2014 Author Share Posted March 29, 2014 If you don't have $product.manufacturer_name, but you have $product.id_manufacturer, you can use the following: {Manufacturer::getNameById($product.id_manufacturer)} Hello rocky ! thanks for your help, it works fine now Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now