Page 93 of 113 FirstFirst ... 43839192939495103 ... LastLast
Results 921 to 930 of 1125
  1. #921

    Default Re: Stocks by attributes

    Hi, I'm using this addon with version 1.3.8a. I have installed this addon on my live site along with the product attribute grid. It works wonderfully. However, I have started on my local machine to change the template and a few other things. In re-adding these modules back in, when you add some of my products to the cart it's coming up as out of stock.

    I added the products to the catalog with current stock.
    I assigned them attributes.
    I went to the attribute manager and added each stock per attribute.

    I'm at a loss as to why only 2 out of the 5 products I have there so far are coming up as out of stock in the shopping cart. I have deleted the products and re-added them thinking I may have done something wrong, but this did not fix it. I then deleted the attribute variants and checked....you can add it to the cart fine. However when I reassign the variants...I get the out of stock warning again. There are 3 in stock: 1 petite, 1 regular, 1 long.

    I've tried some searching but my search terms turn up way too many results to sift through. Any help with this would be greatly appreciated.

  2. #922
    Join Date
    Dec 2008
    Posts
    65
    Plugin Contributions
    0

    Default Re: Stocks by attributes

    Hi All

    I'm currently installing this mod into a test 139c store and so far managed to merge all the files using the methods in this forum. However one file is causing a problem.

    includes/functions/functions_lookups.php

    If I merge the mod code which is different into the core file, it causes the store to white screen (backend it OK still)
    The core 139c file seems to work OK.

    What have other people done for this file?

    Thanks

    Natty

  3. #923
    Join Date
    Feb 2008
    Posts
    529
    Plugin Contributions
    0

    Default Re: Stocks by attributes

    Natty wrote:
    ...includes/functions/functions_lookups.php

    If I merge the mod code which is different into the core file, it causes the store to white screen (backend it OK still)
    The core 139c file seems to work OK.

    What have other people done for this file?
    I first compared the Stock by Attributes file to the core file of 1.3.8a and made note of what would have needed merging in that circumstance.

    Then I merged only those bits of code that 'would have been merged' in 1.3.8a, in 1.3.9c, ignoring any other differences in the latter - those differences being the update in zc code.

    (The merge consisted of two lines of code being commented out in 1.3.9c, and two large-ish blocks of code added from S by A.)

    No blank page. No problems.

  4. #924
    Join Date
    Dec 2008
    Posts
    65
    Plugin Contributions
    0

    Default Re: Stocks by attributes

    Thanks for the tip, we will try this today and update the forum.

    Natty

  5. #925

    Default Re: Stocks by attributes

    Quote Originally Posted by FunkyPapa View Post
    Hi, I'm using this addon with version 1.3.8a. I have installed this addon on my live site along with the product attribute grid. It works wonderfully. However, I have started on my local machine to change the template and a few other things. In re-adding these modules back in, when you add some of my products to the cart it's coming up as out of stock.

    I added the products to the catalog with current stock.
    I assigned them attributes.
    I went to the attribute manager and added each stock per attribute.

    I'm at a loss as to why only 2 out of the 5 products I have there so far are coming up as out of stock in the shopping cart. I have deleted the products and re-added them thinking I may have done something wrong, but this did not fix it. I then deleted the attribute variants and checked....you can add it to the cart fine. However when I reassign the variants...I get the out of stock warning again. There are 3 in stock: 1 petite, 1 regular, 1 long.

    I've tried some searching but my search terms turn up way too many results to sift through. Any help with this would be greatly appreciated.
    I upgraded to 1.3.9c and reinstalled these addons. This is no longer an issue.

  6. #926
    Join Date
    Sep 2007
    Posts
    24
    Plugin Contributions
    0

    Default Re: Stocks by attributes

    Quote Originally Posted by creinold View Post
    I posted my file edits that work with 1.3.9C here:

    http://www.zen-cart.com/forum/showpo...&postcount=215
    Thanks for posting these. Please note: at least 2 files are missing:

    MISSING FILES
    /admin/products_with_attributes_stock.php
    /admin/products_with_attributes_stock_ajax.php


    Also, I noted that you did not include this file, either:
    /admin/orders.php

    ...Which I updated with these lines using WinMerge:

    Code:
    // kuroi: SbA
              $option_name_array = explode(":", $order->products[$i]['attributes'][$j]['option']);
              $option_Name = $option_name_array[0];
    // end: sbA
    My only question concerning this file is maybe this isn't necessary, since perhaps I was using a different version of SbA? I can provide my version of the /admin/orders.php if this would be helpful.

    Finally, we're now on version 1.3.9d. Looking at the dates of the files in this release, it looks like this file has been updated:

    /includes/classes/order.php

    I used WinMerge to update the latest version of this file with the SbA code as well (easy).

    Thanks!

  7. #927
    Join Date
    Sep 2007
    Posts
    24
    Plugin Contributions
    0

    Default Re: Stocks by attributes

    I updated creinold's file set with the missing files. You can download it here.

    I make no guarantees, but it seems to be working just fine with my web store (http://tlca.org/webstore).

    Hope this is helpful.

  8. #928
    Join Date
    Sep 2008
    Location
    North Highlands, California 95660
    Posts
    286
    Plugin Contributions
    1

    Default Re: Stocks by attributes

    Thanks I updated my fileset also. =)

    Should I submit the file set to zen-cart to added to the contribution area?

    Charles

  9. #929
    Join Date
    Sep 2008
    Location
    North Highlands, California 95660
    Posts
    286
    Plugin Contributions
    1

    Default Re: Stocks by attributes

    Link to updated file set for Stock by Attributes
    http://www.gotleather.com/Stock_by_A...nold_files.zip

    Should I add the Dynamic Drop Down mod to it also?

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

    Default Re: Stocks by attributes

    Quote Originally Posted by creinold View Post
    Link to updated file set for Stock by Attributes
    http://www.gotleather.com/Stock_by_A...nold_files.zip

    Should I add the Dynamic Drop Down mod to it also?
    Only if you have finally got Dynamic Dropdowns to work FULLY.. IMO this mod (Dynamic Dropdowns) only half works..
    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.

 

 
Page 93 of 113 FirstFirst ... 43839192939495103 ... LastLast

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

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR