Zen Cart Logo
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: 658,733

Results 401 to 420 of 3,609
22 Apr 2008, 8:48 PM
#401
kuroi avatar

kuroi

Totally Zenned

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

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

HGrubb:

I am having the same error. If anyone can help, I would appreciate it! I've unistalled and resintalled twice. No luck. Please help, I really need this mod.This was answered just four posts back. It cannot have anything to do with Stock by Attributes as it has neither a table of this name nor a constant defined as per the error message. You need to look at what other mods you have installed to see which should be creating this table, or start a new thread to see if anybody else knows.

26 Apr 2008, 7:19 AM
#402
tbsm avatar

tbsm

New Zenner

Join Date:
Sep 2007
Posts:
65
Plugin Contributions:
0

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

Hi there,
Just installed the mod and its all working great accept now on the site i get the following error message when logging in or any page on the site that is ssl,

Warning: include(includes/languages/english/extra_definitions/products_with_attributes.php) [function.include]: failed to open stream: No such file or directory in /home/tb/tbs/tbsm.com.au/ssl/www/includes/modules/extra_definitions.php on line 73

Warning: include() [function.include]: Failed opening 'includes/languages/english/extra_definitions/products_with_attributes.php' for inclusion (include_path='.:/usr/local/lib/php/:/home/ilisys/php/') in /home/tb/tbs/tbsm.com.au/ssl/www/includes/modules/extra_definitions.php on line 73

I have copied the files over to both servers,..
Is there something i may have missed?

26 Apr 2008, 7:31 AM
#403
uvfch avatar

uvfch

New Zenner

Join Date:
Apr 2008
Posts:
7
Plugin Contributions:
0

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

kuroi:

Neither this version of Stock by Attributes nor Zen Cart's core code have a products_stock table or define a constant TABLE_PRODUCTS_STOCKS. It looks as though you must have some code floating around from another mod. Though I'm afraid that I don't know which one it might be.

Dynamic Drop Downs for Stock by Attributes.

I got the same problem.

26 Apr 2008, 11:41 AM
#404
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

TBSM:

I have copied the files over to both servers,..
Is there something i may have missed?Do you have one of these daft hosting arrangements where you need to maintain two copies of all the files? Personally I wouldn't go near them as there's too much scope of inconsistencies and errors such as the one that you are experiencing.

I'd double check that the includes/languages/english/extra_definitions/products_with_attributes.php
file has arrived safely in both locations (especially on the https server) as the message is clearly telling you that it's missing from one of them. But if it's there in both locations, I'm afraid that I therefore don't have much to offer here as the problem is going to be very specific to your hosting set up.

26 Apr 2008, 12:12 PM
#405
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

uvfch:

Dynamic Drop Downs for Stock by Attributes.

I got the same problem.I wasn't aware of that mod, so thank you for drawing it to my attention.

However, I've downloaded it and you're right. That mod integrates classes from an osCommerce mod which contain a reference (line 87 of the pad_sequenced_dropdowns.php class) to a table that doesn't exist in Zen Cart or Stock by Attributes. This has been raised else where and hopefully the mod's author will sort it out.

28 Apr 2008, 11:27 AM
#406
tbsm avatar

tbsm

New Zenner

Join Date:
Sep 2007
Posts:
65
Plugin Contributions:
0

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

Turned out that the SSL server just takes longer to upload so it was running off cached memory. All perfect now, thankyou!!

28 Apr 2008, 12:18 PM
#407
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

TBSM:

Turned out that the SSL server just takes longer to upload so it was running off cached memory. All perfect now, thankyou!!So, not only do you have to maintain files on two servers (and keep them in sync) but the performance on one of them is so bad that changes are lagged introducing another potential point of failure. I'd be looking for a new host.

29 Apr 2008, 9:43 AM
#408
merchnation avatar

merchnation

New Zenner

Join Date:
Mar 2008
Posts:
17
Plugin Contributions:
0

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

Hi,

I've been looking through this thread and others but I have not been able to find a definitive answer for my problem,

I own a clothing site and have a lot of shirts to upload onto zencart with easy populate from a spreadsheet application. In doing so I need to control the quantities of each size for each Shirt.

