Results 1 to 8 of 8
  1. #1
    Join Date
    Jan 2015
    Posts
    423
    Plugin Contributions
    0

    Default Out of Stock Indicator needed on checkout page

    I am allowing customer to checkout even if the product is out of stock.

    When a product is marked out of stock and I “allow checkout” and I go to the cart page


    I see on the cart page *** to indicate out of stock (I changed *** to say out of stock). All is good there.



    When I go to the checkout page I don’t see anything indicating product out of stock. Is there a way to put the out of stock indicator on the checkout page as well. Just like it does on the cart?

    If someone could assist me or lead me in the right direction i would appreciate it...

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

    Default Re: Out of Stock Indicator needed on checkout page

    Just throwing in the post for more information while swinging through, which checkout page? In a default ZC store there are several: checkout_shipping, checkout_payment, checkout_confirmation, checkout_success, etc... if you are not referring to any of those, then need to identify what plugins are installed as requested by the posting tips so that an appropriate answer/suggestion may be provided...
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,495
    Plugin Contributions
    88

    Default Re: Out of Stock Indicator needed on checkout page

    What are your site's settings for Configuration->Stock?

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

    Default Re: Out of Stock Indicator needed on checkout page

    In responsive classic, the *** (out of stock) indicator *is* shown on the checkout confirmation page.
    This also happens with template default.

    So check your template for changes to templates/tpl_checkout_confirmation_default.php
    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.

  5. #5
    Join Date
    Jan 2015
    Posts
    423
    Plugin Contributions
    0

    Default Re: Out of Stock Indicator needed on checkout page

    I am currently using fast and easy checkout.

    For some reason I am having trouble getting the out of stock to show throughout the checkout process. I am only seeing it on the cart page.

    I tried using the default template with the same results. I must be missing a step or something.

  6. #6
    Join Date
    Jan 2015
    Posts
    423
    Plugin Contributions
    0

    Default Re: Out of Stock Indicator needed on checkout page

    /includes/templates/theme871/templates/tpl_checkout_stacked.php

    On fast and easy checkout On the page given above I have

    Code:
                
    <?php  if ($flagAnyOutOfStock) { ?>
    <?php    if (STOCK_ALLOW_CHECKOUT == 'true') {  ?>
    <div class="messageStackError"><?php echo OUT_OF_STOCK_CAN_CHECKOUT; ?></div>
    <?php    } else { ?>
    <div class="messageStackError"><?php echo OUT_OF_STOCK_CANT_CHECKOUT; ?></div>
    <?php    } //endif STOCK_ALLOW_CHECKOUT ?>
    <?php  } //endif flagAnyOutOfStock ?>
    Code:
          <td class="cartProductDisplay" colspan="2"><?php echo $order->products[$i]['name']; ?>
                                    <?php  echo $stock_check[$i]; ?>
    Seems to be the same piece code on the default as in the fast and easy checkout. But for some reason it does not want to show (item is out of stock)

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

    Default Re: Out of Stock Indicator needed on checkout page

    Now that the issue has been isolated to a mod, perhaps the best thing would be to post to that mod's support thread.
    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. #8
    Join Date
    Jan 2015
    Posts
    423
    Plugin Contributions
    0

    Default Re: Out of Stock Indicator needed on checkout page

    I should have posted it there in the first place. It is now
    https://www.zen-cart.com/showthread....eckout/page217

    Thank you hopefully I can figure this out sooner than later

 

 

Similar Threads

  1. Stock By Attributes allows out of stock items through checkout!
    By kazbryan in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 8 Dec 2011, 05:41 PM
  2. (Basic) PHP Advice Needed Regarding My Custom Stock Level Indicator
    By phaynes in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 24 Oct 2010, 04:16 AM
  3. Stock level indicator, for stock by attributes controller
    By vandiermen in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 13 Nov 2008, 09:49 AM
  4. Stock Level Indicator in Product Info Page
    By jeanjean88 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 27 Oct 2008, 06:36 AM
  5. product page stock level indicator
    By dscott1966 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 1 Oct 2008, 04:28 AM

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