MSRP contrib

Results 1 to 20 of 393
02 Jan 2007, 23:21
#1
hbtrading avatar

hbtrading

New Zenner

Join Date:
Jan 2006
Posts:
82
Plugin Contributions:
0

MSRP contrib

here is an MSRP MOD ported from Oscommerce.

I do not offer any support for this MOD as I had someone else install it on my web site and it seems to be working.

What it does:
-adds MSRP field in to the admin side product description.
-displays in the following format Retail Price: $100.00 (this is crossed out)
You Save: $25.00 (25%)
Your Price: $75.00
-CSS additions
-If no MSRP is entered than the MSRP will not show up.

I don't offer any support for this mod as I got someone to convert it from oscommerce to zen and install it on my website.

Please see attached file for mod
30 Jan 2007, 18:26
#2
lextechs avatar

lextechs

Zen Follower

Join Date:
Mar 2005
Posts:
316
Plugin Contributions:
0

Re: MSRP contrib

hbtrading:

here is an MSRP MOD ported from Oscommerce.

I do not offer any support for this MOD as I had someone else install it on my web site and it seems to be working.

What it does:
-adds MSRP field in to the admin side product description.
-displays in the following format Retail Price: $100.00 (this is crossed out)
You Save: $25.00 (25%)
Your Price: $75.00
-CSS additions
-If no MSRP is entered than the MSRP will not show up.

I don't offer any support for this mod as I got someone to convert it from oscommerce to zen and install it on my website.

Please see attached file for mod



What version of Zen cart does this work on?
09 Feb 2007, 00:54
#3
hbtrading avatar

hbtrading

New Zenner

Join Date:
Jan 2006
Posts:
82
Plugin Contributions:
0

Re: MSRP contrib

I have it working on version 1.3.7 ..probably would work for other versions as well
10 Apr 2007, 21:40
#4
lextechs avatar

lextechs

Zen Follower

Join Date:
Mar 2005
Posts:
316
Plugin Contributions:
0

Re: MSRP contrib

Same here is works well on Version 1.3.7
17 Apr 2007, 14:07
#5
notset4life avatar

notset4life

Zen Follower

Join Date:
Sep 2004
Posts:
177
Plugin Contributions:
0

Re: MSRP contrib

It looked like it was working well. However, I launched a sale and found that somehow, the sale prices are now overwridden - on any product, even one without using the MSRP mod.

On the first page, it shows the sale price, but when clicking info on the product, is just shows the regular price and process that to checkout.
08 May 2007, 13:32
#7
kalu_desi avatar

kalu_desi

New Zenner

Join Date:
May 2007
Posts:
3
Plugin Contributions:
0

Re: MSRP contrib

Besides hbtrading, I see others have gotten this to work. I was trying to implement the changes in ZenCart 1.3.7 and can see the MSRP/PRICE when I administer the shopping cart from domain/store/login in the Catalogs/Products section. But I don't see the MSRP and information on the actual site pages. There is one or two sections in the MSRP contrib text file that don't coincide with my setup.

Step 3: catalog/admin/modules/update_product.php... On my install I have the install folder which I assume is catalog then /admin/includes/modules/update_php... Is that right?

Step 4: has the same setup as above except using the file -- collect_info.php

Any help would be appreciated if somebody could point me in the right direction. :(
08 May 2007, 13:54
#8
kalu_desi avatar

kalu_desi

New Zenner

Join Date:
May 2007
Posts:
3
Plugin Contributions:
0

Re: MSRP contrib

Nevermind!!!

I got it working :laugh:

I was working late last night and must have fubarred the function_prices page. When I went back this morning and looked at line by line I noticed I was missing a couple sections of code. :oops:

Thanks for contributing the mod HBTrading. I needed this one badly for a client's site.
09 May 2007, 06:55
#9
hbtrading avatar

hbtrading

New Zenner

Join Date:
Jan 2006
Posts:
82
Plugin Contributions:
0

Re: MSRP contrib

You welcome!
I actually paid someone to port it from Oscommerce :)
27 May 2007, 13:45
#10
kitten091182 avatar

kitten091182

Zen Follower

Join Date:
May 2007
Posts:
110
Plugin Contributions:
0

Re: MSRP contrib

hi, i am having trouble with step one of this, was wondering if anyone can help? i dont understand what i have to do when it says add new field to products table? there is a line of code after that contains ' tableprefix_products' but this is nowhere in my zen cart files.
i know how to do the rest, just need to get past this part. thanks in advance.
27 May 2007, 14:15
#11
azrahn avatar

azrahn

Zen Follower

Join Date:
Jun 2006
Posts:
120
Plugin Contributions:
0

Re: MSRP contrib

Hi,

there is a line of code after that contains ' tableprefix_products' but this is nowhere in my zen cart files.

You need to copy that line into the sql tool in the admin panel.

Ronald.
27 May 2007, 16:45
#12
kitten091182 avatar

kitten091182

Zen Follower

Join Date:
May 2007
Posts:
110
Plugin Contributions:
0

Re: MSRP contrib

its ok thanks. thanks for responding to my question, but i managed to work out how to add it through phpmyadmin. it didnt work when i tried to use the sql tool. its all done now though and working very well.
Although, i cant quite figure out how to change the font sizes on the product listing pages only. I have done it for the product info pages, but cant work out the css codes for the product listing pages.

looking at the css classes, it says .boldPrice, but for each individual price it says .save .norm and .smalltext1. but dont know how to assign it specifically to product listing page.

Any help would be gratefully appreciated. Thanks
19 Jul 2007, 17:34
#13
kbalona avatar

kbalona

Zen Follower

Join Date:
Oct 2006
Posts:
213
Plugin Contributions:
0

Re: MSRP contrib

After installing this contrib, I'm trying to update a product and I'm getting this error when I click "Update":
Parse error: syntax error, unexpected ')' in /home/********/public_html/store/*****/includes/modules/update_product.php on line 26

This is line 26 of that file:
$tmp_value = zen_db_prepare_input($_POST['products_msrp']);

Anyone see why there should be a problem with that line?
19 Jul 2007, 22:56
#14
lextechs avatar

lextechs

Zen Follower

Join Date:
Mar 2005
Posts:
316
Plugin Contributions:
0

Re: MSRP contrib

kbalona:

After installing this contrib, I'm trying to update a product and I'm getting this error when I click "Update":
Parse error: syntax error, unexpected ')' in /home/********/public_html/store/*****/includes/modules/update_product.php on line 26

This is line 26 of that file:
$tmp_value = zen_db_prepare_input($_POST['products_msrp']);

Anyone see why there should be a problem with that line?


Some time the error maybe above or below the line that it actual says it on.
This is line 23 and 24 for me hope this helps it works on my site

$tmp_value = zen_db_prepare_input($_POST['products_msrp']);

$products_msrp = (!zen_not_null($tmp_value) || $tmp_value=='' || $tmp_value == 0) ? 0 : $tmp_value;
20 Jul 2007, 11:52
#15
kbalona avatar

kbalona

Zen Follower

Join Date:
Oct 2006
Posts:
213
Plugin Contributions:
0

Re: MSRP contrib

Still doesn't work:(
The instructions said to change catalog/admin/modules/update_product.php but there' no such file, it's in "catalog/admin/includes/modules" I figured it was just a mistake, correct?

I'm going to go through all the steps again and make sure I didn't miss anything.
20 Jul 2007, 14:20
#16
kbalona avatar

kbalona

Zen Follower

Join Date:
Oct 2006
Posts:
213
Plugin Contributions:
0

Re: MSRP contrib

OK, I re-did changing the Admin files and it works now:)
Thanks for the help.
20 Jul 2007, 14:35
#17
kbalona avatar

kbalona

Zen Follower

Join Date:
Oct 2006
Posts:
213
Plugin Contributions:
0

Re: MSRP contrib

The only thing is, I wish I could take out the percentage that you save. I want it to say "You save $x.xx", instead of "You save $x.xx (xx%)".
But I'm not good enough with php to find the right places to edit, nor do I know if it's possible.
21 Jul 2007, 17:09
#18
kbalona avatar

kbalona

Zen Follower

Join Date:
Oct 2006
Posts:
213
Plugin Contributions:
0

Re: MSRP contrib

After a couple hours of messing around, I changed it to like I want, except it doesn't say You Save. All it has now is Retail price crossed out, and our price.
23 Jul 2007, 20:50
#19
lextechs avatar

lextechs

Zen Follower

Join Date:
Mar 2005
Posts:
316
Plugin Contributions:
0

Re: MSRP contrib

kbalona:

After a couple hours of messing around, I changed it to like I want, except it doesn't say You Save. All it has now is Retail price crossed out, and our price.


I like what you did, i didn't write the code so i was trying to help the best i could. how did you change it so $ instead of %
24 Jul 2007, 17:35
#20
msgok avatar

msgok

New Zenner

Join Date:
May 2006
Posts:
41
Plugin Contributions:
0

Re: MSRP contrib

I have been looking for this mod for months. Now since I have found it, I can't seem to install it. I am having problem with step one. I have Zen. 1.3.7, I have tried going through the Zen-Cart Admin Panel and the phpmyadmin, still no sucess.

The error kept telling me it can't find "tableprefix_products".