Zen Cart Logo

MSRP contrib

Views: 81,891

Results 241 to 260 of 393
28 Feb 2011, 6:23 PM
#241
merbay avatar

merbay

New Zenner

Join Date:
Mar 2009
Posts:
41
Plugin Contributions:
0

MSRP contrib

I need help please! My msrp prices are not showing up on the listings.

In the admin area I have a place to insert the msrp price now. On the cat/products page the price shows as:

TEXT_PRODUCT_MSRP$92.00
TEXT_PRODUCT_SAVE24%
TEXT_PRODUCT_OUR$70.00

with a slash through the msrp. But nothing is appearing on the front end. I have reload this several times, but still can't figure this out. I used mySql and downloaded everything manually. Sorry, I don't know enough code: I'm kind of a monkey see, monkey do.

Thanks in advance.

28 Feb 2011, 6:33 PM
#242
smoke133 avatar

smoke133

Zen Follower

Join Date:
Jul 2007
Location:
Roseville, Michigan
Posts:
188
Plugin Contributions:
0

Re: MSRP contrib

What do you have in your \includes\languages\english.php?

Do you this in there?

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

28 Feb 2011, 6:49 PM
#243
merbay avatar

merbay

New Zenner

Join Date:
Mar 2009
Posts:
41
Plugin Contributions:
0

Re: MSRP contrib

Thanks! Yes, I do.

I tried changing it, but it still shows up the same way in the admin, and nothing still on the front end.

28 Feb 2011, 7:03 PM
#244
smoke133 avatar

smoke133

Zen Follower

Join Date:
Jul 2007
Location:
Roseville, Michigan
Posts:
188
Plugin Contributions:
0

Re: MSRP contrib

I have mine located here. includes/languages/english/extra_definitions/your_template/product_info.php

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

28 Feb 2011, 7:41 PM
#245
smoke133 avatar

smoke133

Zen Follower

Join Date:
Jul 2007
Location:
Roseville, Michigan
Posts:
188
Plugin Contributions:
0

Re: MSRP contrib

One quick question. Are you putting this in the \includes\languages\english.php or are you putting it in the admin\includes\languages\english.php?

The one in the \includes\languages\english.php should be:

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

The one in the admin\includes\languages\english\product.php should be:

define('TEXT_PRODUCTS_MSRP', ' MSRP: ');
define('TEXT_PRODUCTS_OUR_PRICE', ' Our Price: ');
define('TEXT_PRODUCTS_SALE', ' Sale Price: ');
define('TEXT_PRODUCTS_SAVINGS', ' You Save: ');
define('TEXT_PRODUCTS_PRICE_MSRP', 'Products MSRP:');

You don't add anything in the admin\includes\languages\english\english.php

28 Feb 2011, 8:14 PM
#246
merbay avatar

merbay

New Zenner

Join Date:
Mar 2009
Posts:
41
Plugin Contributions:
0

Re: MSRP contrib

I took a look at everything again. I don't have a includes/languages/english/extra_definitions/your_template/product_info.php.

My \includes\languages\english.php and
admin\includes\languages\english\product.php
are like above. :dontgetit

28 Feb 2011, 8:15 PM
#247
smoke133 avatar

smoke133

Zen Follower

Join Date:
Jul 2007
Location:
Roseville, Michigan
Posts:
188
Plugin Contributions:
0

Re: MSRP contrib

Do you have a link to an example of where is is doing it?

30 Mar 2011, 1:55 PM
#249
kitcorsa avatar

kitcorsa

Totally Zenned

Join Date:
Feb 2007
Posts:
1,724
Plugin Contributions:
0

Re: MSRP contrib

Hi how can i get the you save price to display including VAT??

my store shows the following

** Retail Price: £480.00
You save: £275.00 (69%)
Our Price: £150.00**

the 275.00 shown is without VAT as the saving is £330 (275 + 20% vat)

how can I fix this?

5 Apr 2011, 8:48 AM
#250
kitcorsa avatar

kitcorsa

Totally Zenned

Join Date:
Feb 2007
Posts:
1,724
Plugin Contributions:
0

Re: MSRP contrib

how can i make the you save price display including VAT???

i have tried reinstalling the mod to make sure nothing missing and still the same!

7 Apr 2011, 9:04 AM
#251
kitcorsa avatar

kitcorsa

Totally Zenned

Join Date:
Feb 2007
Posts:
1,724
Plugin Contributions:
0

Re: MSRP contrib

Is this now un supported??

14 Apr 2011, 9:53 PM
#252
www_heymama_ie avatar

