Zen Cart Logo
Forums / All Other Contributions/Addons / Stocks by attributes

Stocks by attributes

Locked

Views: 251,333

Results 321 to 340 of 1,126
This thread is locked. New replies are disabled.
17 Nov 2007, 5:34 PM
#321
mb1 avatar

mb1

Totally Zenned

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

Stocks by attributes

yeah i'm giving up on this i how version 1.4 will have all this covered for us

18 Nov 2007, 2:27 PM
#322
trishac avatar

trishac

New Zenner

Join Date:
Apr 2007
Posts:
5
Plugin Contributions:
0

Re: Stocks by attributes

Does anyone know when version 1.4 will come out? I can't release my online store until the stocks is displayed by attribute, so I'm really anxious to make this work.

20 Nov 2007, 4:07 AM
#323
audradh avatar

audradh

Zen Follower

Join Date:
Oct 2005
Location:
Eastern US
Posts:
429
Plugin Contributions:
0

Re: Stocks by attributes

I think I heard 2008. I doubt you will get a more specific answer than that until the day it is released. Unless of course they revise 2008 to 2009:cry:

20 Nov 2007, 10:55 AM
#324
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Stocks by attributes

I too doubt that you will get an answer more specific than 2008.

Also a word of caution. Although the integration of stock by attributes into core code in 1.4 will be a major step forward, it won't suddenly deliver the many additional approaches to setting and displaying stock that are frequently asked for in this thread.

What it will do is make the development of these additional requirements as add-ons much more worthwhile.

20 Nov 2007, 11:21 AM
#325
francocauter avatar

francocauter

Zen Follower

Join Date:
Jun 2007
Location:
Milton Keynes UK
Posts:
153
Plugin Contributions:
0

Re: Stocks by attributes

Hi there
I would like some practical examples of how to set up option names values and attributes, is there any threads that explain this in examples way?
Thanks for your help
Franco

20 Nov 2007, 11:38 AM
#326
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Stocks by attributes

francocauter:

Hi there
I would like some practical examples of how to set up option names values and attributes, is there any threads that explain this in examples way?
Thanks for your help
FrancoThis is the definitive FAQ entry. I don't know of anything more illustrative than this.

5 Dec 2007, 12:26 PM
#327
xtinexoop avatar

xtinexoop

New Zenner

Join Date:
Mar 2004
Posts:
34
Plugin Contributions:
1

Re: Stocks by attributes

Am I being stoopid?

Hi

I read the Wiki for this and was looking to add the values to each option - from the archive it suggests a post by grayson to amend

includes/modules/pages/product_info/main_template_vars_attributes.php

well... I can't find that file? has it been superceded... ? or is my install missing it?

Christine

5 Dec 2007, 1:47 PM
#328
xtinexoop avatar

xtinexoop

New Zenner

Join Date:
Mar 2004
Posts:
34
Plugin Contributions:
1

Re: Stocks by attributes

Ok - I was being stoopid - the file has been superceded by attributes.php.

Have to say though it has taken me hours to find this out... guess I should have realised when the Wiki pointed to such an old thread.

Christine

7 Dec 2007, 11:28 PM
#329
aesthetics avatar

aesthetics

New Zenner

Join Date:
Nov 2007
Posts:
54
Plugin Contributions:
0

Re: Stocks by attributes

When I run the SQL file to install this mod, I get this error:

1062 Duplicate entry 'STOCK_SHOW_LOW_IN_CART' for key 2
in:
[INSERT INTO zen_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('Show available stock level in cart when less than order', 'STOCK_SHOW_LOW_IN_CART', 'false', 'When customer places more items in cart than are available, show the available amount on the shopping cart page:', '9', '6', NULL, now(), NULL, "zen_cfg_select_option(array('true', 'false')," );]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

...not exactly sure what's causing this, or what I can do to fix it. Any help would be appreciated!

7 Dec 2007, 11:32 PM
#330
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Stocks by attributes

@aesthetics

There's nothing to fix. It means that the configuration table entry is already there, so there's no need to run the SQL.

7 Dec 2007, 11:35 PM
#331
aesthetics avatar

aesthetics

New Zenner

Join Date:
Nov 2007
Posts:
54
Plugin Contributions:
0

Re: Stocks by attributes

Maybe I'm missing something horribly obvious then...

The Readme file says to use the mod to click on Catalog/Products --> Products With Attributes.

...I don't have a "products with attributes" selection in that dropdown. Just my normal "categories/products" section.

