gpt4 book ai didi

html - Shopify,将文本更改为我在页面中写的内容

转载 作者:行者123 更新时间:2023-11-28 03:17:32 27 4
gpt4 key购买 nike

我希望“标签内容运输”是我在产品页面“运输”栏下的页面“运输”中所写的内容。这是代码

<div id="tabs" class="htabs">
<a href="#tab-description" class="selected">{{'products.product.description' | t}}</a>
<a href="#tab-new">Tab Heading</a>
<a href="#tab-review" class="">{{'products.product.customer_reviews' | t}}
</a>
{%- if product.featured_image.alt contains 'iframe' -%}
<a href="#tab-video">{{'products.product.video' | t}}</a>
{%- endif -%}
</div>
<div id="tab-description" class="tab-content" itemprop="description">
{{product.description}}</div>
<div id="tab-new" class="tab-content" itemprop="description">Tab Content <a
href="/shiiping/page/link">Shipping</a></div>
<div id="tab-review" class="tab-content"><div id="shopify-product-reviews"
data-id="{{product.id}}">{{product.metafields.spr.reviews}}</div></div>
{%- if product.featured_image.alt contains 'iframe' -%}
<div id="tab-video" class="tab-content">{{product.featured_image.alt}}</div>
{%- endif -%}

Here is what it looks like now

非常感谢!

最佳答案

改变

<div id="tab-new" class="tab-content" itemprop="description">Tab Content <a 
href="/shiiping/page/link">Shipping</a></div>

<div id="tab-new" class="tab-content" itemprop="description">{{pages.shipping.content}}<a 
href="/shiiping/page/link">Shipping</a></div>

请进一步注意,您可能应该将此代码和您的 the code in the original question 中的“shiiping”更正为“shipping” .

关于html - Shopify,将文本更改为我在页面中写的内容,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45388736/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com