November Happy Hour will be moved to Thursday December 5th.

Can't remove item from cart when using promotion SpendAmountGetGiftItems?

Vote:
 

Hi!

I'm usign the SpendAmountGetGiftItems promotion. If I spend 5000SEK I get two items for free. When I pass 5000SEK the items are added to the cart, fine. But then I try to remove them but they keep coming back.

I guess what happens is that I remove it, and the the workflow recalculates the cart and finds out that I reached 5000SEK, looks for this items and it is not there, add it again.
Am I right or am I missing something?

Thanks!

/Kristoffer

#177052
Apr 03, 2017 15:03
Vote:
 

Hi,

Yes, that's the expected behavior. Why would you remove the gifts item from the cart?

#177053
Apr 03, 2017 15:59
Vote:
 

Well, no reason actually besides that maybe I don't want the gifts. This way I have no choice. It is just that as a user you might get comfused when trying to remove something that keeps coming back. I guess the best behavior in that case should be that the we don't show a "remove" icon for these cart items.

Thanks again Quan!

/Kristoffer

#177054
Apr 03, 2017 16:07
Vote:
 

Can I tell which products have been added by this promotion so that I treat them differently?

/Kristoffer

#177055
Apr 03, 2017 16:28
Vote:
 

One possible way is to look into the RewardDescription returned by IPromotionEngine.Run. If there is any promotion of type SpendAmountGetGiftItems, look at its GiftItems property - it'll give you the list of items given as gift.

#177056
Apr 03, 2017 16:36
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.