Quick Buy
<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.Note
Example

Usage
HTML
SASS
Properties
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' |
Modified at 2024-08-18 10:11:24