Notice: Undefined variable: product_info in /home2/david2/public_html/mysite.com/vqmod/vqcache/vq2-catalog_controller_module_latest.php on line 50Notice: Undefined variable: product_info in /home2/david2/public_html/mysite.com/vqmod/vqcache/vq2-catalog_controller_module_latest.php on line 51Notice:
When I deactivate that module I don't get the problem.
Are you sure you installed the correct version of the extension for your version of OpenCart?garywinner wrote:I installed in on my OC 1.5.6 but it doesn't work
OC2PS
OC 3.0.3.7, vQmod 2.6.2, Journal3 theme
Arcfesték, Csillámtetoválás, Henna
Check out: All my extensions | My FREE extensions
Are you sure you are using v1.5 of the extension? That's the version compatible with your version of OpenCart.DavJames wrote:On a fresh default OpenCart 1.5.6 installation I did nothing apart from activate the Latest module on the homepage.
OC2PS
OC 3.0.3.7, vQmod 2.6.2, Journal3 theme
Arcfesték, Csillámtetoválás, Henna
Check out: All my extensions | My FREE extensions
Code: Select all
Notice: Undefined variable: product_info in /home/silverfi/public_html/opencart/vqmod/vqcache/vq2-catalog_controller_module_bestseller.php on line 43Notice: Undefined variable: product_info in /home/silverfi/public_html/opencart/vqmod/vqcache/vq2-catalog_controller_module_bestseller.php on line 44Notice: Undefined variable: product_info in /home/silverfi/public_html/opencart/vqmod/vqcache/vq2-catalog_controller_module_bestseller.php on line 43Notice: Undefined variable: product_info in /home/silverfi/public_html/opencart/vqmod/vqcache/vq2-catalog_controller_module_bestseller.php on line 44Notice: Undefined variable: product_info in /home/silverfi/public_html/opencart/vqmod/vqcache/vq2-catalog_controller_module_bestseller.php on line 43Notice: Undefined variable: product_info in /home/silverfi/public_html/opencart/vqmod/vqcache/vq2-catalog_controller_module_bestseller.php on line 44Notice: Undefined variable: product_info in /home/silverfi/public_html/opencart/vqmod/vqcache/vq2-catalog_controller_module_bestseller.php on line 43Notice: Undefined variable: product_info in /home/silverfi/public_html/opencart/vqmod/vqcache/vq2-catalog_controller_module_bestseller.php on line 44Notice: Undefined variable: product_info in /home/silverfi/public_html/opencart/vqmod/vqcache/vq2-catalog_controller_module_bestseller.php on line 43Notice: Undefined variable: product_info in /home/silverfi/public_html/opencart/vqmod/vqcache/vq2-catalog_controller_module_bestseller.php on line 44Notice: Undefined variable: product_info in /home/silverfi/public_html/opencart/vqmod/vqcache/vq2-catalog_controller_module_latest.php on line 50Notice: Undefined variable: product_info in /home/silverfi/public_html/opencart/vqmod/vqcache/vq2-catalog_controller_module_latest.php on line 51Notice: Undefined variable: product_info in /home/silverfi/public_html/opencart/vqmod/vqcache/vq2-catalog_controller_module_latest.php on line 50Notice: Undefined variable: product_info in /home/silverfi/public_html/opencart/vqmod/vqcache/vq2-catalog_controller_module_latest.php on line 51Notice: Undefined variable: product_info in /home/silverfi/public_html/opencart/vqmod/vqcache/vq2-catalog_controller_module_latest.php on line 50Notice: Undefined variable: product_info in /home/silverfi/public_html/opencart/vqmod/vqcache/vq2-catalog_controller_module_latest.php on line 51Notice: Undefined variable: product_info in /home/silverfi/public_html/opencart/vqmod/vqcache/vq2-catalog_controller_module_latest.php on line 50Notice: Undefined variable: product_info in /home/silverfi/public_html/opencart/vqmod/vqcache/vq2-catalog_controller_module_latest.php on line 51Notice: Undefined variable: product_info in /home/silverfi/public_html/opencart/vqmod/vqcache/vq2-catalog_controller_module_latest.php on line 50Notice: Undefined variable: product_info in /home/silverfi/public_html/opencart/vqmod/vqcache/vq2-catalog_controller_module_latest.php on line 51
OC2PS
OC 3.0.3.7, vQmod 2.6.2, Journal3 theme
Arcfesték, Csillámtetoválás, Henna
Check out: All my extensions | My FREE extensions
Code: Select all
<file name="catalog/view/theme/default/template/product/product.tpl">
<operation>
<search position="replace"><![CDATA[<input type="button" value="<?php echo $button_cart; ?>" id="button-cart" class="button" />]]></search>
<add><![CDATA[
<?php if ($stock_qty <= 0) { ?>
<a href="index.php?route=information/contact&subject=<?php echo $heading_title; ?>" class="button">Quote</a>
<?php } else { ?>
<input type="button" value="<?php echo $button_cart; ?>" id="button-cart" class="button" />
<?php } ?>
]]></add>
</operation>
<operation>
<search position="replace"><![CDATA[<a onclick="addToCart('<?php echo $product['product_id']; ?>');" class="button"><?php echo $button_cart; ?></a>]]></search>
<add><![CDATA[
<?php if ($stock_qty <= 0) { ?>
<a href="index.php?route=information/contact&subject=<?php echo $product['name']; ?>" class="button">Quote</a>
<?php } else { ?>
<input type="button" value="<?php echo $button_cart; ?>" id="button-cart" class="button" />
<?php } ?>
]]></add>
</operation>
</file>
The error message is:
Undefined variable: product_info in /vqmod/vqcache/vq2-catalog_controller_module_latest.php on line 50Notice:
Undefined variable: product_info in/vqmod/vqcache/vq2-catalog_controller_module_latest.php on line 51Notice:
Undefined variable: product_info in/vqmod/vqcache/vq2-catalog_controller_module_latest.php on line 50Notice:
Undefined variable: product_info in/vqmod/vqcache/vq2-catalog_controller_module_latest.php on line 51
Information:
OpenCart 1.5.5.1
vQmod: 2.0-beta.6
I downloaded the file 'V 1.2' and followed the instructions to 'install' it. The screenshot provided shows my product's settings. In the frontend, I still see 'Add to Cart' button on the product.
Recommendations?
Attachments
Capture.JPG (25.02 KiB) Viewed 11492 times
Thanks for providing your config info. One question: Are you using the Default theme?toad78 wrote:I still see 'Add to Cart' button on the product.
OC2PS
OC 3.0.3.7, vQmod 2.6.2, Journal3 theme
Arcfesték, Csillámtetoválás, Henna
Check out: All my extensions | My FREE extensions
Thanks for the feedback. Makes sense. I will consider for next version.toad78 wrote:remove the Qty box as well?
OC2PS
OC 3.0.3.7, vQmod 2.6.2, Journal3 theme
Arcfesték, Csillámtetoválás, Henna
Check out: All my extensions | My FREE extensions
Sure, please PM meKnightUK wrote:Can you customise this to work with the SportStore theme?
Willing to pay for this if needed
OC2PS
OC 3.0.3.7, vQmod 2.6.2, Journal3 theme
Arcfesték, Csillámtetoválás, Henna
Check out: All my extensions | My FREE extensions
I've run into a bit of a trouble and wonder if you might be able to help me.
While installing another module, I, by mistake, overwrote the contents of vqmod > xml folder. Now I've placed your xml file back in place but it isn't working any more. I'm wondering why it isn't working and whether you have encountered this before.
Thanks
i also get the following error on my default theme for both in stock and out of stock items:ikanperak wrote:Okay, this might be the problem. Although the download page says its version 1.5, the actual file in the xml folder indicates that it's version 1.4.1.
Code: Select all
Undefined variable: stock_qty in site_data/vqmod/vqcache/vq2-catalog_view_theme_default_template_product_product.tpl on line 228
Notice: Undefined variable: stock_status in site_data/vqmod/vqcache/vq2-Catalog_view_theme_default_template_product_product.tpl on line 229
Users browsing this forum: No registered users and 133 guests