You are here:  » Unbolding and Removing parentheses from voucher code text

Support Forum



Unbolding and Removing parentheses from voucher code text

Submitted by Convergence on Thu, 2012-12-20 17:34 in

Greetings,

For the life of me am unable to figure out how to unbold and remove the parentheses from display around the voucher code text.

Thanks!

Submitted by support on Thu, 2012-12-20 18:27

Hi!

The parenthesis and strong tags are actually in separate places... firstly, in includes/tapestry.php look for the following code at line 227:

  $product["voucher_code"] .= " (".$voucher["discount_text"].")";

...and REPLACE with:

  $product["voucher_code"] .= " ".$voucher["discount_text"];

That will remove the brackets, and then considering the modified files that I sent earlier this week regarding your %NONE% modifications, for the main product area, you'll find the <strong> and tags </strong> at lines 59 and 63, and similarly in html/prices.php at lines 14 and 18...

Cheers,
David.
--
PriceTapestry.com

Submitted by Convergence on Thu, 2012-12-20 18:57

Hi David,

Thanks for taking a look and helping out.

Editing includes/tapestry.php did not work.

Also, I should have mentioned have already tried removing the "strong" tags - However, this removes the bold from the voucher code as well as the voucher code text, whereas we would like ONLY the voucher code text unbolded (not the voucher code itself).

:)

Thanks again!

Submitted by support on Thu, 2012-12-20 19:23

Hi,

Could you email me your includes/tapestry.php and if modified since the last versions I sent you also html/product.php and html/prices.php I'll check it all out in context for you...

Cheers,
David.
--
PriceTapestry.com

Submitted by Convergence on Thu, 2012-12-20 20:21

Email sent.

Thanks!