Post by tgdonohue » Wed Jul 19, 2017 6:22 am

I am running OC 2.1.01 with a parent-child options (Live open cart) extension.
The child options show the name of the option, a set of closed parenthesis followed by the option price where applicable.
Ho do I get rid of the parenthesis?

New member

Posts

Joined
Sat Mar 12, 2016 3:03 am

Post by florinsith » Fri Jul 21, 2017 3:55 pm

This is the code outputing them in product.tpl:

Code: Select all

<?php if ($option_value['price']) { ?>
                (<?php echo $option_value['price_prefix']; ?><?php echo $option_value['price']; ?>)
                <?php } ?>

Image
My Extensions - SuperTheme - Opencart templates - Opencart modules


User avatar
Expert Member

Posts

Joined
Fri May 14, 2010 2:36 am

Who is online

Users browsing this forum: No registered users and 6 guests