Page 1 of 3 123 LastLast
Results 1 to 10 of 21
  1. #1
    Join Date
    Aug 2007
    Posts
    7
    Plugin Contributions
    0

    Default My store is allowing checkout when out of stock

    Yes, another noob. I have the stock by attributes mod installed.

    I have the following settings in the stock portion of the admin:

    Check stock level true
    Subtract stock true
    Allow Checkout false
    Mark product out of stock ***
    Stock Re-order level 5
    Show available stock level in cart when less than order false
    Products status in Catalog when out of stock should be set to 1
    Show Sold Out Image in place of Add to Cart 1
    Product Quantity Decimals 0
    Show Shopping Cart - Delete Checkboxes or Delete Button 3
    Show Shopping Cart - Update Cart Button Location 3

    But when I checkout after selecting an item with more than on hand, a bright red notice says:

    Products marked with *** are out of stock or there are not enough in stock to fill your order.Please change the quantity of products marked with (***). Thank you

    In the shopping cart screen, which is cool, but zencart still allows me to press the
    goto checkout button and continue the checkout process, even though the product is out of stock.

    What am I doing wrong?

  2. #2
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: Zen Cart allows checkout when out of stock

    If you were not using the stock by attributes does it work properly?
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3
    Join Date
    Aug 2007
    Posts
    7
    Plugin Contributions
    0

    Default Re: Zen Cart allows checkout when out of stock

    Quote Originally Posted by Kim View Post
    If you were not using the stock by attributes does it work properly?
    To be honest, I don't remember. I don't know how much testing I did before I installed the stock by attributes, because the way my products work I needed it right away.

    Until I can truly prevent a checkout when an item is out of stock I can't go live

  4. #4
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: My Zen Cart is allowing checkout when out of stock

    I don't believe the attribute stock can do what you want. You may want to look through other threads about the module.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  5. #5
    Join Date
    Aug 2007
    Posts
    7
    Plugin Contributions
    0

    Default Re: My Zen Cart is allowing checkout when out of stock

    I'm not sure if it is an issue with the stock by attribute mod or not.

    Even on stock that I don't have any attributes set, when I have the flag to not allow checkout when an item is out of stock it notifies me when it is out of stock but still allows both the 'checkout' button and the paypal one to be pressed.

    Now I have no idea what to do.

  6. #6
    Join Date
    Aug 2008
    Posts
    1
    Plugin Contributions
    0

    Default Re: My Zen Cart is allowing checkout when out of stock

    This is happening to me too and is really frustrating! I didn't find this out until we had products that were paid for that don't exist! Someone please help!

  7. #7
    Join Date
    Aug 2008
    Posts
    1
    Plugin Contributions
    0

    Default Re: My Zen Cart is allowing checkout when out of stock

    Quote Originally Posted by B-Unlimited View Post
    This is happening to me too and is really frustrating! I didn't find this out until we had products that were paid for that don't exist! Someone please help!
    I have had exactly the same problem this afternoon. Have you found a solution yet?

  8. #8
    Join Date
    Dec 2008
    Location
    Edmonton, AB
    Posts
    12
    Plugin Contributions
    0

    Default Re: My Zen Cart is allowing checkout when out of stock

    I'm sorry to resurrect an old thread, but I have the exact opposite problem. I have installed the stock by attributes contribution and it WAS working perfectly. Now, even though there is stock available, it will not allow checkout.

    My settings are exactly as below. Maybe I am missing some other setting somewhere else in admin?
    Quote Originally Posted by twinstead View Post

    I have the following settings in the stock portion of the admin:

    Check stock level true
    Subtract stock true
    Allow Checkout false
    Mark product out of stock ***
    Stock Re-order level 5
    Show available stock level in cart when less than order false
    Products status in Catalog when out of stock should be set to 1
    Show Sold Out Image in place of Add to Cart 1
    Product Quantity Decimals 0
    Show Shopping Cart - Delete Checkboxes or Delete Button 3
    Show Shopping Cart - Update Cart Button Location 3

    But when I checkout after selecting an item with more than on hand, a bright red notice says:

    Products marked with *** are out of stock or there are not enough in stock to fill your order.Please change the quantity of products marked with (***). Thank you

  9. #9
    Join Date
    Mar 2010
    Posts
    5
    Plugin Contributions
    0

    Default Re: My Zen Cart is allowing checkout when out of stock

    I was able to fix this problem in my store by modifying a line in \includes\modules\pages\checkout_shipping\header_php.php. For some reason my file had:

    Code:
          if (zen_check_stock($products[$i]['id'], $products[$i]['quantity'])) {
            zen_redirect(zen_href_link(FILENAME_SHOPPING_CART));
            break;
          }
    when it needed to be:

    Code:
          if (zen_check_stock($products[$i]['id'], $products[$i]['quantity'], $attributes)) {
            zen_redirect(zen_href_link(FILENAME_SHOPPING_CART));
            break;
          }
    I hope it helps someone.

  10. #10
    Join Date
    Jan 2011
    Posts
    37
    Plugin Contributions
    0

    Default Re: My Zen Cart is allowing checkout when out of stock

    Quote Originally Posted by david_johns View Post
    I was able to fix this problem in my store by modifying a line in \includes\modules\pages\checkout_shipping\header_php.php. For some reason my file had:

    Code:
          if (zen_check_stock($products[$i]['id'], $products[$i]['quantity'])) {
            zen_redirect(zen_href_link(FILENAME_SHOPPING_CART));
            break;
          }
    when it needed to be:

    Code:
          if (zen_check_stock($products[$i]['id'], $products[$i]['quantity'], $attributes)) {
            zen_redirect(zen_href_link(FILENAME_SHOPPING_CART));
            break;
          }
    I hope it helps someone.
    Did this work for anyone? It looks like this was applied to an updated version of the mod but I am still seeing this problem. Everything else seems to be working perfectly.

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. Stock By Attributes allowing sale of out of stock items
    By kazbryan in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 15 Aug 2011, 01:21 PM
  2. Anyone can Help about checkout when with out of stock order?
    By timlo in forum Managing Customers and Orders
    Replies: 0
    Last Post: 11 Dec 2009, 12:38 PM
  3. My Zen Cart is allowing checkout even when stock not enough
    By ebaobao in forum General Questions
    Replies: 7
    Last Post: 22 Aug 2008, 11:15 PM
  4. Allowing checkout with product out of stock
    By ckosloff in forum Customization from the Admin
    Replies: 10
    Last Post: 2 Feb 2008, 09:32 PM
  5. Allowing checkout of out of stock items
    By flobster in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 24 Jan 2008, 10:51 PM

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