FAQs

How size chart will be prioritized if set for all 3 – global, category and product?

If you have set global, category specific and product specific size chart, it will prioritize to first show product chart, if not available than will display category chart and else if will show global size chart.

How to show Size Chart through CMS block?

Once you have created a CMS block with size chart details. Go to set size chart WYSIWYG editor and click on insert widget, select default template and CMS block from the list. Save the settings and you are done. Your CMS block content can be seen as size chart in frontend.

How to show size chart button on product view page in Porto theme?

  • First of all go to app\design\frontend\Smartwave\porto\Magento_Catalog\layout and open xml file.

  • Now find for <move element=”page.main.title” destination=”product.info.main” before=”-“/> in the file and paste below code after this.

  • <referenceContainer name=”product.info.main”>

<block class=”Magecomp\Sizechart\Block\Sizechart”

name=”sizechart”

template=”Magecomp_Sizechart::sizechart.phtml”

after=”-“>

</block>

</referenceContainer>

Last updated