Has anyone overcome this problem and if so how. Any tips or tricks will be most appreciated

Thanks!!!

1 May 2008, 12:38 AM
#409
jeffreydesign avatar

jeffreydesign

New Zenner

Join Date:
Apr 2008
Location:
Chehalis, Washington, United States
Posts:
30
Plugin Contributions:
0

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

  1. I installed the mod, and I have check each and every file (by looking at each one in its correct folder) to make sure they are there.

./admin/includes/languages/english/options_values_manager.php

./admin/options_values_manager.php

./includes/classes/order.php

./includes/modules/attributes.php

./includes/templates/template_default/templates/tpl_modules_attributes.php

( For security reasons, I have renamed my admin folder and I put the files are where they are supposed to be. Could this relate to the problem below?)

  1. I ran the SQL command: ALTER TABLE products_options_values ADD products_options_values_quantity FLOAT NOT NULL DEFAULT '0';

(if I try to run it again, it fails and says it's already there)

Why don't I have a new item on my admin/catalog ?
Why have all the dropdowns on my attributes disappeared (look at my website to see this)
What's missing here? :frusty:

I am using ZEN 1.3.8a
Mods: Cherry_Zen template, Link Manager, Credit card sidebox, Google sitemap - none of which should conflict, right?

Help!!!!

Jeff

1 May 2008, 2:55 AM
#410
jeffreydesign avatar

jeffreydesign

New Zenner

Join Date:
Apr 2008
Location:
Chehalis, Washington, United States
Posts:
30
Plugin Contributions:
0

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

To be fair, I have to admit that I didn't use THIS mod to cause all the grief I caused. I used the Attributes Separate Stock (I mitakenly downloaded that one and not THIS one) and now my site is hosed. Of course I backed it up, but when I replaced all the files I changed with originals, it's messed up worse than it is now, so I had to revert to the modded versions that doesn't show attribute options. Something happened but I don't know what. I know I added a SQL command (the one listed above) could that be what's messing me up, and can I easily undo it?

Thanks for any help on this.

Jeff

1 May 2008, 3:14 AM
#411
jeffreydesign avatar

jeffreydesign

New Zenner

Join Date:
Apr 2008
Location:
Chehalis, Washington, United States
Posts:
30
Plugin Contributions:
0

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

jeffreydesign:

To be fair, I have to admit that I didn't use THIS mod to cause all the grief I caused. I used the Attributes Separate Stock (I mitakenly downloaded that one and not THIS one) and now my site is hosed. Of course I backed it up, but when I replaced all the files I changed with originals, it's messed up worse than it is now, so I had to revert to the modded versions that doesn't show attribute options. Something happened but I don't know what. I know I added a SQL command (the one listed above) could that be what's messing me up, and can I easily undo it?

Thanks for any help on this.

Jeff

Sometimes you wish you could delete those panic posts... Anyway it turns out to be ./includes/modules/attributes.php that was the culprit. Now everything is back to sort of normal until I foul it up again.

1 May 2008, 7:46 AM
#412
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

MerchNation:

I own a clothing site and have a lot of shirts to upload onto zencart with easy populate from a spreadsheet application. In doing so I need to control the quantities of each size for each Shirt.

Has anyone overcome this problem and if so how. Any tips or tricks will be most appreciatedEasy Populate's strength is that it takes a single source of data and makes all the connections necessary to split that data between a number of database tables. However, it only knows about the tables in Zen Cart's core code, i.e. knows nothing about the table added for Stock by Attributes.

You could amend Easy Populate to add the code needed to recognize and populate it, but this seems unnecessary to me, since this mod only adds one table. You could therefore separate your attribute stock data off into a separate table, save it as a CSV file and use MySQL's built-in csv import capabilities to upload it directly.

1 May 2008, 7:48 AM
#413
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

jeffreydesign:

Sometimes you wish you could delete those panic posts... Anyway it turns out to be ./includes/modules/attributes.php that was the culprit. Now everything is back to sort of normal until I foul it up again.Hi Jeff

Sorry to hear about these problems. Glad you got to the bottom of it.

Unfortunately I don't know of a support thread for the "Attributes Separate Stock" mod. If anybody else does, maybe they could post a link here? :yes:

1 May 2008, 5:43 PM
#414
jeffreydesign avatar

jeffreydesign

New Zenner

Join Date:
Apr 2008
Location:
Chehalis, Washington, United States
Posts:
30
Plugin Contributions:
0

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

kuroi:

Hi Jeff

Sorry to hear about these problems. Glad you got to the bottom of it.

Unfortunately I don't know of a support thread for the "Attributes Separate Stock" mod. If anybody else does, maybe they could post a link here? :yes:

Thanks - I couldn't find a support thread or wiki for "Attributes Separate Stock" either. I did install Stock by Attributes and it works perfectly for my Jewelry store. :hug:

Now I have a huge inventory to update. I only wish there was an easy way to transfer the inventory qtys from one table to the other, like something that distributes the total qty evenly across all possible derivatives (since for me, that's how it is - I try to have one or two each of each style/size.) Sort of like the reverse of the sync quantity.

Thanks! Jeff

https://www.jeffreydesign.com

2 May 2008, 6:04 AM
#415
mon3 avatar

mon3

New Zenner

Join Date:
Apr 2008
Posts:
50
Plugin Contributions:
0

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

I have just installed Stock by Attribute v4.7 and was very excited to find the Catalog->Priducts with Attributes Stock tag.:clap:

I was celebrating too early though because when I clicked on this it took me to URRL: My site/admin/FILENAME_PRODUCTS_WITH_ATTRIBUTES_STOCK.php
which of course doesn't exist. I know I need to put in the filename but I have no idea which file it is referring to or how I do this.:frusty:

Please help!

2 May 2008, 11:32 AM
#416
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

Mon3:

when I clicked on this it took me to URRL: My site/admin/FILENAME_PRODUCTS_WITH_ATTRIBUTES_STOCK.php
which of course doesn't exist. I know I need to put in the filename but I have no idea which file it is referring to or how I do this.Something is wrong with your admin/includes/extra_datafiles/products_with_attributes_stock_filenames.php file.

Do you have that file on your server?

What type of server is your site hosted upon?

2 May 2008, 4:36 PM
#417
lankeeyankee avatar

lankeeyankee

Totally Zenned

Join Date:
Jan 2007
Posts:
1,514
Plugin Contributions:
1

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

I have searched the thread but I haven't found the exact answer, has the issue with checkboxes been resolved? I can't set stock levels for attributes that have checkboxes without having one of the checkboxes selected, if you see what I mean. We have many products with multiple attributes which has been a headache with stock levels in themselves. Most attributes are radio buttons and some have checkboxes as well as radio buttons and that is where my problem lies.

Thanks!

Matt

2 May 2008, 5:26 PM
#418
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

lankeeyankee:

I have searched the thread but I haven't found the exact answer, has the issue with checkboxes been resolved?The mod doesn't support checkboxes (or text fields). Most attribute types allow only one value per attribute. Checkboxes allow you to have any number which would represent a huge uplift in the mod's complexity and probably necessitate a completely different approach.

However, in most of the cases that I seen where clients wanted to mix checkboxes and stock, they were actually trying to cross sell additional products and it was possible to achieve the intended results by treating them as separate products with their own stock (as they really should have been). Though I don't know whether that would apply to your situation.

4 May 2008, 5:58 AM
#419
mon3 avatar

mon3

New Zenner

Join Date:
Apr 2008
Posts:
50
Plugin Contributions:
0

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

I have reloaded all the files and is now working fine.

Thanks

8 May 2008, 4:55 AM
#420
mb1 avatar

mb1

Totally Zenned

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

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

just upgraded to 1.38a and reinstalled stock by attribute, and now it doesn't work properly example: if i have 2 x 16oz gloves left in stock but 8 in all, anyone can order 8 16oz gloves without getting a warning, and if they go over the total amount of gloves and the warning now just stats that that there is 0 gloves available. it worked fine before the upgrade and reinstall.

any help would be great.