Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

size chart
 
nalinagc
Jr. Member
 
Total Posts:  1
Joined:  2013-11-01
 

I want add size chart for both simple and configurable product how to achive this

i fail to achive by following steps

1.created Jackets Size Chart block.
2.Added new attributes size_chart_templates.
3.assigned size_chart_templates for aprticular attribute set.
4.added following code in /magento/app/design/frontend/default/theme174/template/catalog/product/view.phtml

if($_product->getAttributeText(’size_chart_templates’) == “Jackets Size Chart")
{

$sizeChartURL= $this->getSkinUrl(’sizecharts/’.$_product->getAttributeText(’size_chart_templates’).’.php’);

$sizeChartIcon= Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA)."size-charts/size-chart.gif";

echo ‘<a href="’.$sizeChartURL.‘“ target="_blank"><img src="’.$sizeChartIcon.‘“ alt="size chart"></a>’;

}

but it not helpful i need to show size chart particluar group of product (i.e., not every product page) .
What would be the best way to achive this?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Tucker2014
Jr. Member
 
Total Posts:  1
Joined:  2014-01-09
 

Looking for this as well

 
Magento Community Magento Community
Magento Community
Magento Community
 
brendanb
Mentor
 
Total Posts:  1093
Joined:  2008-07-16
London, United Kingdom
 

Hi,

your close,

but you talk about using a static block, but the if statement refers to a template file.??.

Why not just call the static block you created which can contain the sizing chart?

If (attribute=="x"){
echo static block here
}

brendan

 
Magento Community Magento Community
Magento Community
Magento Community
 
ashishkhadpe
Member
 
Total Posts:  58
Joined:  2011-08-22
 

Hi

We have implemented this on http://www.samyakk.com/men-s/suits/designer-suits/st134
Please get in touch with us for any magento customization work.

Thanks
Parsys Media
Magento Ecommerce Development Company in Mumbai, India

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top