Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20
  1. #11
    Join Date
    Jul 2012
    Posts
    16,735
    Plugin Contributions
    17

    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.
    See post #2
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

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

    Default Re: add to cart the first lucky guy

    The last check is on the checkout confirmation page. If you wanted to reduce the window further, you could do stock checking in

    includes/modules/YOURTEMPLATE/checkout_process.php

    But really, you'd be better stopping and asking yourself: is this really a problem for my business?
    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.

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

    Default Re: add to cart the first lucky guy

    While placing the order, your query will allow only one transaction and after the completion of that it will process another request.

    This way use also follow the zen cart when many customers try to purchase from your online store via paypal express checkout ?

  4. #14
    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 last check is on the checkout confirmation page. If you wanted to reduce the window further, you could do stock checking in

    includes/modules/YOURTEMPLATE/checkout_process.php

    But really, you'd be better stopping and asking yourself: is this really a problem for my business?
    you have right in the last sentence I will try avoid in the future.

  5. #15
    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 last check is on the checkout confirmation page. If you wanted to reduce the window further, you could do stock checking in

    includes/modules/YOURTEMPLATE/checkout_process.php

    But really, you'd be better stopping and asking yourself: is this really a problem for my business?
    You have a code to add in this php file or must change something like from false to true

  6. #16
    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
    You have a code to add in this php file or must change something like from false to true
    What I realize In Live Store ?
    If more than one customer already add to the cart the same product with quantity 1 and already both has going to the next step < Home Checkout Shipping Method > in the end both they had purchase the same product and in admin panel show -1 stock.
    So the Stock module work only before the customer go to Home Checkout Shipping Method.

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

    Default Re: add to cart the first lucky guy

    I already told you there's a check when the checkout confirmation page is loaded.

    But remember how I told you this probably wouldn't be a problem for your business and you agreed?
    It probably won't be a problem for your business. You have plenty to worry about without worrying about this.
    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.

  8. #18
    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
    I already told you there's a check when the checkout confirmation page is loaded.

    But remember how I told you this probably wouldn't be a problem for your business and you agreed?
    It probably won't be a problem for your business. You have plenty to worry about without worrying about this.
    May I have the specific code lines of the checkout information page

  9. #19
    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
    May I have the specific code lines of the checkout information page
    this lines have connection ?

    <div class="card card--padding card--bg">
    <h4><?php echo HEADING_PRODUCTS; ?></h4>
    <?php if ($flagAnyOutOfStock) { ?>
    <?php if (STOCK_ALLOW_CHECKOUT == 'true') { ?>
    <div class="alert alert-warning alert-dismissable"><?php echo OUT_OF_STOCK_CAN_CHECKOUT; ?></div>
    <?php } else { ?>
    <div class="alert alert-warning alert-dismissable"><?php echo OUT_OF_STOCK_CANT_CHECKOUT; ?></div>
    <?php } //endif STOCK_ALLOW_CHECKOUT ?>
    <?php } //endif flagAnyOutOfStock ?>

  10. #20
    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
    I already told you there's a check when the checkout confirmation page is loaded.

    But remember how I told you this probably wouldn't be a problem for your business and you agreed?
    It probably won't be a problem for your business. You have plenty to worry about without worrying about this.
    yep I open another domain and my problem solved.Thank you.

 

 
Page 2 of 2 FirstFirst 12

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