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,734

Results 301 to 320 of 3,609
21 Nov 2007, 6:35 PM
#301
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

Big_Woody:

Sounds interesting ... where do i get this new version its not on the download page ?It's in the downloads queue awaiting approval.

21 Nov 2007, 6:39 PM
#302
big_woody avatar

big_woody

New Zenner

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

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

kuroi:

Hi Big_Woody

I may finally have an answer for you, though you will have to work out if it will work for you. Version 4.6 of Stock by Attribute allows you to decide for each individual product whether stock will be managed at product level or attribute level.

In the above case this would mean that you could have stock by attributes installed, but not create stock records for any of the attributes you listed above. This would mean that you would enter the product quantity for the deck as 1 and that's what would be used for calculating stock at checkout.

This does however, assume that you would always have tape available, but since you need tape for all your options, that doesn't seem unreasonable.

kuroi:

It's in the downloads queue awaiting approval.

Thanks, how long does it take to clear ?
eager to try it :)

24 Nov 2007, 7:49 PM
#303
elleart avatar

elleart

New Zenner

Join Date:
May 2007
Posts:
16
Plugin Contributions:
0

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

Please don't laugh at me for asking this - I've been searching everywhere and can't find an answer.

I want to download this add-on but where do I download it to? I can't find any info on where I should save this to.

Thanks for any help.

25 Nov 2007, 2:10 PM
#304
elleart avatar

elleart

New Zenner

Join Date:
May 2007
Posts:
16
Plugin Contributions:
0

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

OK Ignore my above post - I manage to get the file installed but....

I'm really struggling here and have spent about 6 hours searching posts and wiki but I'm getting more and more confused about things. I'm having the same problem as a lot of other people but I still can't find a solution. The problem is I have a particular bead available in 4 colours. I've been able to set the attribute stock levels but if I have 4 aqua and 10 of the other 3 colours it is still possible to order 6 aqua.

There's so much information on the instructions and I don't know which bits are relevant to the versions I'm using. For example I've seen things about 'merging' and 'check if any of the files have changed' - how do I know?

So please please help me because I've wasted so much time that I don't have, I don't understand what I need to do so if anybody can help can you tell me in really simple easy to understand instructions and walk me through exactly what I need to do and maybe even how?

My version of Zen Cart is: 4.4.6 and I downloaded what I presume is the most recent version of this add-on.

25 Nov 2007, 3:26 PM
#305
elleart avatar

elleart

New Zenner

Join Date:
May 2007
Posts:
16
Plugin Contributions:
0

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

Kuroi, I can't PM you any more as your message box is full. Hope you see this

25 Nov 2007, 4:26 PM
#306
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

Mod allowing checkout when there's insufficient stock, even when the Admin Settings say not to.

ElleArt:

The problem is I have a particular bead available in 4 colours. I've been able to set the attribute stock levels but if I have 4 aqua and 10 of the other 3 colours it is still possible to order 6 aqua.That would be this bead I think. The problem has been dealt with and is gone.

As Ellie observes, quite a few people have complained about this problem and so I have recently gone behind a few of their sites to look into this. In every case the issue has proven to be that not all the files needed by the mod had been installed.

The quick test for other people having this problem is to download the includes/classes/order.php file from their site. If line 8 doesn't say something like the line below then there is a problem with the installation.> * @version $Id: order.php 0000 2007-09-19 00:00:00Z kuroi $

This is most likely due to a problem with the way in which the files are being FTP'd. Most likely because it involves overwriting some existing Zen Cart files and your FTP client may need you to confirm that you wish to do this. It's even possible that some FTP clients assume that the mod's files with an earlier timestamp than a later Zen Cart installation are less current than the files already there and just ignore the older but vital files.

However, whatever the reason, anybody else tempted to post on this problem should first check that they have the correct version of the above file installed on their site.

26 Nov 2007, 4:17 PM
#307
robbyn7 avatar

robbyn7

Zen Follower

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

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

