vtex-apps / product-summary

VTEX Product Summary app
11 stars 51 forks source link

SKU selector on product card #129

Open Gatamura opened 5 years ago

Gatamura commented 5 years ago

Is your feature request related to a problem? Please describe. We need to be able to allow the customer to close the purchase of the shelf itself, the only point that prevents this would be the fact of having to select the sku.

Describe the solution you'd like We thought of asking for an extension point on the product card to be able to add this feature. It would be nice to think about leaving the component with flexbox so we can order and use it on different parts of the card.

Describe alternatives you've considered An alternative would be to add this to the backlog because it can be something recurring from the shopkeepers.

Additional context https://imgur.com/BKnBUt9

rerissondaniel commented 5 years ago

Hi, we understand that this is a very important feature, we started implementing it some time ago but the catalog API didn't have the data we needed. So we will check if the information we need is available now. Thanks for opening this issue!

sahanljc commented 5 years ago

Guys, this is something we needed for our store too. We thought of coming up with a modal which basically includes the product-details block. Instead of the default empty callback onSKUSelected for the SKUSelector, we could use our own callback which stores the selected item ID in state. This way we can retain the modal on SKU selection instead of redirecting to the SKU page.