www_heymama_ie

New Zenner

Join Date:
Apr 2011
Posts:
4
Plugin Contributions:
0

Re: MSRP contrib

Goto (approx) line 290 of

includes\functions\functions_prices.php

and replace the block of code starting with "if ($display_normal_price == 0) {" with the code below:

    if ($display_normal_price == 0) {

        // don't show the $0.00
        if(($display_msrp_price!='')&&($display_msrp_price!='0')){
            $save=$display_msrp_price-$display_normal_price;
            $final_display_price = '<span class="pblock">'.TEXT_PRODUCT_MSRP.'</span><span class="smalltext1"><s>'.$currencies->display_price($display_msrp_price).'</s></span><br><span class="pblock">'.TEXT_PRODUCT_OUR.'</span><span id="elPrice" class="norm">'.$show_special_price . $show_sale_price . $show_sale_discount.'</span><br><span class="pblock">'.TEXT_PRODUCT_SAVE.'</span><span class="save">'.$currencies->display_price($save, '').' ('. number_format((($display_msrp_price -  $display_normal_price) / $display_msrp_price), 2, '.', '') * 100 . '%)'.'</span>' ;
        } else {
            $final_display_price = $show_special_price . $show_sale_price . $show_sale_discount;
        }

    } else {

        if(($display_msrp_price!='')&&($display_msrp_price!='0')){
            $save=$display_msrp_price-$display_normal_price;
            $final_display_price = '<span class="pblock">'.TEXT_PRODUCT_MSRP.'</span><span class="smalltext1"><s>'.$currencies->display_price($display_msrp_price ).'</s></span><br><span class="pblock">'.TEXT_PRODUCT_OUR.'</span><span id="elPrice" class="norm">'.$show_normal_price . $show_special_price . $show_sale_price . $show_sale_discount.'</span><br><span class="pblock">'.TEXT_PRODUCT_SAVE .'</span><span class="save">'.$currencies->display_price($save, '').' ('. number_format((($display_msrp_price -  $display_normal_price) / $display_msrp_price), 2, '.', '') * 100 . '%)'.'</span>' ;
        } else {
            $final_display_price = $show_normal_price . $show_special_price . $show_sale_price . $show_sale_discount;
        }
    }
21 Apr 2011, 2:41 PM
#253
kitcorsa avatar

kitcorsa

Totally Zenned

Join Date:
Feb 2007
Posts:
1,724
Plugin Contributions:
0

Re: MSRP contrib

guess that not for me... as it made no difference just changed to order and layout. lol

Price: Retail Price: £568.09
Our Price: £249.99
You save: £359.77 (63%)

23 Apr 2011, 8:39 PM
#254
rivercity avatar

rivercity

Zen Follower

Join Date:
Jul 2009
Location:
Arkansas
Posts:
178
Plugin Contributions:
0

Re: MSRP contrib

Hey gang, quick question, I've been reading through this topic and haven't found anyone with my setup. I am hosted with Hostgator and when they installed ZenCart, they changed the 'admin' folder name to 'manage', and there are no folders or files with the prefix of 'zen_'.

Do you think it would be best for me when I install MSRP to do it manually all the way through rather than just copy the admin folder (changing the name to manage) and the includes folder and then just making the two required other changes.

I'm thinking that it might be better to do it manually so that I can make sure any reference to the admin folder is changed and also that any files that have the prefix on it, the prefix is removed.

Any suggestions or recommendations would be greatly appreciated.

Thanks

24 Apr 2011, 2:28 AM
#255
rivercity avatar

rivercity

Zen Follower

Join Date:
Jul 2009
Location:
Arkansas
Posts:
178
Plugin Contributions:
0

Re: MSRP contrib

RiverCity:

Hey gang, quick question, I've been reading through this topic and haven't found anyone with my setup. I am hosted with Hostgator and when they installed ZenCart, they changed the 'admin' folder name to 'manage', and there are no folders or files with the prefix of 'zen_'.

Do you think it would be best for me when I install MSRP to do it manually all the way through rather than just copy the admin folder (changing the name to manage) and the includes folder and then just making the two required other changes.

I'm thinking that it might be better to do it manually so that I can make sure any reference to the admin folder is changed and also that any files that have the prefix on it, the prefix is removed.

Any suggestions or recommendations would be greatly appreciated.

Thanks

Disregard the previous post, I went ahead and installed it manually just to be safe. It shows up when I enter a product and it's price, then I click 'Preview' then "Update" and in IE9 I get a page not found, Firefox hangs up on an empty page, Google chrome gives me an error message saying:

