Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.

Help Installing Addons

Started by janderson78 on 26 Sep 2011, 9:49 PM · Views: 757

Results 1 to 4 of 4
26 Sep 2011, 9:49 PM
#1
janderson78 avatar

janderson78

New Zenner

Join Date:
Sep 2011
Posts:
3
Plugin Contributions:
0

Post #1 by janderson78

Hello,

My name is Jason and I am new to Zen. I have got my site up and going https://www.sworkz-usa.com

I have a few test products up and have had no issues loading anything. But with my business I am a distributor and need to have wholesale priceing.

I have downloaded the Addon and read everything I can find. I understand the drag and drop to the same folder in you public site via FTB

But I am having an issue learning how to do the following.
ALTER TABLE customers ADD customers_whole VARCHAR( 4 ) DEFAULT '0' NOT NULL;

ALTER TABLE products ADD products_price_w DECIMAL( 15, 4 ) DEFAULT '0' AFTER products_price;

ALTER TABLE products_attributes ADD options_values_price_w DECIMAL( 15, 4 ) DEFAULT '0' AFTER options_values_price;

So if you could please point me in the right direction it would be awesome!

26 Sep 2011, 10:29 PM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Post #2 by schoolboy

There are (fundamentally) TWO parts to the "engine" of your site:

  1. Code files and other files (which will include images).

  2. A Database, which is the repository for much of the content of the site.

Many add-ons (though most certainly not all), will need to ADD components to the database, in addition to adding to (or altering) the files.

In your case, you are showing some SQL code, suggesting that the add-on you are trying to load, is one of those that needs DATABASE modifications, as well as new (or edited) FILES sent to the server.

You will "run" these SQL patches through ADMIN-CONSOLE >>> TOOLS >>> INSTALL SQL PATCHES.

After running them, the necessary modifications will have been made to your database in order for that module to function correctly.

BEWARE! It is good practise to ALWAYS BACKUP your database before you run SQL patches.

Databases are usually backed up using tools in your webhost C-Panel interface.

20 years a Zencart User

27 Sep 2011, 7:34 AM
#3
janderson78 avatar

janderson78

New Zenner

Join Date:
Sep 2011
Posts:
3
Plugin Contributions:
0

Post #3 by janderson78

Thanks again so very much for such a great answer. I will look in the admin section when I return home and see if I can make it work!

28 Sep 2011, 7:09 PM
#4
janderson78 avatar

janderson78

New Zenner

Join Date:
Sep 2011
Posts:
3
Plugin Contributions:
0

Post #4 by janderson78

Ok so I have now tried it 4 times with mo luck...

Anyone know someone who is good with zen that I can pay a small fe to and get the addons I need up and running?

I need MAP, Retail and wholesale prices and be able to identify which customers see what.

I also need it to print packing and shipping labels/lists

I need it to do inventory orders or be able to print excell sheets specific to each manufacture.

Let me know of anything you guys can think of to help.

Jason