According to the theme design, the first tab in the accordion mode on the product page should be open, and the next one closed. I want to use the first "Custom Tab 1", but it does not work "Custom Tab 1" remains closed.
I think the problem in assigning the class "active" for div "tab-pane" in code at "template/product/view.phtml"
Hello,
According to the theme design, the first tab in the accordion mode on the product page should be open, and the next one closed. I want to use the first "Custom Tab 1", but it does not work "Custom Tab 1" remains closed.
I think the problem in assigning the class "active" for div "tab-pane" in code at "template/product/view.phtml"
<?php if ($key != 'description' && $key != 'additional' && $key != 'reviews' && $key != 'product_tag_list' && $key != 'product_questions'): ?>
<div class="tab-pane<?php if ($value == 0): ?> active<?php endif ?>" id="<?php echo "box-{$key}" ?>">
Please fix it.
screenshots
Hello,
I have fixed it for you. Please check.
Best regards.
Vinh.