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

Stocks by attributes

Locked

Views: 251,313

Results 461 to 480 of 1,126
This thread is locked. New replies are disabled.
2 Mar 2008, 11:40 PM
#461
kuroi avatar

kuroi

Totally Zenned

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

Stocks by attributes

joystick:

In SBA 4.7 package I can find and rename includes/templates/YOUR_TEMPLATE but there isn't includes/modules/YOUR_TEMPLATE

Incorrect instruction, or... ?Left over from older versions. Changes have been made to minimise over-riding of files and over several releases, the number of files over-written and over-ridden has been reduced. The module file for which this instruction was originally written no longer needs to be changed, so you can safely ignore that part of the instructions.

3 Mar 2008, 12:26 AM
#462
joystick avatar

joystick

New Zenner

Join Date:
Feb 2008
Posts:
14
Plugin Contributions:
0

Re: Stocks by attributes

I think that it's a good idea to update install instruction.

kuroi:

so you can safely ignore that part of the instructions.

I don't understund if is necessary to rename includes/templates/YOUR_TEMPLATE

(I'm using a template)

3 Mar 2008, 12:34 AM
#463
kuroi avatar

kuroi

Totally Zenned

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

Re: Stocks by attributes

joystick:

I think that it's a good idea to update install instruction.So do I. Please feel free to do so.

joystick:

I don't understund if is necessary to rename includes/templates/YOUR_TEMPLATEIt is.

3 Mar 2008, 1:00 AM
#464
joystick avatar

joystick

New Zenner

Join Date:
Feb 2008
Posts:
14
Plugin Contributions:
0

Re: Stocks by attributes

Ok, installed. To test contrib, I try to set size options and apply size attribute to an article. I set quantity in stock... Well! It work!

But it's very strange that PWA_DELETE_VARIANT doesn't work. I clik on it, I click yes to confirm, I've not any error message but variant is already present.

I've another question: I set variant and stock. Is it a problem or is it VERY dangerous to remove a relative Option Value (look the picture) for example "Taglia 26", from attribute applied to an article (Admin-->catalogue-->Attributes Controller) ?

4 Mar 2008, 7:29 PM
#465
soxophoneplayer avatar

soxophoneplayer

Totally Zenned

Join Date:
Feb 2008
Posts:
534
Plugin Contributions:
0

Re: Stocks by attributes

I'm using 3.71 and Stock by Attributes 4.6

I am using two sets of values - size and colour - and using radio buttons for each.

So far - I've got a test product set with stock numbers for each combination. These numbers stand the test in the shopping cart - ie ordering too many will give error message to cart owner, along with actual number of stock available; ordering zero will give an 'out of stock' error message, and not selecting an attribute from each attribute will give a ' you must select colour (and/or size, as the case may be) error message.

I see on wiki page info about showing stock on product page when a single attribute is used.

Is there a way to show stock available on product page when two attributes are used?

5 Mar 2008, 9:21 AM
#466
joystick avatar

joystick

New Zenner

Join Date:
Feb 2008
Posts:
14
Plugin Contributions:
0

Re: Stocks by attributes

any idea? :(

8 Mar 2008, 5:57 AM
#467
mb1 avatar

mb1

Totally Zenned

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

Re: Stocks by attributes

would there be a way to seperate products displayed by catagory? this would make things super quick and easy. also would it be possible to see the products without attributes also so you could update all stock levels without having to jump around in your admin.

8 Mar 2008, 6:41 AM
#468
mb1 avatar

mb1

Totally Zenned

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

Re: Stocks by attributes

ok "ctrl + F" works just find for searching and backbutton works great from adding new products.

13 Mar 2008, 4:33 PM
#469
helpme avatar

helpme

Totally Zenned

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

Re: Stocks by attributes

I just installed this mod. and everything works fine, except if when a customer is signed in, and then revisits the shopping cart the shipping calculator does not display and I get this error.
public_html/includes/classes/order.php on line 20

Any idea what needs to be changed?

Thanks!

13 Mar 2008, 4:56 PM
#470
kuroi avatar

kuroi

Totally Zenned

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

Re: Stocks by attributes

joystick:

Ok, installed. To test contrib, I try to set size options and apply size attribute to an article. I set quantity in stock... Well! It work!

But it's very strange that PWA_DELETE_VARIANT doesn't work. I clik on it, I click yes to confirm, I've not any error message but variant is already present.Actually it's not working. That you are seeing "PWA_DELETE_VARIANT" shows that you have an incomplete installation, otherwise you would be seeing the text to which that constant refers. I recommend checking that each individual file is in the same position as it is in the installation package, or re-installing and ensuring that they all end up in the right place.

joystick:

I've another question: I set variant and stock. Is it a problem or is it VERY dangerous to remove a relative Option Value (look the picture) for example "Taglia 26", from attribute applied to an article (Admin-->catalogue-->Attributes Controller) ?I would recommend removing the stock values before removing the variant - that should be safe. I haven't tried it the other way around, so don't know what effect it might have.

13 Mar 2008, 4:58 PM
#471
kuroi avatar

kuroi

Totally Zenned

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

Re: Stocks by attributes

soxophoneplayer:

I'm using 3.71 and Stock by Attributes 4.6

I am using two sets of values - size and colour - and using radio buttons for each.

So far - I've got a test product set with stock numbers for each combination. These numbers stand the test in the shopping cart - ie ordering too many will give error message to cart owner, along with actual number of stock available; ordering zero will give an 'out of stock' error message, and not selecting an attribute from each attribute will give a ' you must select colour (and/or size, as the case may be) error message.

I see on wiki page info about showing stock on product page when a single attribute is used.

Is there a way to show stock available on product page when two attributes are used?Not built into the module. You would need to query the database and write your own display routines to suit your specific situation.

13 Mar 2008, 5:02 PM
#472
kuroi avatar

kuroi

Totally Zenned

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

Re: Stocks by attributes

MB1:

would there be a way to seperate products displayed by catagory? this would make things super quick and easy. also would it be possible to see the products without attributes also so you could update all stock levels without having to jump around in your admin.Yes, but there are no plans to do so for the reasons explained earlier in this thread. However, I'm confident that this will be less of an issue when the feature is absorbed into core code in Zen Cart 1.4.

13 Mar 2008, 5:04 PM
#473
kuroi avatar

kuroi

Totally Zenned

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

Re: Stocks by attributes

helpme:

I just installed this mod. and everything works fine, except if when a customer is signed in, and then revisits the shopping cart the shipping calculator does not display and I get this error.
public_html/includes/classes/order.php on line 20

Any idea what needs to be changed?To start answering this question, please advise as to which version of Zen Cart you are using, which version of Stock by Attributes, what other mods you have installed and the full error message.

13 Mar 2008, 6:55 PM
#474
helpme avatar

helpme

Totally Zenned

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

Re: Stocks by attributes

kuroi:

To start answering this question, please advise as to which version of Zen Cart you are using, which version of Stock by Attributes, what other mods you have installed and the full error message.
I am using 1.3.7, latest version of Stock by Attribute and I have several mod. installed but no other modules that used this file.

Does this help?

Fatal error: Cannot redeclare class order in /home/shop/public_html/includes/classes/order.php on line 20

Thanks!

13 Mar 2008, 6:59 PM
#475
kuroi avatar

kuroi

Totally Zenned

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

Re: Stocks by attributes

helpme:

I am using 1.3.7, latest version of Stock by Attribute and I have several mod. installed but no other modules that used this file.

Does this help?

Fatal error: Cannot redeclare class order in /home/shop/public_html/includes/classes/order.php on line 20

**Thanks!**Two issues here. The latest version of Stock by Attribute isn't intended to be used with version 1.3.7 of Zen Cart. Secondly, I suspect that you may have left a backup of your old orders.php in your classes folder which is why it's trying to declare it twice.

13 Mar 2008, 10:12 PM
#476
joystick avatar

joystick

New Zenner

Join Date:
Feb 2008
Posts:
14
Plugin Contributions:
0

Re: Stocks by attributes

kuroi:

Actually it's not working.

I see /products_with_attributes_stock.php?action=delete&products_id=182&attributes=1114
the two id are correct but dont't work.

[QUOTE=kuroi;523526]
That you are seeing "PWA_DELETE_VARIANT" shows that you have an incomplete installation, otherwise you would be seeing the text to which that constant refers. I recommend checking that each individual file is in the same position as it is in the installation package, or re-installing and ensuring that they all end up in the right place.

Installation it's ok. You see PWA_DELETE_VARIANT because there isn't italian language.
/QUOTE]

14 Mar 2008, 3:16 AM
#477
adoy avatar

adoy

New Zenner

Join Date:
Feb 2008
Posts:
45
Plugin Contributions:
0

Re: Stocks by attributes

hi!

firstly, i would like to thank everyone for this very useful contribution. I have successfully used this on my site for some time...

i would like to remove them at the moment... may i know the step-by-step process on removing it..? thankz!

20 Mar 2008, 2:52 AM
#478
luvingmamma avatar

luvingmamma

New Zenner

Join Date:
Aug 2007
Location:
Troy, MI
Posts:
80
Plugin Contributions:
0

Re: Stocks by attributes

adoy:

hi!

firstly, i would like to thank everyone for this very useful contribution. I have successfully used this on my site for some time...

i would like to remove them at the moment... may i know the step-by-step process on removing it..? thankz!

I need to remove this mod as well how do i go about doing this.

Thanks

20 Mar 2008, 8:06 AM
#479
audradh avatar

audradh

Zen Follower

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

Re: Stocks by attributes

Given the lack of response, I'm guessing that to remove this mod you are simply going to have to compare the files and undo what was done. If you are confident that you hadn't made any other changes to files, you can simply upload the stock Zen page.

Likewise, looking at the SQL file should help you to figure out what database changes were made. I could fumble my way through it in phpMyAdmin for my own uses, but I'm not competent enough to provide the code to someone else for undoing the database changes.
Maybe someone else can help w/ that??

20 Mar 2008, 9:40 AM
#480
kuroi avatar

kuroi

Totally Zenned

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

Re: Stocks by attributes

luvingmamma:

I need to remove this modDisabling this mod can be done at several levels.

  1. Removing all product variants will cause it never to be used

  2. Replacing the files listed as over-ridden or over-written in the packages readme file (or its wiki entry) with the versions in your original Zen Cart release package will prevent it from being used.

  3. Deleting all the files that come in the mod's release package, re-inserting those listed as over-ridden or over-written in the packages readme file (or its wiki entry) with the versions in your original Zen Cart release package, and running this SQL via Admin > Tools > Install SQL Patches will make like it was never there> DROP TABLE products_with_attributes_stock;

DELETE FROM configuration where configuration_key = "STOCK_SHOW_LOW_IN_CART";(remember to backup your database first if you go for option 3)