I'm trying to hide the price increases next options in drop down box on a product page. I can delete it:
(see original thread: http://forum.opencart.com/viewtopic.php?t=82023)
but when I do that it also deletes the auto update price that I have now (it updates price based on option selected)
All I'm trying to do is hide the =($XX.XX) that is added next to each option without disabling the effect on live update.
Catalog/view/theme/product/product.tpl
Look around line 73
replace with
if that doesnt work, just delete the lines instead.
Remember to make a backup first.
Look around line 73
Code: Select all
<?php if ($option_value['price']) { ?>
(<?php echo $option_value['price_prefix']; ?><?php echo $option_value['price']; ?>)
<?php } ?>
Code: Select all
<!-- <?php if ($option_value['price']) { ?>
(<?php echo $option_value['price_prefix']; ?><?php echo $option_value['price']; ?>)
<?php } ?> //-->
Remember to make a backup first.
SXGuy wrote: ↑Fri Oct 12, 2012 2:43 pmCatalog/view/theme/product/product.tpl
Look around line 73
replace withCode: Select all
<?php if ($option_value['price']) { ?> (<?php echo $option_value['price_prefix']; ?><?php echo $option_value['price']; ?>) <?php } ?>
if that doesnt work, just delete the lines instead.Code: Select all
<!-- <?php if ($option_value['price']) { ?> (<?php echo $option_value['price_prefix']; ?><?php echo $option_value['price']; ?>) <?php } ?> //-->
Remember to make a backup first.
heyy dude... that's script doesn't work now?? please update script until works again please... i need thiss topic clear.
Hi pappley, feel free to drop us an email for a quick estimate: info@antropy.co.uk
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Who is online
Users browsing this forum: paulfeakins and 10 guests