Forums / All Other Contributions/Addons / MSRP Mod Help Please!

MSRP Mod Help Please!

Locked

Started by crystaldoll on 22 Jul 2009, 2:12 PM · Views: 2,159

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
22 Jul 2009, 2:12 PM
#1
crystaldoll avatar

crystaldoll

New Zenner

Join Date:
May 2009
Posts:
63
Plugin Contributions:
0

MSRP Mod Help Please!

Okay, I have managed to install this after several days. The final problem I have now is with how it is displaying on the pages. It is displaying under the product like this:

Text_Product_MSRP$55.00
Text_Product_SAVE$53%
Text_Product_Our$25.99

Would someone please tell me how I can correct this to display as follows:
MSRP $55.00
SAVE $53%
Our Price $25.99

I appreciate the help.

Please someone. Anyone.. Thanks.

23 Jul 2009, 2:15 AM
#2
lankeeyankee avatar

lankeeyankee

Totally Zenned

Join Date:
Jan 2007
Posts:
1,514
Plugin Contributions:
1

Re: MSRP Mod Help Please!

You need to re-upload the includes/languages file, it didn't go through properly, you may have them in override files so upload them to your custom override files. If you have altered these files with other mods then you need to do a compare and merge, winmerge is free and a good tool.


Zen Cart and it's community are the best!!

25 Jul 2009, 7:39 PM
#3
crystaldoll avatar

crystaldoll

New Zenner

Join Date:
May 2009
Posts:
63
Plugin Contributions:
0

Re: MSRP Mod Help Please!

Hi, I have looked and uploaded the includes/languages files and this still didn't work. Does anybody else have any suggestions???

26 Jul 2009, 6:14 PM
#4
lankeeyankee avatar

lankeeyankee

Totally Zenned

Join Date:
Jan 2007
Posts:
1,514
Plugin Contributions:
1

Re: MSRP Mod Help Please!

do you have a file called product_info.php in includes/languages/english/YOUR_CUSTOM_OVERRIDES/ folder? If so, then you need to paste this code into it:

define('TEXT_PRODUCT_MSRP', 'Retail Price: ');
define('TEXT_PRODUCT_SAVE', 'You save: ');
define('TEXT_PRODUCT_OUR', 'Our Price: ');


Zen Cart and it's community are the best!!

31 Jul 2009, 12:30 PM
#5
crystaldoll avatar

crystaldoll

New Zenner

Join Date:
May 2009
Posts:
63
Plugin Contributions:
0

Re: MSRP Mod Help Please!

Okay guys are we sure its the includes/languages files I need to be looking at? I have re uploaded the includes/languages files and still have the problem of the msrp showing up on my product pages as:

Text_Product_MSRP$55.00
Text_Product_SAVE$53%
Text_Product_Our$25.99

instead of:

MSRP $55.00
SAVE $53%
Our Price $25.99

I also checked the product_info.php file to see if the required fields were in there and they were.

This is what have regarding the includes/languages/english/my_template/product_info.php file, I followed the installation directions and added the field after the TEXT_PRODUCT_MODEL', Model: ');

define('TEXT_PRODUCT_MODEL', 'Model: ');
define('TEXT_PRODUCT_MSRP', 'Retail Price: ');
define('TEXT_PRODUCT_SAVE', 'You save: ');
define('TEXT_PRODUCT_OUR', 'Our Price: ');

The includes/languages/my_template/english.php file, I did per instructed and added required fields after define('FEMALE_ADDRESS', 'Ms.');

define('FEMALE_ADDRESS', 'Ms.');
define('TEXT_PRODUCT_MSRP', 'Retail Price: ');
define('TEXT_PRODUCT_SAVE', 'You save: ');
define('TEXT_PRODUCT_OUR', 'Our Price: ');

I am totally stumped with this and need help desperately. Any other suggestions????

2 Aug 2009, 12:11 PM
#6
crystaldoll avatar

crystaldoll

New Zenner

Join Date:
May 2009
Posts:
63
Plugin Contributions:
0

Re: MSRP Mod Help Please!

For the life of me, I can not figure this out. I have been thru my language files over and over again and everything looks good. I have no conflicting add ons and have re uploaded the files. I have even reinstalled and installed again only to have the same thing happen. I am in desperate need of an answer.

2 Aug 2009, 3:06 PM
#7
lankeeyankee avatar

lankeeyankee

Totally Zenned

Join Date:
Jan 2007
Posts:
1,514
Plugin Contributions:
1

Re: MSRP Mod Help Please!

In taking a look at your original post, it is showing:

Text_Product_MSRP$55.00
Text_Product_SAVE$53%
Text_Product_Our$25.99

Which are the define statements in the language file.

BUT! The define statements should all be in uppercase. Like TEXT_PRODUCT_MSRP. Check that to see if it's the problem in includes/languages/english/YOUR_TEMPLATE/product_info.php, or if in the includes/functions/functions_prices.php file the defines are all uppercase such as this:

$final_display_price = '<span class="smalltext1"><s>'.TEXT_PRODUCT_MSRP.$currencies->display_price($display_msrp_price, zen_get_tax_rate($product_check->fields['products_tax_class_id'])).'</s></span><br><span class="save">'.TEXT_PRODUCT_SAVE . number_format((($display_msrp_price -  $display_normal_price) / $display_msrp_price), 2, '.', '') * 100 . '% '.'</span><br><span class="norm">'.TEXT_PRODUCT_OUR.$show_special_price . $show_sale_price . $show_sale_discount.'</span>' ;


Zen Cart and it's community are the best!!

2 Aug 2009, 7:50 PM
#8
crystaldoll avatar

crystaldoll

New Zenner

Join Date:
May 2009
Posts:
63
Plugin Contributions:
0

Re: MSRP Mod Help Please!

Oh I thought we were onto something, but no, the languages files did all have capital letters, it was my mistake in my posting using lowercase, sorry, but this wasnt the problem still displays same. Any other suggestions, I'm all ears. Am I the only one who has ever had this problem??

3 Aug 2009, 8:00 AM
#9
fredryk avatar

fredryk

New Zenner

Join Date:
Apr 2009
Posts:
2
Plugin Contributions:
0

Re: MSRP Mod Help Please!

I have the same problem as Crystaldoll, please help.

5 Aug 2009, 5:17 PM
#10
crystaldoll avatar

crystaldoll

New Zenner

Join Date:
May 2009
Posts:
63
Plugin Contributions:
0

Re: MSRP Mod Help Please!

Okay, I uninstalled everything, installed the MSRP Display mod and it showed up correctly, however, after installing the standard easy populate mod, it went back to displaying TEXT_PRODUCT_PRICE like before, I looked at all the files and do not see one that would conflict with the other. Someone has got to have the answer!!

5 Aug 2009, 5:58 PM
#11
crystaldoll avatar

crystaldoll

New Zenner

Join Date:
May 2009
Posts:
63
Plugin Contributions:
0

Re: MSRP Mod Help Please!

Okay, it has nothing to do with easy populate, here is the problem I am seeing now. MSRP displays fine on the main product page, however, it shows TEXT_PRODUCTS_PRICE on the product listings (like new listings, featured listings), so how would I correct this and why does it display okay in one area and not the other??