Stock by Attributes

Average Rating: 2
Description
This add-on allows a store owner to set a stock value for each variant of a product. For example, if you have three sizes, large, medium and small, this module will allow you to keep track of all the different quantities. It will work for a virtually unlimited number of amount of attribute combinations. For example, if you offered cotton or polyester shirts in green, red or blue and small medium or large sizes, this add-on would allow you to enter and maintain a separate stock level for each of the 18 possible combinations.

For latest code see the Github repository link to the right.

This version is unlikely to work in versions of Zen Cart prior to 1.3.5. If you are running Zen Cart 1.2.5-1.2.7d, please use the "products_with_attributes_stock" add-on by dafonz. If you are using versions 1.3.0 - 1.3.0.2 please use "Stock Attributes by danielcor".
+ Download Latest

Forum Support Thread

Submit An Updated Version


Github Repository
Zen Cart® Versions v1.5.1
Original Author kuroi
Last Updated by potteryhouse - 13 Feb 2014
Downloads 40,551

Version History

Stock by Attributes   -   Version: 1.5.3
This version supports "Multiple-Attribute-Combinations" i.e., allows for multiple attributes for a product in the SAME Stock ROW on the SBA stock page, thus you can create custom combinations with specific quantities. It also corrects some display issues, and returns language files previously removed. See change log and Instructions.

This version should work as follows:
Product with no associated attributes, uses the quantity assigned to the product in the catalog.
Product with Attribute(s), If no attribute is created in the SBA Stock page, will use the quantity from the product catalog.
Product with Attribute(s), and attributes are created in the SBA stock page, uses the quantity from the SBA Stock page.
  + Download
Zen Cart® Versions v1.5.1
Date Added 13 Feb 2014
Author potteryhouse
File Size 1.36 MB
PHP 5.3 Safe? Unknown
Downloads 3,813
 
Stock by Attributes   -   Version: 1.5.2
This update Ports (merged) the functionality from:
http://www.zen-cart.com/downloads.php?do=file&id=1355
stock_by_attributes_1.4.13_with_my_stock_id_MOD version 1.0.2 by rhuseby.

The updated adds a unique "Item ID" (customid) for each attribute of a product, the new customid field is optional.
Switch added to allow display of the new customid field on the applicable pages.

In addition to the customid field, there are several usability enhancements and the 'legacy' folder was removed.
Instructions updated and a new SQL file (Instructions\InstallSQLcommands.txt) is provided that contains the "raw" sql commands for reference.
  + Download
Zen Cart® Versions v1.5.1
Date Added 24 Oct 2013
Author potteryhouse
File Size 1.26 MB
PHP 5.3 Safe? Unknown
Downloads 728
 
Stock by Attributes   -   Version: 1.5.1.2
Most files have been Updated, installation script completely rewritten and now located in the admin folder, ajax folder moved, and two files merged (replaced by one file). Added new users guide (found in the Instructions folder).

These changes support bug fixes, enhancing existing features and adding new features.
Please see the file Updates.txt for a list of changes and Instructions for usage details and the new functionality.
  + Download
Zen Cart® Versions v1.5.1
Date Added 3 Sep 2013
Author potteryhouse
File Size 1.41 MB
PHP 5.3 Safe? Unknown
Downloads 345
 
Stock by Attributes   -   Version: 1.5.1.1
Update for stock_by_attribute version 1.5.1, Resolves a display issue with the way the price 'strike through' was implemented and adds an option switch to turn this new display option off.
See Updates.txt and Usage.txt for more info.
  + Download
Zen Cart® Versions v1.5.1
Date Added 30 Jul 2013
Author potteryhouse
File Size 132.8 KB
PHP 5.3 Safe? Unknown
Downloads 356
 
Stock by Attributes   -   Version: 1.5.1
See files 'Updates.txt', 'Usage.txt', and 'Optional.sql' for change details.

Updated the following files to resolve bugs and to add an ability for showing option values as out of stock, attribute qty, and stock of products without attributes in cart.

File updated to support Zen Cart version 1.5.1

admin\includes\functions\general.php

File (Zen Cart version 1.5.1) added to support new functionality

includes\modules\attributes.php

File updated to fix bugs and support new functionality. Details in 'Updates.txt'

admin\includes\classes\products_with_attributes_stock.php
admin\includes\functions\general.php
includes\extra_datafiles\products_with_attributes_stock_database_tables.php
includes\languages\english\extra_definitions\products_with_attributes.php
includes\modules\attributes.php
includes\modules\pages\shopping_cart\header_php.php
includes\templates\YOUR_TEMPLATE\templates\tpl_shopping_cart_default.php
stock_by_attr_install.php
stock_by_attr_uninstall.php

New file Optional.sql, this will add entries into the new products_with_attributes_stock table based on current products that have attributes. By default it will set each of the new entries to the quantity found in the product entry.
  + Download
