如何解决Shopify:如何检索主主题中的充值URL
我正在Shopify网站上工作,它使用Recharge订阅应用程序。我需要将主要主题链接定向到Recharge中的页面,并且Recharge应用程序中使用的液体链接在主要主题的定位标记之外无法正常工作。我该怎么办?
例如,我希望在单击主主题的“我的帐户”链接时加载Recharge的订阅页面。
标题中的原始链接。液体
<a href="/account" class="icon-user" title="{{ 'layout.customer.my_account' | t }} {% if customer %}({{ customer.email }}){% endif %}"> <span>{% if customer %}{{ 'layout.customer.my_account' | t }}{% else %}{{ 'layout.customer.log_in' | t }}{% endif %}</span></a>
从充值中添加了 {{subscription_list_url}} ,代替了href =“ / account”,该链接在浏览器中变为空白。
<a href="{{ subscription_list_url }}" class="icon-user" title="{{ 'layout.customer.my_account' | t }} {% if customer %}({{ customer.email }}){% endif %}"> <span>{% if customer %}{{ 'layout.customer.my_account' | t }}{% else %}{{ 'layout.customer.log_in' | t }}{% endif %}</span></a>
如何检索充值到主主题的特定链接?
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。