Hi,
Please insert given below code at functions.php of child theme :
<?php
function sf_product_accordion() {
global $woocommerce, $product, $post;
$options = get_option('sf_neighborhood_options');
if (isset($options['enable_pb_product_pages'])) {
$enable_pb_product_pages = $options['enable_pb_product_pages'];
} else {
$enable_pb_product_pages = false;
}
$product_description = sf_get_post_meta($post->ID, 'sf_product_description', true);
?>
<div class="accordion" id="product-accordion">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle" data-toggle="collapse" data-parent="#product-accordion" href="#product-desc">
<?php _e("Brand", "swiftframework"); ?>
</a>
</div>
<div id="product-desc" class="accordion-body collapse in">
<div class="accordion-inner">
<?php
if ($enable_pb_product_pages) {
echo do_shortcode(sf_add_formatting($product_description));
} else {
the_content();
}
?>
</div>
</div>
</div>
<?php if ( comments_open() ) : ?>
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#product-accordion" href="#reviews">
<?php _e("Reviews", "swiftframework"); ?> (<?php echo comments_number( '0', '1', '%' ); ?>)
</a>
</div>
<div id="reviews" class="accordion-body collapse">
<div class="accordion-inner">
<?php comments_template(); ?>
</div>
</div>
</div>
<?php endif; ?>
</div>
<?php
} ?>
Thanks ๐
With Best Regards
Swift Ideas