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 (将#修改为@)