Am I missing something?

8 Dec 2007, 12:31 AM
#332
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Stocks by attributes

aesthetics:

The Readme file says to use the mod to click on Catalog/Products --> Products With Attributes.Are you sure that it's "Stock by Attributes" that you're using and not one of the earlier versions upon which this was built, as none of the readme files since it's inception have said that. They all say that it's in the Catalog -> Products With Attributes menu.

If you are using this mod specifically, but it doesn'ty show in the Admin > Catalog menu, that means that the files have been put in the wrong place. I'd recommend starting by checking the extra box file as that's the one that causes it to be shown up in the Admin menu system.

8 Dec 2007, 12:47 AM
#333
aesthetics avatar

aesthetics

New Zenner

Join Date:
Nov 2007
Posts:
54
Plugin Contributions:
0

Re: Stocks by attributes

Sorry, it is Catalog --> Products With Attributes. It's most definitely Stock By Attributes.

When I uploaded the files, I uploaded the includes and admin files straight to the root directory (unless I mis-read, that's what the readme says to do to install the mod), so I'm not sure how they would have gotten in the wrong place.

Where is the extra box file so I can check it?

Sorry if these questions are way basic/vague. I'm new to this program. I really appreciate the help though!

8 Dec 2007, 1:02 AM
#334
aesthetics avatar

aesthetics

New Zenner

Join Date:
Nov 2007
Posts:
54
Plugin Contributions:
0

Re: Stocks by attributes

Okay, sorry, I'm an idiot, hahaha.

When I copied the files into my root directory, I copied them into the root directory for the website, rather than the store. Oops!

Thanks for the help! I think I'm set!

8 Dec 2007, 1:04 AM
#335
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Stocks by attributes

aesthetics:

Okay, sorry, I'm an idiot, hahaha.

When I copied the files into my root directory, I copied them into the root directory for the website, rather than the store. Oops!

Thanks for the help! I think I'm set!Easy mistake and one that <cough, cough, embarassed look> I've made myself before now. :blush:

9 Dec 2007, 5:06 AM
#336
atomage avatar

atomage

New Zenner

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

Re: Stocks by attributes

I have read through everything I could find on negative stock problems in the forum, but I am still having trouble.

I am using Stock By Attributes 4.6 on ZenCart 1.3.7.1

I have config>stock>allow checkout set to false, and I set each stock quantity through catalog>products with attributes.

For example, I will have a T-shirt with the following attributes & stock:

T-Shirt Design #1
Small - 5
Medium - 2
Large - 1
X-Large - 8

Someone will be able to checkout with 2 Large t-shirts in their cart and stock goes to -1.
I don't know why this is happening. When I go to test it (on the same product that was just checked out) I am unable to checkout myself. So, it seems very inconsistent.

I have even had times when a certain size was set to zero (0), and they could still check out!

Any clue to why this might be happening? Possibly I have something configured incorrectly.

Any help is appreciated as this is driving me (and my customers) crazy.

9 Dec 2007, 10:50 AM
#337
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Stocks by attributes

@atomage

Look at this post first. If that's not the answer, see if this one might be.

10 Dec 2007, 2:25 AM
#338
atomage avatar

atomage

New Zenner

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

Re: Stocks by attributes

kuroi:

@atomage

Look at this post first. If that's not the answer, see if this one might be.

Thank you for the quick reply. I think my situation might be the latter link you posted. I am going to comb through my files and make sure.

10 Dec 2007, 3:31 AM
#339
atomage avatar

atomage

New Zenner

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

Re: Stocks by attributes

I just went through my entire site and I don't have any duplicate copies of any files. So, I guess that is not causing the problem. I also have line 8 on orders.php showing up fine. Any other ideas?:(

10 Dec 2007, 3:40 AM
#340
atomage avatar

atomage

New Zenner

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

Re: Stocks by attributes

Sorry for all the posts... I thought I would re-install the the stock by attributes mod again just to see if that would clear things up, but when I tried to install the stock_attribute.sql it gave me this error:

--
1062 Duplicate entry 'STOCK_SHOW_LOW_IN_CART' for key 2
in:
[INSERT INTO zen_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('Show available stock level in cart when less than order', 'STOCK_SHOW_LOW_IN_CART', 'false', 'When customer places more items in cart than are available, show the available amount on the shopping cart page:', '9', '6', NULL, now(), NULL, "zen_cfg_select_option(array('true', 'false')," );]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

Would this have anything to do with my problem? I'm not sure why this is coming up.