Results 1 to 6 of 6
  1. #1
    Join Date
    Aug 2008
    Posts
    138
    Plugin Contributions
    0

    Default Show Product out of stock in checkout - not only in shopping cart.

    Hi all!

    Is there a way to show the red text saying a product is out of stock also on the checkout page - not only in the shopping cart.

    I have customers who order products and never go to the shopping cart, but directly to the checkout (I have a link that says go directly to checkout)

    These customers will never know we're out of stock, hence the continue with their order, and then sends crazy mails since the don't recieve their order within a couple of days.

    It's ok for me to write SOME PHP, but I'm no guru ;)

  2. #2
    Join Date
    Aug 2008
    Posts
    138
    Plugin Contributions
    0

    Default Re: Show Product out of stock in checkout - not only in shopping cart.

    No one?
    Bump

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Show Product out of stock in checkout - not only in shopping cart.

    Are you trying to say that you allow checkout when stock is less than what is ordered and want to continue to do so ... but that you need some kind of flag or indicator on the checkout process that goes beyond the mark in the shopping cart as sort of a "reminder" to the customer that the product is out of stock?

    Does that just need to show on the checkout, in addition to what is already built in on the shopping_cart page?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  4. #4
    Join Date
    Aug 2008
    Posts
    138
    Plugin Contributions
    0

    Default Re: Show Product out of stock in checkout - not only in shopping cart.

    Yes! That's it.. perfectly described

    Any idea?

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Show Product out of stock in checkout - not only in shopping cart.

    In the tpl_checkout_confirmation_default.php you will find the line:
    Code:
              <td  class="cartQuantity"><?php echo $order->products[$i]['qty']; ?>&nbsp;x</td>
    You could alter that based on the products_id quantity doing a look up of what the current products_quantity is:
    zen_products_lookup($order->products[$i]['id'], products_quantity)

    and based on the results add something to that code that displays the quantity being purchased ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  6. #6
    Join Date
    Aug 2008
    Posts
    138
    Plugin Contributions
    0

    Default Re: Show Product out of stock in checkout - not only in shopping cart.

    Thank you :)

    It worked!

 

 

Similar Threads

  1. Replies: 5
    Last Post: 3 Aug 2011, 08:15 AM
  2. Replies: 9
    Last Post: 23 Nov 2008, 10:19 PM
  3. Show case without checkout, or shopping cart only mode
    By popscythe in forum Addon Payment Modules
    Replies: 4
    Last Post: 23 Dec 2007, 02:55 AM
  4. Show quantity in cart only when the product is already in shopping cart
    By e81ny in forum Templates, Stylesheets, Page Layout
    Replies: 15
    Last Post: 8 Sep 2007, 03:34 PM
  5. New product not to show out of stock products
    By gardengate in forum Basic Configuration
    Replies: 0
    Last Post: 11 Sep 2006, 02:53 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