Hi,
You can move price count down from default position,
Solution: Please find the below steps to display timer before special price.
Step 1:
Go to the following file path, app/design/frontend/base/default/layout/timer.xml
Replace the following code,
<catalog_product_view> <reference name="head"> <action method="addJs"><script>timer.js</script></action> <action method="addCss"><stylesheet>timer/timer.css</stylesheet></action> </reference> <reference name="product.info.extrahint"> <block type="catalog/product_view" name="timer" before="-" template="timer/product/view.phtml"/> </reference> </catalog_product_view>
Instead of this,
<catalog_product_view> <reference name="head"> <action method="addJs"><script>timer.js</script></action> <action method="addCss"><stylesheet>timer/timer.css</stylesheet></action> </reference> <reference name="product.info.addto"> <action method="setTemplate" ifconfig="timer/general/enabled"> <template>timer/product/view.phtml</template> </action> </reference> </catalog_product_view>
Step 2:
Go to the following file path, app/design/frontend/base/default/template/timer/product/view.phtml
Remove the below code,
<?php $_wishlistSubmitUrl = $this->helper('wishlist')->getAddUrl($_product); ?> <ul class="add-to-links"> <?php if ($this->helper('wishlist')->isAllow()) : ?> <li><a href="<?php echo $_wishlistSubmitUrl ?>" onclick="productAddToCartForm.submitLight(this, '<?php echo $_wishlistSubmitUrl ?>'); return false;" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li> <?php endif; ?> <?php $_compareUrl = $this->helper('catalog/product_compare')->getAddUrl($_product); ?> <?php if ($_compareUrl) : ?> <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li> <?php endif; ?> </ul>
After changed the code clear the cache and indexing in the back end. Here is the steps: Go to admin->system->cache management->clear cache Go to admin->system->Index management->Re index.
Note : Kindly take back up the files before make changes.
Thanks, Thirunisha
|
|