Post by Cpac » Tue Nov 06, 2018 7:02 pm

Hi Guys,

I'm using Openstock as my product option solution and it's fine but I've set some of the options to auto hide depending on what is selected. The live price function then ceases to work as it's waiting for all the options to be selected.

I've found where the value is for the number of options it's waiting for, I just need to be able to update depending on which option is selected.

The value is found in /vqmod/openstock_customise.xml and is set like this:

Code: Select all

            <search position="before" offset="1"><![CDATA[<?php if ($recurrings) { ?>]]></search>
            <add><![CDATA[<input type="hidden" name="option_numbers" value="<?php echo $i; ?>" id="option-numbers" />]]></add>
On the product in question I need to change the value of $i from 4 to 3 when option1214 has a value of 2496, it should then auto update the price (I think).

Any help would be greatly appreciated.



Tue Nov 06, 2018 6:14 pm

Post by straightlight » Tue Nov 06, 2018 7:22 pm

Contact the extension developer to resolved this issue.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Legendary Member


Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 35 guests