Skip to content

Commit

Permalink
Update docs/ProductSummaryBuyButton.md
Browse files Browse the repository at this point in the history
Co-Authored-By: Christian Kaisermann <christian@kaisermann.me>
  • Loading branch information
Breno Calazans and kaisermann committed Mar 16, 2020
1 parent 77cf76c commit cf459d4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/ProductSummaryBuyButton.md
Expand Up @@ -48,7 +48,7 @@ This Component can be imported and used by any VTEX App.
| --- | --- |
| `default` | It will add to cart if the product has one SKU. It will link to the product page if it has more than one SKU. |
| `alwaysGoToProduct` | It will always link to the product page. |
| `alwaysAddToCart` | It will always add the selected item to cart. Be careful: use this option only if the user is able to select all variations of the product. Example: if the product has Color and Size, you should show the SKU Selector of both variations so the user can select the color and size they want, otherwise the button will add a product that the user was not able to choose, for example, the first Size option. |
| `alwaysAddToCart` | It will always add the selected item to cart. **Be careful**: use this option only if the user is able to select all variations of the product. Example: if the product has Color and Size, you should show the SKU Selector of both variations so the user can select the color and size they want, otherwise the button will add a product that the user was not able to choose, for example, the first Size option. |

## Customization

Expand All @@ -59,4 +59,3 @@ In order to apply CSS customizations in this and other blocks, follow the instru
| `buyButtonContainer` |
| `buyButton` |
| `isHidden` |

0 comments on commit cf459d4

Please sign in to comment.