Hello,
While applying any BOGOF promo in OOTB, free item is added into order item with field isPromo set to Y. It might be possible that there are other items in the order as well. IMO, we need to have order item assoc maintained as well, in this case, to find out this free item is available with which other order items. I think this is not maintained yet in any other form as well, please let me know am I missing something? Any thoughts are welcome in this direction !! Thanks in advance. -- Best Regards, Suraj Khurana TECHNICAL CONSULTANT mobile: +91 9669750002 email: [hidden email] www.hotwax.co |
Hello Suraj,
You have presented a good solution but IMHO maintaining OrderItemAssoc records wouldn't work in all the cases. I mean what would happen if there is a Buy 3 Get 1 promotion? I would recommend to Prorate the discount while order creation and the same discounted amount should be credited when an item is returned. More thoughts are welcome here! Thanks & Regards, Devanshu Vyas. On Wed, Feb 27, 2019 at 7:24 PM Suraj Khurana <[hidden email]> wrote: > Hello, > > While applying any BOGOF promo in OOTB, free item is added into order item > with field isPromo set to Y. > It might be possible that there are other items in the order as well. > IMO, we need to have order item assoc maintained as well, in this case, to > find out this free item is available with which other order items. > > I think this is not maintained yet in any other form as well, please let me > know am I missing something? > Any thoughts are welcome in this direction !! > > Thanks in advance. > > -- > Best Regards, > Suraj Khurana > TECHNICAL CONSULTANT > mobile: +91 9669750002 > email: [hidden email] > www.hotwax.co > |
+1 Devanshu, and for the specific buy one get one maintaining the
OrderItemAssoc not making sense. We can use OrderItem.isPromo, OrderAdjustment, ProductPromoUse and ProductPromo relationship to identify the free product. And if we are not able to identify the free product then we should go for some custom development. Best Regards, -- Rishi Solanki Sr Manager, Enterprise Software Development HotWax Systems Pvt. Ltd. Direct: +91-9893287847 http://www.hotwaxsystems.com www.hotwax.co On Sun, Mar 10, 2019 at 4:07 PM Devanshu Vyas <[hidden email]> wrote: > Hello Suraj, > > You have presented a good solution but IMHO maintaining OrderItemAssoc > records wouldn't work in all the cases. I mean what would happen if there > is a Buy 3 Get 1 promotion? > > I would recommend to Prorate the discount while order creation and the same > discounted amount should be credited when an item is returned. > More thoughts are welcome here! > > Thanks & Regards, > Devanshu Vyas. > > > On Wed, Feb 27, 2019 at 7:24 PM Suraj Khurana <[hidden email]> > wrote: > > > Hello, > > > > While applying any BOGOF promo in OOTB, free item is added into order > item > > with field isPromo set to Y. > > It might be possible that there are other items in the order as well. > > IMO, we need to have order item assoc maintained as well, in this case, > to > > find out this free item is available with which other order items. > > > > I think this is not maintained yet in any other form as well, please let > me > > know am I missing something? > > Any thoughts are welcome in this direction !! > > > > Thanks in advance. > > > > -- > > Best Regards, > > Suraj Khurana > > TECHNICAL CONSULTANT > > mobile: +91 9669750002 > > email: [hidden email] > > www.hotwax.co > > > |
Free forum by Nabble | Edit this page |