Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- custom_product_tab.xml
- <file name="catalog/view/theme/althaina/template/product/product.tpl">
- <operation>
- <search position="replace"><![CDATA[
- <div id="tabs" class="htabs">
- ]]></search>
- <add><![CDATA[
- <?php if ($cpt_show) { ?>
- <?php $custom_tab_count = 0; ?>
- <?php if ($products) { ?>
- <a href="#tab-related"><?php echo $tab_related; ?> (<?php echo count($products); ?>)</a>
- <?php } ?>
- #################################################################################
- product.tpl
- <div id="tabs" class="htabs">
- <a href="#tab-description"><?php echo $tab_description; ?></a>
- <?php if ($attribute_groups) { ?>
- <a href="#tab-attribute"><?php echo $tab_attribute; ?></a>
- <?php } ?>
- <?php if ($review_status) { ?>
- <a href="#tab-review"><?php echo $tab_review; ?></a>
- <?php } ?>
- <?php if ($products) { ?>
- <a href="#tab-related"><?php echo $tab_related; ?> (<?php echo count($products); ?>)</a>
- <?php } ?>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment