Forums / All Other Contributions/Addons / Stock by Attribute v4.0 addon for v1.3.5-1.3.9

Stock by Attribute v4.0 addon for v1.3.5-1.3.9

Views: 660,384

Results 81 to 100 of 3,609
29 Nov 2006, 10:35 PM
#81
svanis avatar

svanis

Zen Follower

Join Date:
May 2005
Location:
Sweden
Posts:
145
Plugin Contributions:
0

Stock by Attribute v4.0 addon for v1.3.5-1.3.9

Hey all!

I previously posted about stock avail in the product info page.

Ex.

XS [Not in stock]
S [In stock]
M [In stock]

and so on..
Was this implemented in later versions of the contrib?
If so; is there a switch for it because I can't get it to work after upgrading a ZC from 1.2.7 - 1.3.5, the old shop had a previous version of danielcor's contrib..

30 Nov 2006, 6:03 PM
#82
seattleannie avatar

seattleannie

Zen Follower

Join Date:
Oct 2005
Posts:
151
Plugin Contributions:
0

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

When installing Stock by Attribute to an existing Zen Cart that already has a lot of attributes, what happens to those pre-existing attributes? Do they just require stock quantities to be added to them after the add-on install?

~anne

30 Nov 2006, 8:02 PM
#83
kuroi avatar

kuroi

Totally Zenned

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

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

saddlebred:

Well, I first tried editing the file. Apparently I did that wrong. I downloaded the new version and uploaded the files. Things still weren't working. I went and deleted the table, overwrote the core zencart files to get things back to the way they were before the install. I then tried to install the sql patch and it gave me an error message saying there were duplicate entries. So, what do I do now. I'm afraid I've really screwed things up.
Melissa
http://store.equineshop.bizIt's not as bad as it seems. In fact it's probably all OK. You can ignore the duplicate error message. Although you deleted the table, the original installation will have also placed a flag in the admin config flag (the lowstock flag). This is almost certainly what the error message refers to as it will still be there from the original installation (but does no harm, so no need to get it out, even if you uninstall.

By running the SQL again you will probably (despite the error message which come later) have recreated the table. Just go ahead with re-installing the files and hopefully all will be OK this time.

Good luck.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

30 Nov 2006, 9:09 PM
#84
kuroi avatar

kuroi

Totally Zenned

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

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

Svanis:

Hey all!

I previously posted about stock avail in the product info page.

Ex.

XS [Not in stock]
S [In stock]
M [In stock]

and so on..
Was this implemented in later versions of the contrib?
If so; is there a switch for it because I can't get it to work after upgrading a ZC from 1.2.7 - 1.3.5, the old shop had a previous version of danielcor's contrib..Sorry Svanis. This question has been done to death and there's lots of previous posts on it, so only the quick answer this time. Stock on the product info page isn't included in the mod becuase there isn't a soluton for it that works witt mutliple attributes. There is a solution posted in an archive thread references to which can be found by searching on "Grayson".

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

1 Dec 2006, 12:00 AM
#85
kuroi avatar

kuroi

Totally Zenned

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

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

seattleannie:

When installing Stock by Attribute to an existing Zen Cart that already has a lot of attributes, what happens to those pre-existing attributes? Do they just require stock quantities to be added to them after the add-on install?

~anneExactly right.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

4 Dec 2006, 6:42 AM
#86
paisleydi avatar

paisleydi

New Zenner

Join Date:
Nov 2006
Posts:
14
Plugin Contributions:
0

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

my apologies if this question has been asked...

i just installed stock by attribute. i am using 1.3.6 and installed sba 4.3.1.

i see the sba option under the catalogue pull-down. but unfortunately i get this error message:

"Sorry, your security clearance does not allow you to access this resource.

  Please contact your site administrator if you believe this to be incorrect.

  Sorry for any inconvenience."

please advise.

thank you!!!

4 Dec 2006, 7:06 AM
#87
paisleydi avatar

paisleydi

New Zenner

Join Date:
Nov 2006
Posts:
14
Plugin Contributions:
0

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

never mind on my last post about security clearance.

i figured it out! i am so proud of myself. maybe i am getting the hang of it yet.

thank you!

4 Dec 2006, 7:49 AM
#88
styleboy avatar

styleboy

New Zenner

Join Date:
Dec 2006
Posts:
25
Plugin Contributions:
0

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

Is there any way to automatically populate the entire product selection to 1 of each attribute combination? or any number for that matter? or do I have to go through all of the products one at a time?

4 Dec 2006, 9:19 AM
#89
kuroi avatar

kuroi

Totally Zenned

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

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

paisleydi:

never mind on my last post about security clearance.

i figured it out! i am so proud of myself. maybe i am getting the hang of it yet.

thank you!Hi paisleydi

Well done for sorting this out. For the benefit of anybody else who may run into this problem ... I'm guessing that you are also running Admin Profiles and hadn't given yourself permission to access Stock by Attribute.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

4 Dec 2006, 9:23 AM
#90
kuroi avatar

kuroi

Totally Zenned

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

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

styleboy:

Is there any way to automatically populate the entire product selection to 1 of each attribute combination? or any number for that matter? or do I have to go through all of the products one at a time?I'm afraid not. However, what you would like to do is just one step beyond a request that has been made before to automatically set up each combination. You're just asking to have a user-defined default for those combinations. I'm sure that this will be considered when this mod is replaced by an official Zen Cart facility.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