Zen Cart® Versions v1.5.1
Date Added 27 Jul 2013
Author potteryhouse
File Size 132.6 KB
PHP 5.3 Safe? Unknown
Downloads 175
 
Stock by Attributes   -   Version: 1.5.0
Added Install and Uninstall files

Updated files to Zen 1.50

Fixed error that caused all products appearing after an out-of-stock product to also show as out of stock

Moved all sql files to "legacy" folder (including sql upgrade for Zen 1.5)

Removed "boxes" folder and files, they are no longer used

Removed French and German language folders as they are empty
  + Download
Zen Cart® Versions v1.5.1
Date Added 3 Jan 2013
Author gonsman
File Size 120.7 KB
PHP 5.3 Safe? Yes
Downloads 1,638
 
Stock by Attributes   -   Version: 1.4.14
This update fixes an XHTML error which causes the inline editing of quantities to not get saved. Only one file affected (see readme.html).   + Download
Zen Cart® Versions v1.3.9
Date Added 9 Dec 2011
Author numinix
File Size 118.5 KB
PHP 5.3 Safe? Unknown
Downloads 3,504
 
Stock by Attributes   -   Version: 1.4.13
Fix for includes/modules/pages/shopping_cart/header_php.php   + Download
Zen Cart® Versions v1.3.9
Date Added 6 Apr 2011
Author swguy
File Size 121.0 KB
PHP 5.3 Safe? Yes
Downloads 3,058
 
Stock by Attributes   -   Version: 1.4.12
Merges with 1.3.9h and documentation cleanup. No functional changes.   + Download
Zen Cart® Versions v1.3.9
Date Added 13 Nov 2010
Author swguy
File Size 126.8 KB
PHP 5.3 Safe? Yes
Downloads 2,246
 
Stock by Attributes   -   Version: 1.4.11
- fixed bug in the stock by attribute search;
- updated core files for 1.3.9d;
  + Download
Zen Cart® Versions v1.3.9
Date Added 15 Jul 2010
Author numinix
File Size 122.5 KB
PHP 5.3 Safe? Unknown
Downloads 1,816
 
Stock by Attributes   -   Version: 1.4.10
This update fixes some obvious bugs in the module as well as adds some new features:
- fixed ability to update multiple stock attributes at once (use "save" button at top or bottom of page);
- corrected bug if using the search function before the page has loaded;
- added a "Reset" link in replace of the "View All" button;
- add a "Sort" link to auto sort all stock attributes in order of the primary attributes sort order;
- made the product's image thumbnail optional and controllable from the admin;
- automatically removes stock attributes if an attribute is removed from a product (requires manual refresh);

Note: this update includes a SQL file for updating your database to be able to control the product's image thumbnail as well as add the sort order.
  + Download
Zen Cart® Versions v1.3.8
Date Added 14 May 2010
Author numinix
File Size 121.4 KB
PHP 5.3 Safe? Unknown
Downloads 1,209
 
Stock by Attributes   -   Version: 1.4.9
*Re-Styled and re-organized the main admin display page and added a small thumbnail.

*Updated search function with a 'View All' button
  + Download
Zen Cart® Versions v1.3.8
Date Added 15 Nov 2009
Author niestudio
File Size 138.3 KB
PHP 5.3 Safe? Unknown
Downloads 2,741
 
Stock by Attributes   -   Version: 1.4.8
- added missing order class from 4.7AJAX;
- added feature to quickly resync all quantities at once;
  + Download
Zen Cart® Versions v1.3.8
Date Added 14 Oct 2009
Author numinix
File Size 94.2 KB
PHP 5.3 Safe? Unknown
Downloads 567
 
Stock by Attributes   -   Version: 4.7ajax
Amendments from 4.7 to 4.7ajax
added ajax functionality

* search filter: "%ma" filters all produchts with "ma" in products-name or in products-model; the search value will be stored in a cookie
* a click at the "quantity in stock" value adds an input-field & you can enter the new value; the store button saves all changed values
* added files in /ajax folder
* changed products_with_attributes_stock.php
* added products_with_attributes_stock_ajax.php

you can see it in action at :: http://demo.zen-cart.at/index.php?main_page=page&id=26
  + Download
Zen Cart® Versions v1.3.8
Date Added 19 Feb 2009
Author hugo13
File Size 85.4 KB
PHP 5.3 Safe? Unknown
Downloads 2,300
 
Stock by Attributes   -   Version: 4.7MULTIADD
I modified the admin/products_with_attributes_stock.php file so that you can add ALL attributes for any available attributes with a product. If you have more 1 or 2 attributes, this will be a huge time saver.

(This one includes the full fileset)
  + Download
Zen Cart® Versions v1.3.8
Date Added 3 Jun 2008
Author mcinallym
File Size 60.9 KB
PHP 5.3 Safe? Unknown
Downloads 4,376
 
