http://www.chicagocardecals.com/index.p ... duct_id=50
heres where im testing it, it shows the price on the radials which I do not want
heres where im testing it, it shows the price on the radials which I do not want
ok i fixed it, thanks for the feedback.
Hi I'm using version 1.4.9.4 and the code you say to replace does not exsist in the file (I am using a pre-installed Global Mega Options)
Can some one help me as I to want to do what the origial post said?
Thanks
Can some one help me as I to want to do what the origial post said?
Thanks
Hi, thanks a lot to everyone for this vqmod. I don't know php and you helped me a lot. Another great mod could be to set = in admin option instead of + and -.
Thanks a lot
Thanks a lot
Sigaretta elettronica Opencart 1.5.4.1 italian translation
Thanks for the .xml script haydent and others for their efforts. Working like a charm and is just what I require.haydent wrote:ok i fixed it, thanks for the feedback.
I've got this working with the 'Option Price Update' mod by qphoria.
I've essentially got a product on sale that comes in different sizes and varies from £100.00 to £500.00 depending on the size and therefore need the options to allow one to select their desired size/price.
I was having an issue with my price still showing as £0.00 across my site with this mod, but with the options showing the correct price. So what I've done which works now is, I set the base price for the product as the minimum for my different options. Then I've had to do some maths quickly to use the options to add to the base to get the correct price for an increase . In order to show other options which also have the same minimum price, I set this to £0.0001 to activate that option to show a value.
Don't know if that makes sense, but I've managed to make it all work now and got around zero values showing! Cheers.
Webmaster for: http://www.getlaidbeds.co.uk + www.mattressmoose.co.uk + www.pixellounge.co.uk
Hi when i try to use this mod i get the error:
Code: Select all
Parse error: syntax error, unexpected T_DOUBLE_ARROW in /home/sweeties/public_html/vqmod/vqcache/vq2-catalog_controller_product_product.php on line 342
Hi,
options_resulting_price_2.0.2.xml gave me this error when I'm trying to open the product page. Any suggestions?
Parse error: syntax error, unexpected T_DOUBLE_ARROW in /home/ocmr/public_html/vqmod/vqcache/vq2-catalog_controller_product_product.php on line 320
Thank you
options_resulting_price_2.0.2.xml gave me this error when I'm trying to open the product page. Any suggestions?
Parse error: syntax error, unexpected T_DOUBLE_ARROW in /home/ocmr/public_html/vqmod/vqcache/vq2-catalog_controller_product_product.php on line 320
Thank you
hi, everybody! thanks for the extetion!
Tell how to make value "=" in the administrator?
it is very necessary, thanks!
Tell how to make value "=" in the administrator?
it is very necessary, thanks!
all right br0s and sis'!
i have this kind of problem:
im using these next vqmods at the same time:
-auto calculator tax (http://www.opencart.com/index.php?route ... on_id=5018)
-option based pricing
and i've noticed that nothin' works correctly. when i say nothing i mean it! options calculate their prices like: "original price" + "option price" + "tax" so the price is a lot higher than it supposed to. any ideas how to fix this problem? im running version 1.5.1.3 and in my country there isnt any shop where taxes wouldnt show.
i have this kind of problem:
im using these next vqmods at the same time:
-auto calculator tax (http://www.opencart.com/index.php?route ... on_id=5018)
-option based pricing
and i've noticed that nothin' works correctly. when i say nothing i mean it! options calculate their prices like: "original price" + "option price" + "tax" so the price is a lot higher than it supposed to. any ideas how to fix this problem? im running version 1.5.1.3 and in my country there isnt any shop where taxes wouldnt show.
I'm also getting this error in OpenCart Version 1.5.3.1.... What can I do to fix?????
Thanks!!!
Thanks!!!
saltsalty wrote:Hi when i try to use this mod i get the error:
Code: Select all
Parse error: syntax error, unexpected T_DOUBLE_ARROW in /home/sweeties/public_html/vqmod/vqcache/vq2-catalog_controller_product_product.php on line 342
Error is in line 281 (by default):CorySncl wrote:I'm also getting this error in OpenCart Version 1.5.3.1.... What can I do to fix?????
Thanks!!!
saltsalty wrote:Hi when i try to use this mod i get the error:
Code: Select all
Parse error: syntax error, unexpected T_DOUBLE_ARROW in /home/sweeties/public_html/vqmod/vqcache/vq2-catalog_controller_product_product.php on line 342
Code: Select all
} elseif ($option['type'] == 'text' || $option['type'] == 'textarea' || $option['type...
Code: Select all
if ($option['type'] == 'text' || $option['type'] == 'textarea' || $option['type...
CART.lt - custom opencart development, import and export systems, migrations to opencart
I got to..
And the post above me helped solve that but now it's always showing the last option twice, the latter in old style pricing..
I have spend hours getting this mod into a vqmod solution but I'm stuck, I don't get why it's going wrong.. The vqmod offered in this thread doesn't work for my 1.5.4 installation.. only putting the following code directly into products.php works;
I'm very curious how that code should be put into a vqmod file.. my best shot was this:
resulting in like I said always showing the last option twice..
Code: Select all
Parse error: syntax error, unexpected T_ELSEIF in /domains/handigeshit.nl/DEFAULT/vqmod/vqcache/vq2-catalog_controller_product_product.php on line 307
I have spend hours getting this mod into a vqmod solution but I'm stuck, I don't get why it's going wrong.. The vqmod offered in this thread doesn't work for my 1.5.4 installation.. only putting the following code directly into products.php works;
Code: Select all
// price by option hack
foreach ($option['option_value'] as $option_value) {
if (!$option_value['subtract'] || ($option_value['quantity'] > 0)) {
if((float)$product_info['special']) {
$x = $this->currency->format(
$this->tax->calculate(
$option_value['price']+$product_info['special'],
$product_info['tax_class_id'],
$this->config->get('config_tax')
)
);
} else {
$x = $this->currency->format(
$this->tax->calculate(
$option_value['price']+$product_info['price'],
$product_info['tax_class_id'],
$this->config->get('config_tax')
)
);
}
$option_value_data[] = array(
'product_option_value_id' => $option_value['product_option_value_id'],
'option_value_id' => $option_value['option_value_id'],
'name' => $option_value['name'],
'image' => $this->model_tool_image->resize($option_value['image'], 50, 50),
'price' => $x,
'price_prefix' => ''
);
}
}
// end of edit
Code: Select all
<!-- Created using vQmod XML Generator by UKSB - http://www.opencart-extensions.co.uk //-->
<modification>
<id><![CDATA[test]]></id>
<version><![CDATA[1]]></version>
<vqmver><![CDATA[2.1.7]]></vqmver>
<author><![CDATA[Me]]></author>
<file name="catalog/controller/product/product.php">
<operation>
<search position="replace"><![CDATA[foreach ($option['option_value'] as $option_value) {]]></search>
<add><![CDATA[foreach ($option['option_value'] as $option_value) {
if (!$option_value['subtract'] || ($option_value['quantity'] > 0)) {
$x = '';
if((float)$product_info['special']) {
$x = $this->currency->format(
$this->tax->calculate(
$option_value['price']+$product_info['special'],
$product_info['tax_class_id'],
$this->config->get('config_tax')
)
);
} else {
$x = $this->currency->format(
$this->tax->calculate(
$option_value['price']+$product_info['price'],
$product_info['tax_class_id'],
$this->config->get('config_tax')
)
);
}
$option_value_data[] = array(
'product_option_value_id' => $option_value['product_option_value_id'],
'option_value_id' => $option_value['option_value_id'],
'name' => $option_value['name'],
'image' => $this->model_tool_image->resize($option_value['image'], 50, 50),
'price' => $x,
'price_prefix' => ''
);
}
}]]></add>
</operation>
</file>
<file name="catalog/controller/product/product.php">
<operation>
<search position="replace"><![CDATA[} elseif ($option['type'] == 'text' || $option['type'] == 'textarea' || $option['type'] == 'file' || $option['type'] == 'date' || $option['type'] == 'datetime' || $option['type'] == 'time') {]]></search>
<add><![CDATA[if ($option['type'] == 'text' || $option['type'] == 'textarea' || $option['type'] == 'file' || $option['type'] == 'date' || $option['type'] == 'datetime' || $option['type'] == 'time') {]]></add>
</operation>
</file>
</modification>
hi please help me!!!ASAP
i had a problem..
the problem is for example i had a original price $3 for the small item, then i put some option wherein my medium is $6 and large is $8..
Then the customer wants the medium and he select it..then he put it in his cart...but when i see the result the price becomes $9..it keeps adding the original price $3..
what should i do please help me
i had a problem..
the problem is for example i had a original price $3 for the small item, then i put some option wherein my medium is $6 and large is $8..
Then the customer wants the medium and he select it..then he put it in his cart...but when i see the result the price becomes $9..it keeps adding the original price $3..
what should i do please help me
Who is online
Users browsing this forum: No registered users and 320 guests