Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2007
    Posts
    13
    Plugin Contributions
    0

    Default Not enough stock but still able to check out?

    There is this statement in my Shopping Cart (before I click Checkout):

    Products marked with *** are out of stock or .
    Items not in stock will be placed on backorder.

    I have set my items to qty available - 1 pc,
    I try to add 3pc to cart and it shows the statement above.
    User is still able to check out and complete the order process..

    Is there anyway that I can stop the user from checking out if the stocks are not enough?

    There is this statement which i found in shopping_cart.php :

    define('OUT_OF_STOCK_CANT_CHECKOUT', 'Products marked with ' . STOCK_MARK_PRODUCT_OUT_OF_STOCK . ' are out of stock or there are not enough in stock to fill your order.<br />Please change the quantity of products marked with (' . STOCK_MARK_PRODUCT_OUT_OF_STOCK . '). Thank you');
    define('OUT_OF_STOCK_CAN_CHECKOUT', 'Products marked with ' . STOCK_MARK_PRODUCT_OUT_OF_STOCK . ' are out of stock or .<br />Items not in stock will be placed on backorder.');

    I suppose is to change some codes to like only 'OUT_OF_STOCK_CANT_CHECKOUT' or is there anything i need to change in the admin configuration?

  2. #2
    Join Date
    Feb 2007
    Posts
    32
    Plugin Contributions
    0

    Default Re: Not enough stock but still able to check out?

    Admin > Configuration > Stock

 

 

Similar Threads

  1. v150 test credit card declined but check out still completed.
    By kn2012 in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 26 Jan 2013, 01:00 AM
  2. Replies: 3
    Last Post: 7 Nov 2010, 04:31 AM
  3. Not able to check out - Pay Pal url issue
    By TornadoRed in forum PayPal Website Payments Pro support
    Replies: 15
    Last Post: 18 Nov 2008, 02:17 PM
  4. Hide stock count and not check for out of stock
    By microbe in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 12 Feb 2008, 12:08 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