Forums / Templates, Stylesheets, Page Layout / Globally Turn off 'Save: x% off'

Globally Turn off 'Save: x% off'

Locked

Started by sherbo on 26 Mar 2007, 9:36 PM · Views: 1,621

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
26 Mar 2007, 9:36 PM
#1
sherbo avatar

sherbo

New Zenner

Join Date:
Mar 2007
Posts:
13
Plugin Contributions:
0

Globally Turn off 'Save: x% off'

I have a product for say €20 RRP and I have a special price of 15.99. I don't want to see the 'Save: x% off' RED text under the product price.

Can this be switched off globally?

26 Mar 2007, 10:44 PM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Globally Turn off 'Save: x% off'

INCLUDES/LANGUAGES/ENGLISH.PHP

Look around lines 390 to 410

You can take out the define statements from:

// Discount Savings
  define('PRODUCT_PRICE_DISCOUNT_PREFIX','Save: ');
  define('PRODUCT_PRICE_DISCOUNT_PERCENTAGE','% off');
  define('PRODUCT_PRICE_DISCOUNT_AMOUNT',' off');
// Discount Savings
  define('PRODUCT_PRICE_DISCOUNT_PREFIX','');
  define('PRODUCT_PRICE_DISCOUNT_PERCENTAGE','');
  define('PRODUCT_PRICE_DISCOUNT_AMOUNT','');

20 years a Zencart User

27 Mar 2007, 3:20 AM
#3
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,691
Plugin Contributions:
0

Re: Globally Turn off 'Save: x% off'

...or stay out of the files and turn the display off in the Admin> Configuration> Product Info> Product Info - Show Sales Discount Savings Status

Schoolboy - might want to check out the e-Start book :)

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

27 Mar 2007, 1:26 PM
#4
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Globally Turn off 'Save: x% off'

You're right Kim ! Trouble is that with some of us old fellows, is that we immediately see a solution thru a code hack, cause that's the way we did it in the early days.

There are many more switches these days, and you're right - I HAVE got the book and I SHOULD read it more carefully!

20 years a Zencart User

28 Mar 2007, 7:54 AM
#5
sherbo avatar

sherbo

New Zenner

Join Date:
Mar 2007
Posts:
13
Plugin Contributions:
0

Re: Globally Turn off 'Save: x% off'

Thanks for your help guys - that worked fine.