Personalized checkout and custom promotions with Shopify Scripts
Hi, I created tabs on the product page using HTML at the back end of "product".
The button for "Dog Food Formula Comparison" (ドックフードフォーミュラ比較) is displaying correctly, but the content of the tab is not showing. Can you please help me?
The HTML script I created:
Button:
<button class="tablinks" id="defaultOpen" onclick="openCity(event, 'ドックフードフォーミュラ比較')"><strong>ドックフードフォーミュラ比較</strong></button>
Content of the tab:
<div class="tabcontent" id="ドックフードフォーミュラ比較">REAL POWERの選び方が分からない? <br>フォーミュラの比較を見てみましょう!<br> <br> <span style="font-size: 18px;">ペットの“主な問題”に合わせて選びましょう!<br>愛犬の状態に合わせて最適なReal Nature Recipeのフォーミュラを選択します。</span><br><img src="https://cdn.shopify.com/s/files/1/0751/1988/6621/files/230822-Compare-dog-JP.jpg?v=1692690012" alt="ドックフードフォーミュラ比較" style="display: block; margin-left: auto; margin-right: auto;"></div>
The content of the tab should be showed like this:
But the page is displayed like this currently:
There is nothing showed under the tab of "Dog Food Formula Comparison (ドックフードフォーミュラ比較)"...
Is there a way I could see what it looks like now on the site?
It looks like this. There is nothing displayed under the tab of "Dog Food Formula Comparison (ドックフードフォーミュラ比較)".
There are contents displayed under other tabs and I am using the same script.
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025