Created
April 4, 2013 09:23
-
-
Save amacgregor/5309017 to your computer and use it in GitHub Desktop.
Add to registry form call
This file contains hidden or 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
<?php | |
/** | |
* Product view template | |
* | |
* @see Mage_Catalog_Block_Product_View | |
* @see Mage_Review_Block_Product_View | |
*/ | |
?> | |
<?php $_helper = $this->helper('catalog/output'); ?> | |
<?php $_product = $this->getProduct(); ?> | |
<script type="text/javascript"> | |
var optionsPrice = new Product.OptionsPrice(<?php echo $this->getJsonConfig() ?>); | |
</script> | |
<div id="messages_product_view"><?php echo $this->getMessagesBlock()->getGroupedHtml() ?></div> | |
<div class="product-view"> | |
<div class="product-essential"> | |
<!--- Add to registry Block START --> | |
<?php echo $this->getChildHtml('registry_add') ?> | |
<!--- Add to registry Block END --> | |
<form action="<?php echo $this->getSubmitUrl($_product) ?>" method="post" id="product_addtocart_form"<?php if($_product->getOptions()): ?> enctype="multipart/form-data"<?php endif; ?>> | |
.... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment