Clearing properties on duplication in shopping cart

15 views
Skip to first unread message

Nmhor Kmhor

unread,
Sep 29, 2025, 12:53:04 PM (7 days ago) Sep 29
to XMPie Interest Group
We have a "Requested Ship By Date" property on our products.  When a customer duplicates a product in their shopping cart, we would like to nullify this property in the copy, forcing the customer to enter a new "Requested Ship By Date" for the copied item.  Is there a way to do this?

Nmhor Kmhor

unread,
Sep 29, 2025, 12:55:22 PM (7 days ago) Sep 29
to XMPie Interest Group
I should add that we also want to clear the "Requested Ship By Date" property when a customer reorders a product in addition to when they duplicate a product in their shopping cart.

couch

unread,
Sep 29, 2025, 9:07:44 PM (7 days ago) Sep 29
to XMPie Interest Group
The best way to handle it would be as a feature request. I can see the need for it and it should be implemented in the uStore back office on the property/customization setup configuration.

As a work-around today:

* If the product is using the legacy multi-page mode instead of the newer NG mode, then you could probably use the "add javascript to storefront" feature to automatically clear the value. 

* If it is using NG, that will not work. In this case, the only thing I can think of that might help in the short term is to create a custom input dial:   Input Control Development Guide · XMPieLab/uStore-NG Wiki - However, I don't think the dial gets information from uStore about whether the dial is being loaded for the first time, or for editing an item that has already had the value set? So, you may end up clearing the value every time the dial loads which might not be desirable. Also IMHO having to create a custom dial just for this seems like overkill to me.

Reply all
Reply to author
Forward
0 new messages