Hi everyone,
I am working on customizing the Product Detail Page (PDP) in NetSuite SuiteCommerce Advanced 2023.1.0 using Manor Theme. I have customize the code to display tabs and their content, as shown below:
<div role="tabpanel">
<!-- When more than one detail is shown, these are the tab headers -->
<ul class="product-details-information-content-tabs" role="tablist">
{{#each details}}
<li class="product-details-information-tab-title {{#if @first}} active {{/if}}" role="presentation">
<a href="#" data-action="selected-tab" data-id="{{@index}}" data-target="#product-details-information-tab-{{@index}}" data-toggle="tab">{{name}}</a>
</li>
{{/each}}
</ul>
<!-- Tab Contents -->
<div class="product-details-information-tab-content" data-type="information-content" data-action="tab-content">
{{#each details}}
<div role="tabpanel" class="product-details-information-tab-content-panel {{#if @first}}active{{/if}}" id="product-details-information-tab-{{@index}}" {{#if @first}}itemprop="description"{{/if}} data-action="pushable" data-id="product-details-information-{{ @index }}">
<h3 class="product-details-information-tab-content-panel-title">{{name}}</h3>
<p id="product-details-information-tab-content-container-{{@index}}" class="product-details-information-tab-content-container" data-type="information-content-text">{{{content}}}</p>
</div>
{{/each}}
</div>
</div>
I want to enhance this by displaying videos or related items within these tabs. I tried replacing the <p> tag with <div data-view="ItemDetails.DownloadsTab">, but I didn't get any result.
Can anyone guide me on how to display a list of items or embed videos within these tabs on the Product Detail Page? Any help or examples would be greatly appreciated!
Thanks in advance!