The issue I'm having is I have to manually reduce the quantity in stock when an order is placed. I thought this was done automatically by this Mod? Am I missing something?
I'm using Zencart vs.1.37. I installed the Products with Attributes Stock Mod on 04/07.

Here is my setup in Admin:
Check Stock Level = True
Subtract Stock = True
Allow Checkout = False

Should I update to the latest Mod submitted?

Thanks for any help?

26 Nov 2007, 5:12 PM
#308
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

Robbyn7:

The issue I'm having is I have to manually reduce the quantity in stock when an order is placed. I thought this was done automatically by this Mod? Am I missing something?
I'm using Zencart vs.1.37. I installed the Products with Attributes Stock Mod on 04/07.
...
Should I update to the latest Mod submitted?Sounds like a different description of the installation issue referred to in post #308. You may as well install the latest version (just copy the files over, no database changes needed) as it offers you an additional option with no downside, and I suspect that you will need to re-install the files anyway.

29 Nov 2007, 4:36 AM
#309
rogerh avatar

rogerh

New Zenner

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

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

Issues with the stock tracking...

Rather than deducting from the attribute (let’s say, 1 pink dress in size 10) when you put an item in the shopping cart, it deducts from the total product quantity. So, if I have 10 dresses in stock, and only one is pink, size 10, it will let the person put 11 dresses in their cart (all pink, size 10) before giving the out of stock message!

We created a new product, just to make sure something funky didn’t happen with the export that caused the products and attributes to not link up properly – same issue with the new product.

There must be a “switch” somewhere to tell the system to allow the attributes to deduct the stock totals, but we have looked all over and can’t find it!

29 Nov 2007, 7:09 AM
#310
robbyn7 avatar

robbyn7

Zen Follower

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

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

kuroi:

Sounds like a different description of the installation issue referred to in post #308. You may as well install the latest version (just copy the files over, no database changes needed) as it offers you an additional option with no downside, and I suspect that you will need to re-install the files anyway.

Hi Kuroi,
I re-installed the files as you suggested and it's now subtracting the stock but I noticed after deleting an order, I checked the box to add the item back to stock but it didn't. Oh well, no biggie. Just glad it's working. :clap:

Thanks for all your help.

1 Dec 2007, 12:18 PM
#311
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

rogerh:

Issues with the stock tracking...

Rather than deducting from the attribute (let’s say, 1 pink dress in size 10) when you put an item in the shopping cart, it deducts from the total product quantity. So, if I have 10 dresses in stock, and only one is pink, size 10, it will let the person put 11 dresses in their cart (all pink, size 10) before giving the out of stock message!

We created a new product, just to make sure something funky didn’t happen with the export that caused the products and attributes to not link up properly – same issue with the new product.

There must be a “switch” somewhere to tell the system to allow the attributes to deduct the stock totals, but we have looked all over and can’t find it!Do you have Admin > Configuration > Stock > Subtract Stock set to "true"? If so, what is the outcome of the check explained in post #308 earlier in this thread?

1 Dec 2007, 12:19 PM
#312
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

Robbyn7:

I noticed after deleting an order, I checked the box to add the item back to stock but it didn't.This is true. There is no automatic stock replenishment for deleted orders.

1 Dec 2007, 9:44 PM
#313
rogerh avatar

rogerh

New Zenner

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

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

kuroi:

Do you have Admin > Configuration > Stock > Subtract Stock set to "true"? If so, what is the outcome of the check explained in post #308 earlier in this thread?

the admin setting is set to true...

Line 8 of the includes/classes/order.php is

  • @version $Id: order.php 0000 2007-09-19 00:00:00Z kuroi $

I also reloaded all the files for this version 4_5.

Still no change in the issue.
Here is a link to the dev site:
http://ffdev4.net/

Thanks for your attention to this!

1 Dec 2007, 10:52 PM
#314
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

@rogerh

Could you tell me which product it is, how much stock you have set for each product variant and set "Show stock when low" to true.

2 Dec 2007, 3:54 AM
#315
rogerh avatar

rogerh

New Zenner

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

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