4 Dec 2006, 9:53 AM
#91
styleboy avatar

styleboy

New Zenner

Join Date:
Dec 2006
Posts:
25
Plugin Contributions:
0

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

Sounds great. Another thing I would suggest if not already said is to allow the admin to set values for every combination and then click submit. Allowing all of the stock values for a certain product to be updated at one time.

Great module though either way. Do you have any idea when the next zen-cart update would be? I just recently discovered the cart and I think its fabulous..I just don't know how often the updates are.

4 Dec 2006, 10:40 AM
#92
kuroi avatar

kuroi

Totally Zenned

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

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

These are helpful suggestions. Both have been noted.

The functionality in this mod is planned to be taken into core Zen Cart in the next major release. However, this will hopefully be a re-write as the mod is creaking under the weight of some dodgy historical design choices (it has a long history dating back to osCommerce since when it has passed through the hands of several developers) and lacks the flexibility to cope with many of the features that store owners would like.

Zen Cart releases don't come out on a schedule. I suspect that this is because the Zen Cart developers have to work around their other commitments (e.g. their day jobs) and prefer to get each release right, rather than cut corners to meet a deadline. However, as a generalisation, there's a major release about once a year and several minor releases. It's an active project whose roadmap can be seen here.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

5 Dec 2006, 6:12 AM
#93
paisleydi avatar

paisleydi

New Zenner

Join Date:
Nov 2006
Posts:
14
Plugin Contributions:
0

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

it is like you are psychic or something!!! :yes:

i did indeed install the admin profile module. it never even occurred to me that i would not have access privileges to all functions.

thank you for your support and for helping with such a great piece of software.

di

12 Dec 2006, 4:52 PM
#94
cmglade avatar

cmglade

New Zenner

Join Date:
Mar 2006
Posts:
11
Plugin Contributions:
0

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

I'm extremely new to this Zen cart stuff and have no PHP experience. I'm using the Stock by Attribute module with ZenCart v1.3.6

I am allowed to check out having ordered apparel in variations for which there is no stock.

What configuration settings should be looking at to make sure order unavailable stock?

Thanks for any (urgent!) Help!!

12 Dec 2006, 4:57 PM
#95
kuroi avatar

kuroi

Totally Zenned

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

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

cmglade:

I am allowed to check out having ordered apparel in variations for which there is no stock.

What configuration settings should be looking at to make sure order unavailable stock?In the Admin > Configuration > Stock there are settings for you to decide whether you want to check stock before checkout and whether you wish to allow checkout if you are not holding the stock.

These settings apply whether or not stock by attributes is being used.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

12 Dec 2006, 5:56 PM
#96
cmglade avatar

cmglade

New Zenner

Join Date:
Mar 2006
Posts:
11
Plugin Contributions:
0

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

kuroi:

In the Admin > Configuration > Stock there are settings for you to decide whether you want to check stock before checkout and whether you wish to allow checkout if you are not holding the stock.

These settings apply whether or not stock by attributes is being used.

Thanks for the quick response.

My Stock settings are currently:

Check stock level: true
Subtract Stock: true
Allow Checkout: false

Are there other Configuration>Stock settings I need to address?

Thanks so much

12 Dec 2006, 6:30 PM
#97
kuroi avatar

kuroi

Totally Zenned

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

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

Which version of the mod are you using?
Do you have the "Show stock when low" flag set to true?
Is there a site and product where this can be seen happening?

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

12 Dec 2006, 6:38 PM
#98
cmglade avatar

cmglade

New Zenner

Join Date:
Mar 2006
Posts:
11
Plugin Contributions:
0

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

Using v4_2

Yes the show stock when low is set to true, have also tried it set to false.

Maybe look at:
http://www.tattersallsclothing.com/stock/index.php?main_page=product_info&products_id=19

There is nothing available in large, it lets me order large, subtracts it from the total product quantity of all variants.

Any ideas?

12 Dec 2006, 7:21 PM
#99
kuroi avatar

kuroi

Totally Zenned

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

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

cmglade:

Using v4_2

Yes the show stock when low is set to true, have also tried it set to false.

Maybe look at:
http://www.tattersallsclothing.com/stock/index.php?main_page=product_info&products_id=19

There is nothing available in large, it lets me order large, subtracts it from the total product quantity of all variants.

Any ideas?First recommendation is to upgrade to 4.3.1. The 4.2 version was targeted at Zen Cart 1.3.5 rather than the 1.3.6 that you said earlier you are using. Although I can't promise that this will solve the problem, this nature and design of this mod makes it partiicularly sensitive to mismatches between Zen Cart and mod versions.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

12 Dec 2006, 7:36 PM
#100
cmglade avatar

cmglade

New Zenner

Join Date:
Mar 2006
Posts:
11
Plugin Contributions:
0

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

I tried uploading the patch file and got:

1062 Duplicate entry 'STOCK_SHOW_LOW_IN_CART' for key 2
in:
[INSERT INTO tattersallsconfiguration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('Show stock when low', '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.

This, sadly, means nothing to me.
Can you provide any guidance? Please?