Hello,
I have JM Dicento installed here -- http://shop.redwoodfoods.eu/ and absolutely love it.
One of the questions I have been asked is whether it is possible to add a "read more" to the green area which appears when you hover over a thumbnail?
I would like to copy the "add to cart" button and have it next to that button saying "read more" -- this should link through to the product description.
Is this possible?
Many thanks to anyone who can point me in the right direction!
Darragh
3 answers
Greetings Darragh,
You could do that by making a bit change in code of this JM Product extension.
Goto file: \app\design\frontend\default\jm_dicentotemplate\j oomlart\jmproducts\list.phtml, line 56, there is a div like:
Code:
<div class="actions"> <?php if($_product->isSaleable()){ ?> <button class="form-button" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"> <span><span><?php echo $this->helper("catalog")->__('Add to Cart') ?></span></span> </button> <?php } else { ?> <div class="out-of-stock"><?php echo $this->helper("catalog")->__('Out of stock') ?></div> <?php } ?> <button class="form-button" onclick="setLocation('<?php echo $_product->getProductURL() ?>')"> <span><span><?php echo $this->__("Read more") ?></span></span> </button> </div>
Add read more button like above.
Then flush magento cache
Greetings Darragh,
You could do that by making a bit change in code of this JM Product extension.
Goto file: \app\design\frontend\default\jm_dicentotemplate\j oomlart\jmproducts\list.phtml, line 56, there is a div like:
Code:
<div class="actions"> <?php if($_product->isSaleable()){ ?> <button class="form-button" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"> <span><span><?php echo $this->helper("catalog")->__('Add to Cart') ?></span></span> </button> <?php } else { ?> <div class="out-of-stock"><?php echo $this->helper("catalog")->__('Out of stock') ?></div> <?php } ?> <button class="form-button" onclick="setLocation('<?php echo $_product->getProductURL() ?>')"> <span><span><?php echo $this->__("Read more") ?></span></span> </button> </div>
Add read more button like above.
Then flush magento cache
Works perfectly -- thank you so much!
This question is now closed