Created
December 14, 2012 18:18
-
-
Save heyfletch/4287422 to your computer and use it in GitHub Desktop.
Custom Color Options Magento Extension by Temgra
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<reference name="head"> | |
<action method="addJs"><script>temgra/colorCustomOptions.js</script></action> | |
<action method="addItem"><type>skin_css</type><name>css/colorCustomOptions.css</name></action> | |
</reference> | |
<reference name="content"> | |
<remove name="product.info.addto" /><!-- optional --> | |
</reference> | |
<reference name="product.info"> | |
<action method="setTemplate"><template>catalog/product/view-custom.phtml</template></action> | |
</reference> | |
<reference name="product.info.media"> | |
<action method="setTemplate"><template>colorcustomoptions/media.phtml</template></action> | |
</reference> | |
<reference name="product.info.options"> | |
<action method="setTemplate"><template>colorcustomoptions/options.phtml</template></action> | |
<action method="addOptionRenderer"><type>select</type><block>catalog/product_view_options_type_select</block><template>colorcustomoptions/select.phtml</template></action> | |
</reference> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How exactly does this work?