Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14
  1. #11
    Join Date
    Mar 2023
    Location
    Vista CA USA
    Posts
    18
    Plugin Contributions
    0

    Default Re: Can Zen Cart shopping cart "reserve" store items for fixed amount of time?

    Quote Originally Posted by balihr View Post
    .Product status was changed to 0, quantity is -1.
    Decrement needs to fail if inventory is zero, and return a failure code as well.

  2. #12
    Join Date
    Oct 2008
    Location
    Croatia
    Posts
    1,617
    Plugin Contributions
    19

    Default Re: Can Zen Cart shopping cart "reserve" store items for fixed amount of time?

    Quote Originally Posted by Hermitian View Post
    Decrement needs to fail if inventory is zero, and return a failure code as well.
    It usually does and if customer_2 was on any other page except checkout_confirmation (final step before placing the order), they'd be redirected to the shopping_cart page with a notice the product is currently out of stock. IMO, it's just the existing stock check logic that should be added to the checkout_process module that runs just before the order is created.

  3. #13
    Join Date
    Mar 2023
    Location
    Vista CA USA
    Posts
    18
    Plugin Contributions
    0

    Default Re: Can Zen Cart shopping cart "reserve" store items for fixed amount of time?

    20 years ago I wrote an entire store from scratch in Perl + SQL. I just don't have time to do it again and maintain it in PHP.

  4. #14
    Join Date
    Mar 2023
    Location
    Vista CA USA
    Posts
    18
    Plugin Contributions
    0

    Default Re: Can Zen Cart shopping cart "reserve" store items for fixed amount of time?

    Quote Originally Posted by swguy View Post
    There are a lot of checks
    As you're probably aware, checks aren't enough. You need SQL or some other gateway to negotiate access to the inventory data.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 2
    Last Post: 8 Apr 2015, 08:24 PM
  2. Replies: 5
    Last Post: 21 Apr 2013, 11:37 PM
  3. Shopping cart - trying to turn off "Total Items" "Weight" and "Price"
    By deshojo in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 4 Apr 2011, 07:15 PM
  4. Bullet "Amount -" under each item in shopping cart...
    By laurenelaine_21 in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 10 Apr 2009, 09:19 PM
  5. Replies: 4
    Last Post: 30 Oct 2006, 12:59 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