giodc Posted June 11, 2015 Share Posted June 11, 2015 I' m trying to display Manufacturer Name under three different places: 1: Header Ajax Cart 2: Checkout, in cart line 3: In the product slider for related products I try both of this solution that works on other templates: {$product.manufacturer_name|escape:'htmlall':'UTF-8'} {$product_manufacturer->name|escape:'html':'UTF-8'} {$product.manufacturer_name} Any Ideas? maybe this is not called from there so is not possible? Thanks 1 Link to comment Share on other sites More sharing options...
giodc Posted June 11, 2015 Author Share Posted June 11, 2015 For the one's need this info i figured out like this: Prestashop 1.6 1: Header Cart (blockcart.tpl) {Manufacturer::getnamebyid($product.id_manufacturer)} 2: Checkout, in cart line (shopping-cart-product-line.tpl) {Manufacturer::getnamebyid($product.id_manufacturer)} 3: In the product slider for related products (productscategory.tpl) {Manufacturer::getNameById($categoryProduct.id_manufacturer)|escape:'htmlall':'UTF-8'} Thanks! 1 Link to comment Share on other sites More sharing options...
Ron morales Posted March 10, 2016 Share Posted March 10, 2016 And insert link manufacturer and image in productcategory, this name show correct. but this link not know <span class="marcas_product_category"><a href="">{Manufacturer::getNameById($categoryProduct.id_manufacturer)|escape:'htmlall':'UTF-8'}</a></span> For the one's need this info i figured out like this: Prestashop 1.6 1: Header Cart (blockcart.tpl) {Manufacturer::getnamebyid($product.id_manufacturer)} 2: Checkout, in cart line (shopping-cart-product-line.tpl) {Manufacturer::getnamebyid($product.id_manufacturer)} 3: In the product slider for related products (productscategory.tpl) {Manufacturer::getNameById($categoryProduct.id_manufacturer)|escape:'htmlall':'UTF-8'} Thanks! An Link to comment Share on other sites More sharing options...
jose_ugs Posted March 6, 2018 Share Posted March 6, 2018 Thank you for these! 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