简体   繁体   English

Shopify(.liquid)和JavaScript

[英]Shopify (.liquid) and JavaScript

For a bit of context, we are interested in building out this feature here. 在某种程度上,我们有兴趣在此处构建此功能。 The example in STEP 1 is exactly what we want our website to have: 步骤1中的示例正是我们希望我们的网站拥有的:

http://recharge.helpscoutdocs.com/article/96-combining-different-pre-pai-intervals-onto-one-product http://recharge.helpscoutdocs.com/article/96-combining-different-pre-pai-intervals-onto-one-product

However, we're having trouble integrating it and figuring out what STEP 2 is actually telling us and were hoping you guys would be open to helping us out. 但是,我们在集成它和确定STEP 2实际告诉我们的内容时遇到了麻烦,并希望你们愿意帮助我们。 We are using Shopify and integrating it with a 3rd party app for our subscription model called ReCharge. 我们正在使用Shopify,并将其与名为ReCharge的订阅模型与第三方应用程序集成。

We're looking at having the following choices for our products: 我们正在考虑为我们的产品提供以下选择:

4 weeks - $55 6 weeks - $60 8 weeks - $65 4周-$ 55 6周-$ 60 8周-$ 65

Thank you very much. 非常感谢你。 If you guys need more context, let me know. 如果你们需要更多背景信息,请告诉我。

Benny 本尼

Step 2 is changing the values on "two hidden input" fields using JS. 第2步是使用JS更改“两个隐藏的输入”字段上的值。 In the form these two fields are not displayed and a proxy selection option is in place. 在表单中,这两个字段未显示,并且代理选择选项处于适当位置。

So using JS, those input values are changed based on the proxy selection. 因此,使用JS,这些输入值将根据代理选择进行更改。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM