jeudi 26 février 2015

can i have a second media.phtml in my magento new theme?

so this is the project.


I need to display the regular product images for most of the products but for a second set of products i need to replace the image with a javascript that will change depending on selections of options.


My question is: can i have two different media.phtml. Let's say media.phtml and js-media.phtml. And if i can where can i change this?


Or another case could be finding the file responsible for the content on the product page and change it there.



<?php echo $this->getChildHtml('content') ?>


I thought i could change this creating a new layout file but apparently i am wrong.


Thanks


Aucun commentaire:

Enregistrer un commentaire