Does anyone know of a way or have a suggestion as to how one might remove the items count that is showing to the customer while using the options plus module?
In the available options box it currently shows---- Size: 50g (10)
I would like to have the (10) not show to the customer, but still use the item count in the admin section.
http://shadoblixfarm.com/index.php?rout ... duct_id=54
In the available options box it currently shows---- Size: 50g (10)
I would like to have the (10) not show to the customer, but still use the item count in the admin section.
http://shadoblixfarm.com/index.php?rout ... duct_id=54
1. EDIT: catalog/view/theme/YOURTHEME/template/product/product.tpl
2. FIND & DELETE:
2. FIND & DELETE:
Code: Select all
[<?php echo $option_value['quantity']; ?>]
I have followed these instructions but no where in the product.tpl can I find the code I need to delete.Qphoria wrote:1. EDIT: catalog/view/theme/YOURTHEME/template/product/product.tpl
2. FIND & DELETE:Code: Select all
[<?php echo $option_value['quantity']; ?>]
I am running the latest version of OC.... has things changed?
I have 1.4.7 and deleted that line from the options_plus.inc.TPL file. Made no difference.
There is no such line in the options_plus.inc.PHP file, so where do I go now?
I would also love to get that tidbit of info gone forever.
There is no such line in the options_plus.inc.PHP file, so where do I go now?
I would also love to get that tidbit of info gone forever.
A Trusted Wholesale Dropshipper
Web Hosting Under $ 5.00 Month! FREE Shopping Carts!
25,000+ Real Wholesale & Dropship Sources!
Has anyone had any success removing the quantity?
I have deleted [<?php echo $option_value['quantity']; ?>] and it is still visible on the site.
Thanks for your help.
I have deleted [<?php echo $option_value['quantity']; ?>] and it is still visible on the site.
Thanks for your help.
Just figured it out, the product.tpl file references the default template. If you change templates find:
and replace 'default' with your template folder.
Code: Select all
<?php include(DIR_TEMPLATE . 'default/template/product/options_plus.inc.tpl'); ?>
Customizations:
=====================
If you want to remove the quantity from showing in the option box:
1. EDIT: catalog/view/YOURTHEME/template/product/options_plus.inc.tpl
2. FIND & REMOVE: [<?php echo $option_value['quantity']; ?>]
If you want to use separate "Swatch" images on the side of each option box instead of replacing the main image:
1. EDIT: catalog/view/javascript/options_plus/options_plus.js.php
2. CHANGE: useSwatch = false; to useSwatch = true;
If you don't want the options to be disabled when out of stock:
1. EDIT: catalog\view\theme\default\template\product\options_plus.inc.tpl
2. DELETE: <?php echo (!$option_value['quantity']) ? 'disabled="disabled"' : '' ?>
Who is online
Users browsing this forum: No registered users and 2 guests