You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What problem are you trying to solve?.
Allow the checkout button redirect link to be edited via site editor.
Today, this behavior is controlled by the prop finishShoppingButtonLink(editable only via code).
It's interesting to go directly to the last checkout stage to speed up the checkout process.
However, when there is gift promotion, the only place where the user can choose the gift is on the first checkout stage:
So it's useful for the commercial team to be able to change this behavior easily via site editor:
When there is a active gift promotion they would choose to send the user to the first checkout stage. Otherwise, they would choose the last checkout stage.
Describe the solution you'd like
Create a schema in this component so the redirect link can be edited via site editor
Related to #315
The text was updated successfully, but these errors were encountered:
Co-authored-by: Genisio Alcantara <[email protected]>
(Actually all authored by him)
**What problem are you trying to solve?.**
Allow the checkout button redirect link to be edited via site editor.
Today, this behavior is controlled by the prop `finishShoppingButtonLink`(editable only via code).
It's interesting to go directly to the last checkout stage to speed up the checkout process.
However, when there is gift promotion, the only place where the user can choose the gift is on the first checkout stage:
![Gifts-oficina](https://user-images.githubusercontent.com/58344276/203791448-16f2abc4-73d9-4b16-8d5e-5546f90edc49.png)
So it's useful for the commercial team to be able to change this behavior easily via site editor:
When there is a active gift promotion they would choose to send the user to the first checkout stage. Otherwise, they would choose the last checkout stage.
#### How to test it?
[Workspace](https://checkoutbuttonschema--oficinareserva.myvtex.com/)
Admin -> CMS/Site editor -> Cabeçalho(Desktop/mobile)
--> Minicart Footer --> Botão de checkout
#### Screenshots or example usage:
![Screenshot from 2022-11-07 14-02-45](https://user-images.githubusercontent.com/58344276/200370473-6b6736ff-dede-424d-a0b4-7deb4fea7d42.png)
Related to [#699](vtex-apps/store-discussion#699)
What problem are you trying to solve?.
Allow the checkout button redirect link to be edited via site editor.
Today, this behavior is controlled by the prop
finishShoppingButtonLink
(editable only via code).It's interesting to go directly to the last checkout stage to speed up the checkout process.
However, when there is gift promotion, the only place where the user can choose the gift is on the first checkout stage:
So it's useful for the commercial team to be able to change this behavior easily via site editor:
When there is a active gift promotion they would choose to send the user to the first checkout stage. Otherwise, they would choose the last checkout stage.
Describe the solution you'd like
Create a schema in this component so the redirect link can be edited via site editor
Related to #315
The text was updated successfully, but these errors were encountered: