If this is your first visit, check our documentation. To post, register or login.
Forums / Community Contributed Add-Ons / All Other Contributions/Addons / MSRP Display Mod / phpMyAdmin edit problem

MSRP Display Mod / phpMyAdmin edit problem

Started by rdcast on 10 Sep 2011, 10:59 AM · Views: 2,091

Results 1 to 8 of 8
10 Sep 2011, 10:59 AM
#1
rdcast avatar

rdcast

Zen Follower

Join Date:
Feb 2010
Posts:
332
Plugin Contributions:
0

Post #1 by rdcast

Installing the MSRP Display Mod, the first step is as follows:

**1. Add a new field to the products table to hold the MSRP value.

ALTER TABLE products ADD products_msrp DECIMAL( 15, 4 ) NOT NULL AFTER products_price ;**

First, I can't find the field products_price in the database list to add the new products_msrp field after it.

Second, I can't seem to add the new products_msrp field anywhere.

Any ideas what I'm doing wrong ?

Thanks for any help,
Bob

I await your thoughtful response.
Thank you

10 Sep 2011, 11:38 AM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Post #2 by stevesh

It's in the products table, but it doesn't matter. Copy that SQL patch

**ALTER TABLE products ADD products_msrp DECIMAL( 15, 4 ) NOT NULL AFTER products_price ; **

and Paste it into the big box in Admin - Tools - Install SQL Patches and click Send.

10 Sep 2011, 12:00 PM
#3
rdcast avatar

rdcast

Zen Follower

Join Date:
Feb 2010
Posts:
332
Plugin Contributions:
0

Post #3 by rdcast

stevesh:

It's in the products table, but it doesn't matter. Copy that SQL patch

**ALTER TABLE products ADD products_msrp DECIMAL( 15, 4 ) NOT NULL AFTER products_price ; **

and Paste it into the big box in Admin - Tools - Install SQL Patches and click Send.

Thank you and well done, but while in the admin's add product to a given category, there is no MSRP fields showing?

I await your thoughtful response.
Thank you

10 Sep 2011, 5:26 PM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Post #4 by stevesh

I just installed it on one of my test sites, and it works fine.

A couple of things to check:

Did you rename the includes/languages/english/extra_definitions/your_template folder in the mod to the name of your custom template before uploading ?

Did you rename the admin folder in the mod to the name of your admin folder before uploading ?

10 Sep 2011, 5:33 PM
#5
rdcast avatar

rdcast

Zen Follower

Join Date:
Feb 2010
Posts:
332
Plugin Contributions:
0

Post #5 by rdcast

stevesh:

I just installed it on one of my test sites, and it works fine.

A couple of things to check:

Did you rename the includes/languages/english/extra_definitions/your_template folder in the mod to the name of your custom template before uploading ?

Did you rename the admin folder in the mod to the name of your admin folder before uploading ?

But there's only the includes to upload, so what do you mean? And yes on the renaming the template folder.

I await your thoughtful response.
Thank you

10 Sep 2011, 6:30 PM
#6
rdcast avatar

rdcast

Zen Follower

Join Date:
Feb 2010
Posts:
332
Plugin Contributions:
0

Post #6 by rdcast

oopz, hold on :blush:

I await your thoughtful response.
Thank you

10 Sep 2011, 6:31 PM
#7
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Post #7 by stevesh

No, there's also an 'admin' folder in the mod that needs to be renamed to the name of your admin folder and uploaded to the root of your site.

10 Sep 2011, 8:11 PM
#8
rdcast avatar

rdcast

Zen Follower

Join Date:
Feb 2010
Posts:
332
Plugin Contributions:
0

Post #8 by rdcast

stevesh:

No, there's also an 'admin' folder in the mod that needs to be renamed to the name of your admin folder and uploaded to the root of your site.
PERFECT !

:smartalec:Thank you for so much help...and thank God for Zen Cart !

I await your thoughtful response.
Thank you