daniego Posted October 30, 2012 Share Posted October 30, 2012 I need to display attribute supplier reference in product page. I tried with {$product->supplier_reference|escape:'htmlall':'UTF-8'} but it show always the supplier reference of product. Any idea to show supplier reference of combination? Link to comment Share on other sites More sharing options...
sebkos Posted October 31, 2012 Share Posted October 31, 2012 Did you add product reference to each product combination? In 1.5.2.0 it works properly without any code changes. Link to comment Share on other sites More sharing options...
daniego Posted October 31, 2012 Author Share Posted October 31, 2012 I use 1.4.8.2 and to make a test I have added product reference only to one combination Link to comment Share on other sites More sharing options...
CartExpert.net Posted October 31, 2012 Share Posted October 31, 2012 Hi. {$product->supplier_reference|escape:'htmlall':'UTF-8'} retrieves only the Supplier reference of the product. The combination's supplier reference is not a property of the product class so you can't use it as {$product->attribute_supplier_reference} Regards. Robin. The CartExpert Team Link to comment Share on other sites More sharing options...
daniego Posted November 1, 2012 Author Share Posted November 1, 2012 I'm trying to add function in product.php without result. Any idea? 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