<https://www.loom.com/share/5666d0fe973c4a6ab806e7...
# replo-help
a
https://www.loom.com/share/5666d0fe973c4a6ab806e7906bd78ac2 Hey Replo Team! Is there a way to have a click of a button on a PDP not immediately add a product to cart....but save it for adding to cart when the primary product is added to cart?
p
Hi! This is Shahar from the Replo Team. You can try using a Tabs component. So there would be three menu options (your upsell options) and three content containers which will have the add to cart button. So on those add to cart buttons, one add to cart interaction would be for the dynamically added product (which will have your variant and commitment) and another add to cart interaction where you will add your upsell product. More details here: https://support.replo.app/articles/1719607721-tabs
a
thanks! but there's no way to have the "upsell" product be automatically added in addition to the current product in one action?
so that on click of primary add to cart button, Replo checks if there are any additional products it should also be adding to cart in addition to the primary product?
p
Yeah, so this way your button will have two add-to-cart interactions. When your user selects "no upsell", the first add to cart button will be shown only that would have only the dynamically added add to cart interaction. The second upsell will lead to a new add-to-cart button with two add-to-cart interactions (one for the dynamic product and one for the upsell). If you are referring to a dynamic method for adding upsells, we currently don't have one yet since the dynamic data is supported inside a single product component. We currently don't have this feature, but I believe it's a fantastic idea. Please share your suggestion by submitting a feature request at https://feedback.replo.app/. Your input is highly appreciated! If you need further assistance, feel free to reach out!
a
so the three upsell options each map to their own tab?
p
Thats correct Andy. This way each upsell container will have its own add to cart button.