0.0.2 • Published 6 years ago

vtex.buybutton v0.0.2

Weekly downloads
1
License
ISC
Repository
-
Last release
6 years ago

BuyButton

BuyButton is a canonical component that any VTEX store can install.

Usage

TODO

Configuration

/**
 * The quantity of products to be added to the cart
 */
- quantity
  - Type: Number

/**
 * The specification of wich product will be added to the cart.
 */
- skuId
  - Type: Number

/**
 * Wich seller is being referenced by the button.
 */
- seller
  - Type: String

/**
 * Sales channel.
 */
- salesChannel
  - Type: String

/**
 * Graphql property to call a mutation.
 */
- mutate
  - Type: Function

/**
 * Function that will be called after the mutation.
 */
- afterClick
  - Type: Function

/**
 * The users cart id
 */
- orderFormId
  - Type: String

Troubleshooting

You can check if others are experiencing similar issues here. Also feel free to open issues.

Contributing

TODO