Hey everyone ! I have created a transaction item o...
# suitecommerce
j
Hey everyone ! I have created a transaction item option for a SuiteCommerce Advanced website, and I want to add this item option to the cart with its respective price. For example, there is an item option with the value "Room of Choice (+$50)," and I want to add this item option with its name and $50 price in the cart. For instance, if I have an item that costs $100 and it includes this item option, then this option should also appear in the cart with the name and price, and the total order amount should become $150.
u
Assuming i read this correctly - you have an item option which contains an item field. you intend to fill this field with the internalid of the item with the name : “Room of Choice (+$50),“. if thats correct you will want an extension that can read the item id and do some cart.addLine function from the extensibility layer. this would add both items to the cart on separate lines to be shown on the Cart / Sales Order
j
I have item option and I want to add that item option price in cart and I am attaching the reference pic below
cart is adding items options, but we need to add their prices in the cart dynamically, how can we do this?