http://ffdev4.net/index.php?main_page=product_info&cPath=21_26&products_id=4
85
I have two in stock in size 80, and one in size 86. As you will see, you can
buy 2, and even 3, in size 86 (which should show out of stock at 2), but
when you add the 4th, it finally shows out of stock.

Every single product that has more than one (which is pretty much the whole
site minus just a few) is calculating stock this way.

Show available stock in cart when less than order is set to true (I think
that was the setting you were referring to?)

2 Dec 2007, 11:46 PM
#316
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

Version 4.7 of Stock by Attributes is release for Zen Cart 1.3.8. Please don't try to use it on earlier versions of Zen Cart, it will probably fail.

There are no functional changes. It's simply a maintenance mod that incorporates the 1.3.8 changes into this mod's versions of core Zen Cart files that it over-writes or over-rides.

3 Dec 2007, 1:52 PM
#317
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

rogerh:

Every single product that has more than one (which is pretty much the whole site minus just a few) is calculating stock this way.The source of the problem on your site is the extra step that you have added to the installation process, i.e. make a copy of the file being over-written.

While this is not a bad thing to do in principle (though personally I prefer to keep a copy of the whole Zen Cart release package handy) I would strongly advise against ever mixing them in with your live files.

What has happened on your site is that first the new files from the stock by attributes mod get executed and work perfectly. And then your back up files get executed and over-write the stock by attributes results.

3 Dec 2007, 2:40 PM
#318
saman avatar

saman

New Zenner

Join Date:
Feb 2007
Posts:
63
Plugin Contributions:
0

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

hi,

I am trying to install the great add-on you made; Stock by Attributes . http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=310

version 4.6

in the readme file there is a point regarding installing file;

There are six core Zen Cart files modified by this add-on. If you have installed other add-ons or customised your cart since your Zen Cart installation or upgrade, you will need to check whether they have changed any of the following files:

  • admin/includes/stylesheet.css
  • admin/orders.php
  • includes/classes/order.php
  • includes/functions/functions_lookups.php
  • includes/modules/pages/checkout_shipping/header_php.php
  • includes/modules/pages/shopping_cart/header_php.phpIn addition, one file is over-ridden
  • includes/templates/template_default/templates/tpl_shopping_cart_default.phpMy webshop is already online with products and customers etc. so i guess its not a new installation. btw, i am running 1.3.7.1 .

I wanted to upload the above mentioned files with my flashfxp, should i override the current files or not?
like for example: admin/orders.php , should i override this orders.php file with the one already exist? if not what should i do? i really want to install this module but unfortunatly i do not have enough knowledge to merge the files or do anything with them...:dontgetit i am learning everyday!

looking forard for your reply

Thanks in advance

Saman-

3 Dec 2007, 4:02 PM
#319
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

saman:

I wanted to upload the above mentioned files with my flashfxp, should i override the current files or not?
like for example: admin/orders.php , should i override this orders.php file with the one already exist? if not what should i do?Hi saman

Most of the files that you listed cannot be over-ridden - they can only be over-written.

Whether or not you should do this would depend upon whether you have installed other mods that have already changed them. Only you can answer that.

If you have, then your only options are to uninstall the other mods in favor of this one, merge the files together, or employ somebody (maybe from the Commercial Help Wanted forum) to do the job for you.

4 Dec 2007, 3:09 AM
#320
rogerh avatar

rogerh

New Zenner

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

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

kuroi:

The source of the problem on your site is the extra step that you have added to the installation process, i.e. make a copy of the file being over-written.

While this is not a bad thing to do in principle (though personally I prefer to keep a copy of the whole Zen Cart release package handy) I would strongly advise against ever mixing them in with your live files.

What has happened on your site is that first the new files from the stock by attributes mod get executed and work perfectly. And then your back up files get executed and over-write the stock by attributes results.

You lost me here... what "extra step"? Backup files? Oh, do you mean the ones I have named "OLD"? I don't understand how those are being executed.
Thanks for any further clarification you can give.