Stock by Attributes   -   Version: 4.7MULTIADD
I modified the admin/products_with_attributes_stock.php file so that you can add ALL attributes for any available attributes with a product. If you have more 1 or 2 attributes, this will be a huge time saver.   + Download
Zen Cart® Versions v1.3.8
Date Added 29 May 2008
Author mcinallym
File Size 4.7 KB
PHP 5.3 Safe? Unknown
Downloads 419
 
Stock by Attributes   -   Version: 4.7
This is a maintenance release that incorporating changes made for Zen Cart 1.3.8. There are no functional enhancements.   + Download
Zen Cart® Versions v1.3.8
Date Added 2 Dec 2007
Author kuroi
File Size 69.3 KB
PHP 5.3 Safe? Unknown
Downloads 2,626
 
Stock by Attributes   -   Version: 4.6
This version of the add-on allows you to choose on a product-by-product basis whether you wish to maintain stock figures at product level or attribute level. See the readme or the wiki entry for more details.

This version is compatible with Zen Cart releases 1.3.7 and 1.3.7.1,
  + Download
Zen Cart® Versions v1.3.7
Date Added 21 Nov 2007
Author kuroi
File Size 68.1 KB
PHP 5.3 Safe? Unknown
Downloads 1,029
 
Stock by Attributes   -   Version: 4.5
Updated specifically for 1.3.7.1, this release includes the 1.3.7.1 security fixes that apply to the files changed for this mod; the readme file has been beefed up a little; and there is some other tidying at the edges, but no significant new functionality.   + Download
Zen Cart® Versions v1.3.7
Date Added 19 Sep 2007
Author kuroi
File Size 67.4 KB
PHP 5.3 Safe? Unknown
Downloads 954
 
Stock by Attributes   -   Version: 4.4
This version of stock by attributes keeps it consistent with changes made for Zen Cart 1.3.7.   + Download
Zen Cart® Versions v1.3.7
Date Added 6 Jan 2007
Author kuroi
File Size 71.7 KB
PHP 5.3 Safe? Unknown
Downloads 2,920
 
Stock by Attributes   -   Version: 4.3.1
Fixes minor bug. Not clear if it actually has any functional implications or not, but let's play it safe (my thanks to Frank for spotting it).   + Download
Zen Cart® Versions v1.3.6
Date Added 20 Nov 2006
Author kuroi
File Size 71.3 KB
PHP 5.3 Safe? Unknown
Downloads 931
 
Stock by Attributes   -   Version: 4.3
This is a maintenance release. It incorporates all changes needed to keep the 6 core Zen Cart files that are changed in line with base Zen Cart. In particular it adds in a number of security fixes that were included in Zen Cart 1.3.6.

There is also one small bug fix to eliminate a hard-coded reference to "Quantity" in English on the add variant quantity screen.
  + Download
Zen Cart® Versions v1.3.6
Date Added 18 Nov 2006
Author kuroi
File Size 71.2 KB
PHP 5.3 Safe? Unknown
Downloads 494
 
Stock by Attributes   -   Version: 4.2
This is a maintenance release. It fixes one bug introduced with version 4.0 and one carried forward from earlier variants and improves alignment on the stock page. There's a brief explanation on the mod's wiki page and the readme file included in the release package.   + Download
Zen Cart® Versions v1.3.5
Date Added 15 Oct 2006
Author kuroi
File Size 70.7 KB
PHP 5.3 Safe? Unknown
Downloads 912
 
Stock by Attributes   -   Version: 4.1
V4.1 adds in two Zen CArt 1.3.5 bug fixes, removes a diagnostic line and makes a syntactic correction to the SQL file.   + Download
Zen Cart® Versions v1.3.5
Date Added 25 Sep 2006
Author kuroi
File Size 69.1 KB
PHP 5.3 Safe? Unknown
Downloads 791
 
Stock by Attributes   -   Version: 4.0
This add-on allows a store owner to set a stock value for each variant of a product. For example, if you have three sizes, large, medium and small, this module will allow you to keep track of all the different quantities. It will work for a virtually unlimited number of amount of attribute combinations. For example, if you offered cotton or polyester shirts in green, red or blue and small medium or large sizes, this add-on would allow you to enter and maintain a separate stock level for each of the 18 possible combinations.

This version is unlikely to work in versions of Zen Cart prior to 1.3.5. If you are running Zen Cart 1.2.5-1.2.7d, please use the "products_with_attributes_stock" add-on by dafonz. If you are using versions 1.3.0 - 1.3.0.2 please use "Stock Attributes by danielcor".
  + Download
Zen Cart® Versions
Date Added 24 Sep 2006
Author kuroi
File Size 70.2 KB
PHP 5.3 Safe? Unknown
Downloads 603
 


disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR