Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- custom_product_tab.xml
- from <file name="catalog/view/theme/default/template/product/product.tpl">
- to
- <file name="catalog/view/theme/MYCUSTOMTEMPLATE/template/product/product.tpl">
- <file name="catalog/view/theme/althaina/template/product/product.tpl">
- <operation>
- <search position="replace"><![CDATA[
- #################################################################################
- \catalog\view\theme\althaina\template\product\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