Magento show FROM price on configurable products

Posted by Damodar Bashyal on January 21, 2013

 

Magento displays base price set on configurable product as price on product listing pages and on product view page before attribute is selected. Client wanted to display either price range from simple products associated to it or show 'From' in front of the price, so it doesn't look like misleading because the price changes when attribute is selected e.g. different price for different size, that would turn off the customers.

So, this is what I did to add 'from' on the prices.

More»

Magento - Display review on a tab in collateral-tabs

Posted by Damodar Bashyal on January 06, 2013

 

Before solution I would like to show first attempt that I tried but failed to get desired result.

<block type="review/product_view" name="product.review" as="reviews" template="review/helper/summary.phtml">
	<block type="core/template" name="product_review_list.count" template="review/product/view/count.phtml"/>
	<action method="addToParentGroup"><group>detailed_info</group></action>
	<action method="setTitle" translate="value"><value>Review</value></action>
	<action method="getReviewsSummaryHtml" translate="title" module="review">
		<product helper="tcatalog/currentProduct"/>
		<templateType>false</templateType>
		<displayIfNoReviews>true</displayIfNoReviews>
	</action>
</block>

Now the solution that worked for me:

More»

Magento - Change getProductDefaultQty from 0 to 1

Posted by Damodar Bashyal on December 29, 2012

 

In magento product pages at add to cart input field, it shows either 0 or blank. But QA team wanted it to show 1 as default.

<input type="text" name="qty" id="qty" maxlength="12" value="<?php echo $this->getProductDefaultQty() * 1 ?>" title="<?php echo $this->__('Qty') ?>" class="input-text qty" />

So this is how it was resolved.

More»