Page 1 of 2 12 LastLast
Results 1 to 10 of 20
  1. #1
    Join Date
    Sep 2018
    Location
    athens
    Posts
    36
    Plugin Contributions
    0

    Default add to cart the first lucky guy

    Hello

    I use zen cart 1.57
    PHP Version: 7.3.33

    In the Zen cart the quest 1 and the quest 2 (or the customer 1 and the customer 2) both they can add to cart the same product even the quantity it is one 1 piece .
    *note The only available shipping module is paypal express checkout.

    My question is..

    Does will have any risk to come to my store more than one order for the specific product ?.

    Can I change something in admin panel (setup) to configure and allowed only one customer (the first lucky or fast) add to his basket this unique product ?

    Thanks in advance.

  2. #2
    Join Date
    Sep 2018
    Location
    athens
    Posts
    36
    Plugin Contributions
    0

    Default Re: add to cart the first lucky guy

    Quote Originally Posted by Dastyen View Post
    Hello

    I use zen cart 1.57
    PHP Version: 7.3.33

    In the Zen cart the quest 1 and the quest 2 (or the customer 1 and the customer 2) both they can add to cart the same product even the quantity it is one 1 piece .
    *note The only available shipping module is paypal express checkout.

    My question is..

    Does will have any risk to come to my store more than one order for the specific product ?.

    Can I change something in admin panel (setup) to configure and allowed only one customer (the first lucky or fast) add to his basket this unique product ?

    Thanks in advance.
    I forgot to mention I have already setup in admin the Stock below

    3. Track stock, do not permit backorders

    Check stock level = true
    Subtract stock = true
    Allow Checkout = false

  3. #3
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,703
    Plugin Contributions
    123

    Default Re: add to cart the first lucky guy

    The lucky guy is the one who checks out and pays first. Everyone else snoozes and loses.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  4. #4
    Join Date
    Sep 2018
    Location
    athens
    Posts
    36
    Plugin Contributions
    0

    Default Re: add to cart the first lucky guy

    Quote Originally Posted by swguy View Post
    The lucky guy is the one who checks out and pays first. Everyone else snoozes and loses.
    Yes but maybe two customers can be lucky if they press the place order the same time

  5. #5
    Join Date
    Jul 2012
    Posts
    16,734
    Plugin Contributions
    17

    Default Re: add to cart the first lucky guy

    Quote Originally Posted by Dastyen View Post
    Yes but maybe two customers can be lucky if they press the place order the same time
    As said, the first one to win is the one that confirms their order first. The possibility of two or more individuals accomplishing that at exactly the same microsecond is infinitesimally small. It is true and possible for two or more people to have the same item in their cart, but whomever is slower will be returned to the shopping cart screen if in their attempt to purchase the item(s) are no longer available.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  6. #6
    Join Date
    Sep 2018
    Location
    athens
    Posts
    36
    Plugin Contributions
    0

    Default Re: add to cart the first lucky guy

    Quote Originally Posted by mc12345678 View Post
    As said, the first one to win is the one that confirms their order first. The possibility of two or more individuals accomplishing that at exactly the same microsecond is infinitesimally small. It is true and possible for two or more people to have the same item in their cart, but whomever is slower will be returned to the shopping cart screen if in their attempt to purchase the item(s) are no longer available.
    I make test from two different PC on my desktop with differents IP and different beta accounts using temporary the COD payment way.
    I press the same time both buttons (I use my two hands) -<place orders>- in the same product with one item quantity.
    Both customers receive confirmation email and the orders in their histiry of orders.
    The product after was disable of course with (-1) quantity.

  7. #7
    Join Date
    Sep 2018
    Location
    athens
    Posts
    36
    Plugin Contributions
    0

    Default Re: add to cart the first lucky guy

    Quote Originally Posted by Dastyen View Post
    I make test from two different PC on my desktop with differents IP and different beta accounts using temporary the COD payment way.
    I press the same time both buttons (I use my two hands) -<place orders>- in the same product with one item quantity.
    Both customers receive confirmation email and the orders in their histiry of orders.
    The product after was disable of course with (-1) quantity.
    Now just make test with the same way again and I count, it tooks 3-5 second to update the database the stock be zero and disable the product from the webshop after the first purchase.
    When I try to purchase from the second one acount direct my cart be empty.

  8. #8
    Join Date
    Sep 2018
    Location
    athens
    Posts
    36
    Plugin Contributions
    0

    Default Re: add to cart the first lucky guy

    Quote Originally Posted by Dastyen View Post
    Now just make test with the same way again and I count, it tooks 3-5 second to update the database the stock be zero and disable the product from the webshop after the first purchase.
    When I try to purchase from the second one acount direct my cart be empty.

    Another new one test.

    Both accounts on the final stage of place order each one has 1 piece in their cart.
    I press the first place order and the order confirmed.
    I go and check the quantity was 0 and the product disable.
    When press the place order button from the second account the confirmation of the order comes to my email.

    So if 30 customers they run add to their cart the item and arrive to the stage of place order, then I think everyone will have from one email confirmation of their orders.

  9. #9
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,703
    Plugin Contributions
    123

    Default Re: add to cart the first lucky guy

    Set Admin > Configuration > Stock > Allow Checkout = false and people won't be able to complete checkout if the product is out of stock.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  10. #10
    Join Date
    Sep 2018
    Location
    athens
    Posts
    36
    Plugin Contributions
    0

    Default Re: add to cart the first lucky guy

    Quote Originally Posted by swguy View Post
    Set Admin > Configuration > Stock > Allow Checkout = false and people won't be able to complete checkout if the product is out of stock.
    Already I have this setup in the stock configuration.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. want to show discounted rate in the first page of the shopping cart
    By cmike in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 15 Sep 2014, 12:12 PM
  2. Cannot add the first product to the shopping cart
    By versitek in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 29 Dec 2011, 12:38 AM
  3. How to add item in the first page of zen cart?
    By sunzhoujian in forum General Questions
    Replies: 21
    Last Post: 2 Jun 2008, 09:07 AM
  4. Swap over the 'add to cart' text/box and the 'add to cart' image
    By budfox in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 4 Apr 2007, 11:24 PM
  5. New guy on the block has a couple of questions
    By BJH in forum General Questions
    Replies: 0
    Last Post: 12 Oct 2006, 01:44 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