Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Insert products with more than one code and Add to cart cutton

Insert products with more than one code and Add to cart cutton

Views: 1,568

Results 1 to 15 of 15
7 Jun 2011, 7:48 AM
#1
staycu avatar

staycu

New Zenner

Join Date:
Jun 2011
Posts:
31
Plugin Contributions:
0

Insert products with more than one code and Add to cart cutton

Hello all,
I currently installed Zen Cart version 1.39h, I changed the default template with PureBlue template, i made some changes ... and I have a question now :

I have an product, it has 3 codes because the width/lenght differs and I want to know if it is possible to add to my online store this product with more than one code, and a ADD TO CART button after each type of product.

I uploaded here an picture to see what I'm talking about.
http://s3.postimage.org/5bxhqx4uh/piher.jpg

You can see the table and at the end I want to add an ADD TO CART button... it's possible to do this in Zen cart?
Add a product with more than one code, different width, weight, stock, and buy button?

best regards\ and many thanks
le : the site is https://www.useprest.ro ...

7 Jun 2011, 9:16 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Insert products with more than one code and Add to cart cutton

Can only suggest that you investigate the 3rd party module "stock by Attributes"

It is available in the free software add ons link - above left

7 Jun 2011, 10:40 AM
#3
staycu avatar

staycu

New Zenner

Join Date:
Jun 2011
Posts:
31
Plugin Contributions:
0

Re: Insert products with more than one code and Add to cart cutton

Ok kobra, I'll try it.
many thanks.

7 Jun 2011, 10:54 AM
#4
staycu avatar

staycu

New Zenner

Join Date:
Jun 2011
Posts:
31
Plugin Contributions:
0

Re: Insert products with more than one code and Add to cart cutton

staycu:

Ok kobra, I'll try it.
many thanks.

One more thing, I downloaded the addOn.
I read the Readme.html but unfortunately I didn't understant what must I do to install it.

Create a new database table and a new configuration switch by running the 'stock_attribute.sql' via Admin->Tools->Install SQL Patches. - I didn't understant this part...

  1. Download addon stock by attributes
  2. Uzip
  3. Create a new database in my Cpanel or what should I do in SQL Query Executor?

I'm newbye in Zen cart...sorry :)

best regards, and thanks for helping me.

7 Jun 2011, 11:43 AM
#5
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Insert products with more than one code and Add to cart cutton

As is stated

running the 'stock_attribute.sql' via Admin->Tools->Install SQL Patches

Open the sql patch in a notepad, copy it and paste it in the admin as directed

The rest is transferring the files

7 Jun 2011, 11:46 AM
#6
staycu avatar

staycu

New Zenner

Join Date:
Jun 2011
Posts:
31
Plugin Contributions:
0

Re: Insert products with more than one code and Add to cart cutton

kobra:

As is stated

Open the sql patch in a notepad, copy it and paste it in the admin as directed

The rest is transferring the files

Ok, thanks again!

8 Jun 2011, 6:10 AM
#7
staycu avatar

staycu

New Zenner

Join Date:
Jun 2011
Posts:
31
Plugin Contributions:
0

Re: Insert products with more than one code and Add to cart cutton

Hello,
I've opened stock_attribute with Notepad, I copy everithing from there and PASTE to the box from TOOLS- INSTALL SQL PATCHES-.
Then I upload by FTP the files from *stock_by_attributes * "admin", includes and ajax to the ROOT of my site. When asked me for replace, I hit YES...
It says that were succesfully created everything, but now when I want to test the addOn something goes wrong :
http://s1.postimage.org/pg5ez1mx/image.jpg
http://s4.postimage.org/52umx86g9/image.jpg

What I have done wrong?

8 Jun 2011, 6:13 AM
#8
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,809
Plugin Contributions:
15

Re: Insert products with more than one code and Add to cart cutton

Looks like the mod is not playing well with your language file. Does it work with english? If so, you will need to add the missing defines (probably in an english folder in the mod) to your language files.

8 Jun 2011, 6:18 AM
#9
staycu avatar

staycu

New Zenner

Join Date:
Jun 2011
Posts:
31
Plugin Contributions:
0

Re: Insert products with more than one code and Add to cart cutton

dbltoe:

Looks like the mod is not playing well with your language file. Does it work with english? If so, you will need to add the missing defines (probably in an english folder in the mod) to your language files.

Yes, you're right.
I changed the admin language to English and seems to be ok
http://s1.postimage.org/pimpzsax/image.jpg
It is ok?

I must add the missing files to my language...

8 Jun 2011, 6:24 AM
#10
staycu avatar

staycu

New Zenner

Join Date:
Jun 2011
Posts:
31
Plugin Contributions:
0

Re: Insert products with more than one code and Add to cart cutton

staycu:

Yes, you're right.
I changed the admin language to English and seems to be ok
http://s1.postimage.org/pimpzsax/image.jpg
It is ok?

I must add the missing files to my language...

Done. I've added to admin/includes/languages/my language the folder extra_definitions and products_with_attributes.php

now look like this : http://s4.postimage.org/5327swfxl/image.jpg
it's ok, right?

8 Jun 2011, 6:29 AM
#11
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,809
Plugin Contributions:
15

Re: Insert products with more than one code and Add to cart cutton

Glad you got it going:clap:

17 Jun 2011, 10:15 AM
#12
staycu avatar

staycu

New Zenner

Join Date:
Jun 2011
Posts:
31
Plugin Contributions:
0

Re: Insert products with more than one code and Add to cart cutton

Again me... where can I find an tutorial on how to use Stock by attributes?
I searched on zen cart wiki, and I didn't find an detailed tutorial...

I must add product attributes in Zencart?
I mean, I must go to Catalog - Option name manager and option value manager and setup there?
I found this tutorial : http://www.a-plus-webdesign.com/blog/2009/11/02/tutorial-zen-cart-add-product-attributes/

Everything it's ok in Option name manager, but when I go to Option Value manager and after I complete the Option Value and the sort order = 0, I hit INSERT and this error appear :
http://s3.postimage.org/61z467vgp/image.jpg

:( how can I fix this?

17 Jun 2011, 10:21 AM
#13
saraowenn avatar

saraowenn

New Zenner

Join Date:
Jun 2011
Posts:
1
Plugin Contributions:
0

Re: Insert products with more than one code and Add to cart cutton

kobra:

As is stated

Open the sql patch in a notepad, copy it and paste it in the admin as directed

The rest is transferring the files

ok thanks so much Kobra. I will follow
locksmith las vegas
locksmith in las vegas

17 Jun 2011, 10:55 AM
#14
staycu avatar

staycu

New Zenner

Join Date:
Jun 2011
Posts:
31
Plugin Contributions:
0

Re: Insert products with more than one code and Add to cart cutton

I solved the problem with that error ! How : http://www.zen-cart.com/forum/showpost.php?p=965234&postcount=7

So ... where can I find out how to use Stock by attributes? an complete tutorial I need :( please

17 Jun 2011, 3:20 PM
#15
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Insert products with more than one code and Add to cart cutton

staycu:

where can I find out how to use Stock by attributes? an complete tutorial
I do not believe that there is one over the read me included with the module