Forums / Setting Up Specials and SaleMaker / How to remove 'off' from Save: $10.00 off?

How to remove 'off' from Save: $10.00 off?

Locked

Views: 6,185

Results 1 to 14 of 14
This thread is locked. New replies are disabled.
12 Feb 2009, 4:33 AM
#1
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

How to remove 'off' from Save: $10.00 off?

I'm using 1.3.7 and can't seem to find where to change this. I'd like it to show Save: $10.00 instead of Save: $10.00 off

Jim
Wheaton Website Services

12 Feb 2009, 2:47 PM
#2
bunyip avatar

bunyip

Totally Zenned

Join Date:
Sep 2004
Location:
Western Massachusetts
Posts:
2,361
Plugin Contributions:
1

Re: How to remove 'off' from Save: $10.00 off?

english.php

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

// Sale Maker Sale Price
  define('PRODUCT_PRICE_SALE','Sale: ');

Neville
An assumption is what you arrive at when you get tired of thinking...

12 Feb 2009, 2:55 PM
#3
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: How to remove 'off' from Save: $10.00 off?

That was it, thanks!

Jim
Wheaton Website Services

4 Mar 2009, 8:43 AM
#4
whiteblazer01 avatar

whiteblazer01

New Zenner

Join Date:
Feb 2009
Posts:
25
Plugin Contributions:
0

Re: How to remove 'off' from Save: $10.00 off?

bunyip:

english.php

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

// Sale Maker Sale Price
define('PRODUCT_PRICE_SALE','Sale: ');


Can you write the full tree of the file location?  I don't know where to find the english.php file.  

Thanks!  :)  

P.S.  Will this also allow me to remove the "End Date:" from the sale?
4 Mar 2009, 2:45 PM
#5
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: How to remove 'off' from Save: $10.00 off?

The full path is includes/languages/YOUR_TEMPLATE/english.php

I'm not sure what 'End Date' text your talking about.

Jim
Wheaton Website Services

4 Mar 2009, 3:19 PM
#6
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,186
Plugin Contributions:
0

Re: How to remove 'off' from Save: $10.00 off?

jeking:

I'm not sure what 'End Date' text your talking about.

Wh,
Developers Tool Kit

Look in your Zen Cart Admin and go to the Tools ... Developers Tool Kit ...

You will find a very handy toy for doing searches of the php files and configuration tables ...

Use the bottom input box to enter any text, code, etc. that you are looking for EX: end date, and then select Catalog, Admin or Both ... click search ...

This will show you all files that contain the text, code, etc. that you are looking for ...

The top input box can be used to search for constants, the things in ALL_CAPS and select NONE from the dropdown and click search ...

This will check the configuration table and the product_type_layout table for configuration_keys that can be customized via the Zen Cart Admin without the need to touch any of the code ...

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

4 Mar 2009, 3:31 PM
#7
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: How to remove 'off' from Save: $10.00 off?

Yep, I did a search and all the 'End Date' results were in admin files. So I don't know what whiteblazer01 might be referring to.

haredo:

Wh,
Developers Tool Kit

Look in your Zen Cart Admin and go to the Tools ... Developers Tool Kit ...

You will find a very handy toy for doing searches of the php files and configuration tables ...

Use the bottom input box to enter any text, code, etc. that you are looking for EX: end date, and then select Catalog, Admin or Both ... click search ...

This will show you all files that contain the text, code, etc. that you are looking for ...

The top input box can be used to search for constants, the things in ALL_CAPS and select NONE from the dropdown and click search ...

This will check the configuration table and the product_type_layout table for configuration_keys that can be customized via the Zen Cart Admin without the need to touch any of the code ...

Jim
Wheaton Website Services

4 Mar 2009, 3:41 PM
#8
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,186
Plugin Contributions:
0

Re: How to remove 'off' from Save: $10.00 off?

jeking:

I'm not sure what 'End Date' text your talking about.

Wh,
post me a link to the page this "End Date is referring to please

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

4 Mar 2009, 7:49 PM
#10
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: How to remove 'off' from Save: $10.00 off?

whiteblazer01:

You can see the 'End Date:' text here.

http://www.lite-eyes.com/index.php?main_page=index&cPath=15_19

Thanks for the help! :)

The text you have there is not part of the standard Zen Cart install. Did you or someone else install a sale module of some kind?

As mentioned, you can use the Developers Tool Kit in the Zen Admin to fine the file that contains the End Date text.

Jim
Wheaton Website Services

4 Mar 2009, 8:03 PM
#11
whiteblazer01 avatar

whiteblazer01

New Zenner

Join Date:
Feb 2009
Posts:
25
Plugin Contributions:
0

Re: How to remove 'off' from Save: $10.00 off?

jeking:

The text you have there is not part of the standard Zen Cart install. Did you or someone else install a sale module of some kind?

As mentioned, you can use the Developers Tool Kit in the Zen Admin to fine the file that contains the End Date text.

I had a web designer, but he bailed on me. :( So I have to do everything myself for now.

I searched all the files and found it here /public_html/includes/functions/functions_prices.php line 151.

I just deleted the "End Date: " text.

return sprintf("End Date: ", zen_date_long($specials->fields['expires_date']));

Thanks!!

4 Mar 2009, 8:08 PM
#12
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: How to remove 'off' from Save: $10.00 off?

Excellent job! It's not that hard and you've got a great support forum here to help.

I'd venture to say most of us here are do-it-yourselfers.

Jim
Wheaton Website Services

4 Mar 2009, 8:57 PM
#13
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,186
Plugin Contributions:
0

Re: How to remove 'off' from Save: $10.00 off?

Wh,
Thanks for the update, glad you got her worked out...

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

17 Sep 2010, 2:36 AM
#14
syneric avatar

syneric

New Zenner

Join Date:
Jul 2010
Posts:
4
Plugin Contributions:
0

Re: How to remove 'off' from Save: $10.00 off?

Thanks! This did the trick!

bunyip:

english.php

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

// Sale Maker Sale Price
define('PRODUCT_PRICE_SALE','Sale: ');


===================
Changed to : 
===================
// Discount Savings
  define('PRODUCT_PRICE_DISCOUNT_PREFIX','Save: ');
  define('PRODUCT_PRICE_DISCOUNT_PERCENTAGE','%');
  define('PRODUCT_PRICE_DISCOUNT_AMOUNT','');

// Sale Maker Sale Price
  define('PRODUCT_PRICE_SALE','Sale: ');
===================
This is killing my SEO with "off" as the most word weight.

Cheers!