The website encountered an error while retrieving http://xx.xx.xxx.xxx/~name/manage/product.php?cPath=1_4&product_type=1&pID=1&action=update_product&zenAdminID=0daa98eedbf0842f509fc78260456d8f. It may be down for maintenance or configured incorrectly.

'manage' is the same as 'admin'

I have sent a ticket into the hosting company support but not sure if they will help with MSRP but thought they might be able to see if it was an error on the server that caused it.

Thanks

24 Apr 2011, 2:29 PM
#256
rivercity avatar

rivercity

Zen Follower

Join Date:
Jul 2009
Location:
Arkansas
Posts:
178
Plugin Contributions:
0

Re: MSRP contrib

RiverCity:

Disregard the previous post, I went ahead and installed it manually just to be safe. It shows up when I enter a product and it's price, then I click 'Preview' then "Update" and in IE9 I get a page not found, Firefox hangs up on an empty page, Google chrome gives me an error message saying:

The website encountered an error while retrieving http://xx.xx.xxx.xxx/~name/manage/product.php?cPath=1_4&product_type=1&pID=1&action=update_product&zenAdminID=0daa98eedbf0842f509fc78260456d8f. It may be down for maintenance or configured incorrectly.

'manage' is the same as 'admin'

I have sent a ticket into the hosting company support but not sure if they will help with MSRP but thought they might be able to see if it was an error on the server that caused it.

Thanks

Good, this error was on the server side thank goodness and is fixed now. Looks like this is working great now, need to make the font a little smaller but otherwise it's good to go.

Thanks

24 Apr 2011, 3:48 PM
#257
rivercity avatar

rivercity

Zen Follower

Join Date:
Jul 2009
Location:
Arkansas
Posts:
178
Plugin Contributions:
0

Re: MSRP contrib

Looking good so far, does anyone know where and what I need to modify in order to reduce the size of the font for all three lines? I would like to make it smaller as it's overlapping other text on my home page with the template I'm using. It might work if I can just remove the 'bold' from the code but not sure what to put in it's place. If that doesn't correct it then I would probably need to figure out how to make the font smaller.

Any help would be greatly appreciated.

Thanks

Jim

Example of what it looks like now except that the Our Price line is on top of the More Details text.

Retail Price: $189.95
You save: 32%
Our Price: $129.95
More details

30 Apr 2011, 1:10 AM
#258
rivercity avatar

rivercity

Zen Follower

Join Date:
Jul 2009
Location:
Arkansas
Posts:
178
Plugin Contributions:
0

Re: MSRP contrib

RiverCity:

Looking good so far, does anyone know where and what I need to modify in order to reduce the size of the font for all three lines? I would like to make it smaller as it's overlapping other text on my home page with the template I'm using. It might work if I can just remove the 'bold' from the code but not sure what to put in it's place. If that doesn't correct it then I would probably need to figure out how to make the font smaller.

Any help would be greatly appreciated.

Thanks

Jim

Example of what it looks like now except that the Our Price line is on top of the More Details text.

Retail Price: $189.95
You save: 32%
Our Price: $129.95
More details

Anyone have any ideas on this problem? It seems to work great except for this. If you need to see what I'm talking about click on the link in my signature, this site isn't complete yet but if you look at the home page at the first item under "New Products for April" you'll see what it is doing. It looks terrible the way it is.

Thanks

Jim

13 May 2011, 3:16 PM
#259
dremhmrk2 avatar

dremhmrk2

New Zenner

Join Date:
Jun 2010
Posts:
32
Plugin Contributions:
0

Re: MSRP contrib

I'm having a rather odd issue with the MSRP contrib.

I had GoDaddy take my site down because I exceeded a file limit. This broke my Add to Facebook contrib as well as my MSRP contrib.

What happens is this:

On all products that were made previous to godaddy taking me down, the MSRP stuff is coming up just fine.

However, on newly added products or when making an update, msrp data does NOT show on the public side and will NOT show up when you go in to edit the product. You get a blank box to fill it in, and when you preview and then save, you get no error and no retained MSRP data.

It's not throwing any errors, and I just went through the installation again and it all seems right. I'm really struggling with this one.

16 May 2011, 5:18 PM
#260
dremhmrk2 avatar

dremhmrk2

New Zenner

Join Date:
Jun 2010
Posts:
32
Plugin Contributions:
0

Re: MSRP contrib

An update to my post:

Im not sure if it is at all related but near the godaddy failure I installed easypopulate, but that addon has caused no issues and seems to work as intended.

Still need help!