on 05-22-2015 11:12 AM
Hi Team,
I need to add every set of products to cs a new line items. I don't want products to be grouped as single line item based on the product id.
i.e If I add two Apple iPhones to my cart separately. My cart should have them as two separate line items.
Cart:
Apple iPhone - Qty 1
Apple iPhone - Qty 1
Should not be added as below
Cart:
Apple iPhone - Qty 2.
Any Ideas on how to achieve this? Thanks in advance!
Hi MohanaPriya..Please help me with this issue. https://answers.sap.com/questions/12754090/i-followed-how-to-create-a-widget-tutorial-but-no.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have tried this approach making createNewEntry(true), the problem in cart page is it shows only one single line item and the qty is 1, but subtotaland tax will be the price of 2 line items. Even if you remove any item in Cart page, the other item will still be there. I noticed it in demo stores.In further pages of checkout you can see two individual line items under items to be delivered heading. In fact the code used in both the pages is same, which is retrieval from cartdata.let me know if solved in cart page.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It is possible to send to cart service a parameter createNewEntry that makes this happen. But facades by default set this value to false so you would need to override it and set value to true
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.