本文档由 Apifox 自动生成,推荐使用 Apifox - API 文档、API 调试、API Mock、API 自动化测试!
<salla-quick-buy>
web component is used for quick purchase. It redirects the customer immediately to the checkout page. By streamlining the shopping experience, customer can cut out extra steps and reduce abandonments, giving customers a secure and frictionless way to buy goods online.
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
Amount | amount | Product's amount value. | number | 0 |
Currency | currency | Product's amount currency. | string | undefined |
Is Require Shipping | is-require-shipping | To be passed to the purchaseNow request. | boolean | undefined |
Options | -- | Product options, if is empty will get the data from the document.querySelector('salla-product-options[product-id="X"]') | {} | {} |
Product ID | product-id | Product's ID. | string | undefined |
Type | type | Button's type. | "book" | "buy" | "donate" | "order" | "pay" | "plain" | 'buy' |
扫码加入 Apifox 微信交流群
在这里,获得 Apifox 使用上的任何帮助,快速上手让你的研测效率得到大幅提升