简体   繁体   English

Shopify价格作为用户输入

[英]Shopify price as user input

Hi i am using shopify for my store. 嗨,我正在为商店使用shopify。 Actually I do not want to fix price for my products. 实际上,我不想为我的产品定价。 I want user add price in input as donation how much he want. 我希望用户在输入中添加价格作为捐赠数量。 Scenario: There should be input box instead of fix price user add some value in input that will become price of Product. 场景:应该有一个输入框而不是固定价格,用户在输入中添加一些将成为产品价格的值。

Hope you understand. 希望你能理解。

For this i have search on google but not any accurate answer. 为此,我已经在谷歌搜索,但没有任何准确的答案。

Please any help? 请任何帮助? Thanks 谢谢

There is a way to add this using the default functionality. 有一种使用默认功能添加此功能的方法。

You can create a product with a price of $1 and instead of the price field, you will show the quantity field. 您可以创建价格为$ 1的产品,而不是价格字段,而是显示数量字段。

So when the user for example add $10 he will add the product with a quantity of 10. So $1x10 = $10 and you have your custom price. 因此,例如,当用户增加10美元时,他将添加数量为10的产品。因此1x10 = 10美元,您便拥有了自定义价格。

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

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