how to do I add a order customization addons for each products on my store and it has to automatically? When a customer adds a product with a addon to the cart the value of the product has to change automatically.
How do i add order customization before checkout using the buy button on glide
I think you have to either:
Add each product variant on its own row, e.g:
White T-Shirt
Red T-Shirt
Yellow T-Shirt
And pre-calculate the cost for each item, have the “add to cart” button on each independent screen. This uses the native buy button flow.
Or have only one T-Shirt row, add your add-ons (white, red, yellow). Make the user choose an add-on, calculate the cost with a math column, then when the user clicks the “Check Out” button, you add a row to the Orders table with info of the item with the addon, plus the price. This will have to be a Google Sheets table.
Your “Cart” will now have to be customized and not using Glide’s native flow, basically summing up all items that have not been paid, I imagine you would have to use a Sheet formula for this, since buy buttons do not accept calculated columns as input for the price field.