Martin C Posted August 30, 2014 Share Posted August 30, 2014 This is want to achieve: A module on the left collumn which is showing the attributes of the product which is curently be viewed. Can anybody help me with some code snippets? Thanks in advance Link to comment Share on other sites More sharing options...
vekia Posted August 30, 2014 Share Posted August 30, 2014 you want to display these attributes in the same way as they appears on product page ? (with selectboxes etc.?) Link to comment Share on other sites More sharing options...
Martin C Posted August 30, 2014 Author Share Posted August 30, 2014 What i exactly want is to show a module only when this is true in the product.tpl: {foreach from=$features item=feature} {if $feature.name == 'Engraving' and $feature.value == 'Yes' } Link to comment Share on other sites More sharing options...
vekia Posted August 31, 2014 Share Posted August 31, 2014 but what you want to display? form to select attributes? or what? it's very important! because if you want to display form with attributes it will be necessary to move there other fields from <form> Link to comment Share on other sites More sharing options...
Martin C Posted August 31, 2014 Author Share Posted August 31, 2014 I have a shop with silver products which can be engraved. Therefore I have an attribute engraving, when this attribute is true i want to display in the left collumn the module advertising. In this advertising module i want to display an engraving picture to get the attention form the visitor. I realize that my initial question is not the correct question for what i want to achieve sorry for that Link to comment Share on other sites More sharing options...
Martin C Posted August 31, 2014 Author Share Posted August 31, 2014 Hi Vekia, can you please help me further with this issue? Regards, Martin Link to comment Share on other sites More sharing options...
sandipchandela Posted September 10, 2014 Share Posted September 10, 2014 You can achieve this by modifying product.js will find in theme js directory. Search for this. you will get the whole product attribute listing whether it is radio or color or drop down. function getProductAttribute() for get all attributes function refreshProductImages for modifying product images. It will help you out. 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