I have a website being designed as we speak, and the opencart will be installed. I was just wondering how do i make stock say out of stock when people click on the flavours. So basically, even though the flavours aren't in stock, how do i make the option to allow the flavours to appear in the options, thank you.
tested on v1.5.5.1 and approved ;-) very useful, thank you to yougrgr wrote:I only tested it on 1.5.4.x but shoudl work on other 1.5.x series. Try it and edit it as necessary - if it doesn't work then look in the vqmod log file to see if/what the error is and correct as necessry.
OC v1.5.5.1 EN - vQmod v2.3.2 (theme by default at this time) running on PHP v5.4 MySQL v5.5 Linux / Apache 2.4
Really useful but strange operation which do nothing ;-) isn't ?
About catalog/controller/product/product.php
NB: Original file (OC 1.5.5.1) as it
About catalog/controller/product/product.php
Code: Select all
<operation>
<search position="replace" offset="2"><![CDATA[
$option_value['price_prefix']
]]></search>
<add><![CDATA[
$option_value['price_prefix']
);]]></add>
</operation>
Code: Select all
'price_prefix' => $option_value['price_prefix']
);
OC v1.5.5.1 EN - vQmod v2.3.2 (theme by default at this time) running on PHP v5.4 MySQL v5.5 Linux / Apache 2.4
Who is online
Users browsing this forum: No registered users and 112 guests