Results 1 to 10 of 1125

Hybrid View

  1. #1
    Join Date
    Apr 2008
    Posts
    446
    Plugin Contributions
    1

    Default Re: Stocks by attributes

    Hello everyone.

    I've being running into a problem with this mod, no matter which version I'm using and I can't figure out how to fix it.

    My zencart installation 1.3.8a
    This mod version 1.4.9 (4.9) the last new on the list.

    Whenever I add more than one attribute and add the quantities, the drop down menus in the store reflect multiple choices of the first attribute and the correct one on the second attribute. Maybe I didn't explain correctly so here this is what is happening http://www.byvalenti.com/index.php?m...products_id=16

    The problem is on the first drop down menu as it displays 10 times the same option (one for each one of the options).

    Has anyone ran into a similar problem? any fix for this?

    Thanks!
    M.Valenti
    Contemporary Artist - Entrepreneur
    http://www.manuelavalenti.com - http://www.byvalenti.com

  2. #2
    Join Date
    Nov 2008
    Posts
    38
    Plugin Contributions
    0

    Default Re: Stocks by attributes

    Quote Originally Posted by mvstudio View Post
    Hello everyone.

    I've being running into a problem with this mod, no matter which version I'm using and I can't figure out how to fix it.

    My zencart installation 1.3.8a
    This mod version 1.4.9 (4.9) the last new on the list.

    Whenever I add more than one attribute and add the quantities, the drop down menus in the store reflect multiple choices of the first attribute and the correct one on the second attribute. Maybe I didn't explain correctly so here this is what is happening http://www.byvalenti.com/index.php?m...products_id=16

    The problem is on the first drop down menu as it displays 10 times the same option (one for each one of the options).

    Has anyone ran into a similar problem? any fix for this?

    Thanks!

    I have a similar issue. I'm trying 2 drop down menus on a page. One using product stock w/ attributes, the other w/o. If I don't assign a quantity to the dropdown value, my box is empty. If I go into Product Stock w/ Attribs and give the value a quantity, I get an error about "Warning: Cannot modify header information - headers already sent by.... includes/functions/general.php on line 21". I click back, it says product updated and shows the same value duplicated. Example here:
    http://guardianangelsocietysyr.org/z...b4923c5fbee289 Anyone have ideas?

  3. #3
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Stocks by attributes

    Hi folks.. Haven't tested the latest SBA version.. Sounds like it too has issues..

    So let me say what I have consistently said in this and the other SBA support thread.. I ONLY use the version created by Kuroi.. EVERY SINGLE VERSION released after Kuroi's version is close but no cigar IMHO. If you look through this support thread, you will see that CONSISTENTLY the problems with SBA all relate to versions other than the one created by Kuroi..

    My advice?? Rollback to the Kuroi version.. Unless someone (like the author of the latest version) steps in to help..

    Quote Originally Posted by mvstudio View Post
    Hello everyone.

    I've being running into a problem with this mod, no matter which version I'm using and I can't figure out how to fix it.

    My zencart installation 1.3.8a
    This mod version 1.4.9 (4.9) the last new on the list.

    Whenever I add more than one attribute and add the quantities, the drop down menus in the store reflect multiple choices of the first attribute and the correct one on the second attribute. Maybe I didn't explain correctly so here this is what is happening http://www.byvalenti.com/index.php?m...products_id=16

    The problem is on the first drop down menu as it displays 10 times the same option (one for each one of the options).

    Has anyone ran into a similar problem? any fix for this?

    Thanks!
    Quote Originally Posted by valvoj View Post
    I have a similar issue. I'm trying 2 drop down menus on a page. One using product stock w/ attributes, the other w/o. If I don't assign a quantity to the dropdown value, my box is empty. If I go into Product Stock w/ Attribs and give the value a quantity, I get an error about "Warning: Cannot modify header information - headers already sent by.... includes/functions/general.php on line 21". I click back, it says product updated and shows the same value duplicated. Example here:
    http://guardianangelsocietysyr.org/z...b4923c5fbee289 Anyone have ideas?

  4. #4
    Join Date
    Aug 2008
    Posts
    138
    Plugin Contributions
    0

    Default Re: Stocks by attributes

    Sorry if I've double posted this on v4.0 + here.. I don't see the difference between those two..

    Is it possible to set a "global" stock for each attribute?

    Let's say I have 3 main products (Napkins).

    All 3 main products have 3 attributes (smaller napkins).

    To sell more, I want to make packages of napkins.
    Main napkin + smaller napkin

    So the main products:
    Napkin Red
    Napkin Blue
    Napkin Green

    can all be ordered with the same attributes:
    Smaller Napkin - Yellow
    Smaller Napkin - Purple
    Smaller Napkin - Black

    My Problem:
    When someone order main Red Napkins, with Smaller Yellow Napkins as an attribute. I want the "Smaller Yellow Napkin" to be subtracted in stock on all the main products having the Yellow-Napkin attribute.

    Did anyone understand this?
    And is it possible?

    Anyways - thanks for a great mod! It works perfectly well on my other products, having separate attributes..

  5. #5
    Join Date
    Aug 2008
    Posts
    244
    Plugin Contributions
    0

    Default Re: Stocks by attributes

    How do you uninstall the SQL for this mod...? I've tried everything to try and get my totals to update when items are added to the cart but just can't get it to work.

    Tried every single version of the mod, every suggestion, everything, so i'm gonna have one last crack but when i completely put the files back to the original state the cart won't show because of the SQL patch.

    How do i uninstall the patch. The patch is the one from version 1.4.7ajax.

    Any help is much appreciated.

  6. #6
    Join Date
    Oct 2005
    Location
    Eastern US
    Posts
    488
    Plugin Contributions
    0

    Default Re: Stocks by attributes

    Quote Originally Posted by Gomlers View Post
    Sorry if I've double posted this on v4.0 + here.. I don't see the difference between those two..

    Is it possible to set a "global" stock for each attribute?

    Let's say I have 3 main products (Napkins).

    All 3 main products have 3 attributes (smaller napkins).

    To sell more, I want to make packages of napkins.
    Main napkin + smaller napkin

    So the main products:
    Napkin Red
    Napkin Blue
    Napkin Green

    can all be ordered with the same attributes:
    Smaller Napkin - Yellow
    Smaller Napkin - Purple
    Smaller Napkin - Black

    My Problem:
    When someone order main Red Napkins, with Smaller Yellow Napkins as an attribute. I want the "Smaller Yellow Napkin" to be subtracted in stock on all the main products having the Yellow-Napkin attribute.

    Did anyone understand this?
    And is it possible?

    Anyways - thanks for a great mod! It works perfectly well on my other products, having separate attributes..
    In my experience, this mod cannot do that. That is not to say there isn't another mod out there that may accomplish that, but I do not personally know of one.

  7. #7
    Join Date
    Apr 2008
    Posts
    446
    Plugin Contributions
    1

    Default Re: Stocks by attributes

    Well, after months, I did, or I think I did. I have the latest version (http://www.zen-cart.com/index.php?ma...roducts_id=310) it says is by The Software Guy but the instructions are by Kuroi (so confused now!) and I'm still having the same problem. With multiple attributes I get a load of options on the product page (this particular one http://www.byvalenti.com/index.php?m...r_of_uploads=0), so much that it crashed when I tried to set products with attributes stock. All the options multiply exponentially by the number of attributes each option has. For example, "Cello Bag / 1 Raffia Ribbon" appears numerous times instead of once, and the same happens with each and everyone one of the options as per combinations there are. Has anyone any idea what is happening here?

    Thanks!

    Quote Originally Posted by DivaVocals View Post
    Hi folks.. Haven't tested the latest SBA version.. Sounds like it too has issues..

    So let me say what I have consistently said in this and the other SBA support thread.. I ONLY use the version created by Kuroi.. EVERY SINGLE VERSION released after Kuroi's version is close but no cigar IMHO. If you look through this support thread, you will see that CONSISTENTLY the problems with SBA all relate to versions other than the one created by Kuroi..

    My advice?? Rollback to the Kuroi version.. Unless someone (like the author of the latest version) steps in to help..
    M.Valenti
    Contemporary Artist - Entrepreneur
    http://www.manuelavalenti.com - http://www.byvalenti.com

  8. #8
    Join Date
    Nov 2010
    Posts
    7
    Plugin Contributions
    0

    Default Re: Stocks by attributes

    OK new guy to Zen-cart here and have been setting up and having fun for a little over a week. I have found all I need in the FAQ's and fine posts here in this forum. Awesome all!

    Now I want to add this add-on and based on reading this thread and it seems for me to at least for now start with Kuroi's 4.7 package. I am running ZC 1.3.9h.

    HOWEVER... I am confused about installation?

    Does this package not support overrides?
    I understand there are NO ADMIN overrides but the INCLUDES install baffles me. To now, I have used overrides for everything I have done so far PER the recommendations here. I again understand for the admin you will be replacing core files.

    The instructions that come with the install of this ABS package seem old and or incorrect?

    The README.HTML says this:
    Prepare the package for upload to your server by renaming the following folders to match your template name: includes/modules/YOUR_TEMPLATE and includes/templates/YOUR_TEMPLATE.
    HUH? Modules? Shouldn't this be includes/templates/YOUR_TEMPLATE_NAME/templates/YOUR_TEMPLATE_NAME ???

    OK then the other directories in includes with this package. Are you really replacing core files or should they be put in overrides?
    For instance the instructions say this:
    There are six core Zen Cart files modified by this add-on. If you have installed other add-ons or customized your cart since your Zen Cart installation or upgrade, you will need to check whether they have changed any of the following files:
    病dmin/includes/stylesheet.css
    病dmin/orders.php
    品ncludes/classes/order.php
    品ncludes/functions/functions_lookups.php
    品ncludes/modules/pages/checkout_shipping/header_php.php
    品ncludes/modules/pages/shopping_cart/header_php.php
    I understand I WILL be replacing the admin files but shouldn't the others be like:
    includes/modules/YOUR_TEMPLATE_NAME/ ????
    includes/functions/YOUR_TEMPLATE_NAME/
    and so on?

    So for instance the PAGES directory. Am I support to REPLACE the 2 CORE directories "checkout_shipping" and "shopping cart" or should I be doing this:
    includes/modules/YOUR_TEMPLATE_NAME/pages/checkout_shipping etc??

    I am good at backing up before making changes, etc. I installed one of the other packages (the filter 1.6 or something like that) and the admin pages worked but checkout did not. Again I read Kuroi's package is most stable so I backed out everything and am planning to try this one BUT, this time I want to make sure to put the files in the proper place. Overrides or not? That is the question ;)

    Thanks much!
    Bob

  9. #9
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Stocks by attributes

    Quote Originally Posted by finless View Post
    HOWEVER... I am confused about installation?

    Does this package not support overrides?
    I understand there are NO ADMIN overrides but the INCLUDES install baffles me. To now, I have used overrides for everything I have done so far PER the recommendations here. I again understand for the admin you will be replacing core files.

    The instructions that come with the install of this ABS package seem old and or incorrect?
    These instructions are not old or incorrect at all. Kuroi is one of the most experienced guys around here, and his install instructions for 4.7 version of SBA - Stocks by Attributes (Not ABS) are absolutely spot on and indeed using the Zen Cart overrides system correctly.


    Quote Originally Posted by finless View Post
    The README.HTML says this:
    Prepare the package for upload to your server by renaming the following folders to match your template name: includes/modules/YOUR_TEMPLATE and includes/templates/YOUR_TEMPLATE.
    HUH? Modules? Shouldn't this be includes/templates/YOUR_TEMPLATE_NAME/templates/YOUR_TEMPLATE_NAME ???
    Short answer is no. Follow the instructions and rename all the YOUR_TEMPLATE folders in the SBA install package to match your template's folder name. If you are using ver 4.7, these files are from an older version of Zen Cart. So you will need to make sure they include not only the required SBA code, but all the latest updates for these files (if there are any) from the latest Zen Cart version.


    Quote Originally Posted by finless View Post
    OK then the other directories in includes with this package. Are you really replacing core files or should they be put in overrides?
    For instance the instructions say this:
    There are six core Zen Cart files modified by this add-on. If you have installed other add-ons or customized 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.php
    I understand I WILL be replacing the admin files but shouldn't the others be like:
    includes/modules/YOUR_TEMPLATE_NAME/ ????
    includes/functions/YOUR_TEMPLATE_NAME/
    and so on?

    So for instance the PAGES directory. Am I support to REPLACE the 2 CORE directories "checkout_shipping" and "shopping cart" or should I be doing this:
    includes/modules/YOUR_TEMPLATE_NAME/pages/checkout_shipping etc??
    Again, the short answer is no.. The instructions are correct.. The files listed here are not part of the Zen Cart override system and as such they must be overwritten by the files in the install package (as indicated in the instructions). Again, if you are using ver 4.7, these files are from an older version of Zen Cart. So you will need to make sure they include not only the required SBA code, but all the latest updates for these files (if there are any) from the latest Zen Cart version.
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  10. #10
    Join Date
    Nov 2010
    Posts
    7
    Plugin Contributions
    0

    Default Re: Stocks by attributes

    Thanks for the reply. So I have to hand edit the ZC 1.3.9h files and by hand add the code from the SBA 4.7 replacement files? (I meant SBA last time not ABS it was a typo). There is no update to 4.7 you recommend I go with instead?

    I follow you on the second part that some files are not part of the ZC overrides. I just assumed that anything in the includes folder could use overrides.

    This override structure picture in the FAQ led me to believe that some of these directories like includes/modules/ could use overrides for anything in it?

    http://www.zen-cart.com/index.php?ma...98&update_id=2

    Thanks,
    Bob

 

 

Similar Threads

  1. v139h Stocks of certain products disappearing automatically
    By Lowwi in forum General Questions
    Replies: 4
    Last Post: 11 Aug 2015, 09:09 PM
  2. Installing Stocks by Attribute
    By dragon03kf in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 26 Oct 2008, 07:42 PM
  3. Stocks by attributes
    By hcd888 in forum General Questions
    Replies: 1
    Last Post: 12 May 2008, 08:52 AM
  4. Multiple stocks per product
    By jaycode in forum General Questions
    Replies: 4
    Last Post: 5 Aug 2007, 11:55 AM
  5. Products with attribute stocks
    By Svanis in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 5 Jul 2006, 03:19 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg