如何在opencart的产品页面中添加没有任何扩展名的额外标签

how to add extra tab without any extension in product page in opencart

如何在opencart的产品页面添加没有任何扩展名的额外标签 可能这是任何人帮助的额外标签的代码?问候

<div class="tabs-group"> <div id="tabs" class="htabs clearfix"><a href="#tab-description">Delivery </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( $productConfig['enable_product_customtab'] && isset($productConfig['product_customtab_name'][$languageID]) ) { ?>
        <a href="#tab-customtab"><?php echo $productConfig['product_customtab_name'][$languageID]; ?></a>
        <?php } ?>

    </div>
    <div id="tab-description" class="tab-content"><?php echo $description; ?></div>
    <?php if ($attribute_groups) { ?>
    <div id="tab-attribute" class="tab-content">
        <table class="attribute">
            <?php foreach ($attribute_groups as $attribute_group) { ?>
            <thead>
            <tr>
                <td colspan="2"><?php echo $attribute_group['name']; ?></td>
            </tr>
            </thead>
            <tbody>
            <?php foreach ($attribute_group['attribute'] as $attribute) { ?>
            <tr>
                <td><?php echo $attribute['name']; ?></td>
                <td><?php echo $attribute['text']; ?></td>
            </tr>
            <?php } ?>
            </tbody>
            <?php } ?>
        </table>
    </div>
    <?php } ?>

这可能是额外选项卡的代码,有人帮忙吗?问候

将 link 添加到 div id="tabs",并使用 href 指向自定义标签的 id

 <div class="tabs-group"> 
   <div id="tabs" class="htabs clearfix">
     <a href="#tab-description">Delivery </a>
     <a href="#tab-my-tab">My Tab</a> //Your custom tab
     ....

然后在

之后添加您的选项卡div
<div id="tab-description" class="tab-content"><?php echo $description; ?></div>
<div id="tab-my-tab" class="tab-content">Your html content goes here</div>