Changing the product price in code

Highlighted
New Member
11 0 0

Hello everyone,

i want to ask about changing product price. Is it possible to change product price in code? I want to customize my product with extras and i want to manipulate price when changing for example comboBox (select html).

<select id="combo" onchange="...">
<option value="5$">Text1</option>
<option value="10$">Text2</option>
<option value="15$">Text3</option>
</select>

lets suppose that base price of product is 15$. When i choose the first option (Text1) i want to change price to 20$, in the same way like in the other options.

 

Best Regards!

0 Likes
Highlighted
New Member
11 0 0

@Ref

0 Likes