Results 1 to 9 of 9
  1. #1
    Join Date
    May 2007
    Location
    Los Angeles
    Posts
    63
    Plugin Contributions
    0

    help question How do I change the checkout default number?

    When someone wants to checkout after they already added what they want to the cart there is a button with a box that has a 1 in it by default. If the customer clicks the button they end up with 2 quantity. I want the default to be zero so they get just 1 quantity. As you can see from the attached picture.
    Attached Images Attached Images  

  2. #2
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

    Default Re: How do I change the checkout default number?

    This is done when you are adding your products. you can also go back to your product, go to edit, then find the line:

    Product Qty Minimum:

    Set that to 0, and it will show 0 on the products page.
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

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

    Default Re: How do I change the checkout default number?

    Don't do that ...

    You cannot allow a minimum order of 0 ...

    You would need to customize your template for the:
    tpl_product_info_display.php

    copy to your templates and overrides directory then adjust how this line is managed for the quantity:
    PHP Code:
        $the_button PRODUCTS_ORDER_QTY_TEXT '<input type="text" name="cart_quantity" value="' . (zen_get_buy_now_qty($_GET['products_id'])) . '" maxlength="6" size="4" /><br />' zen_get_products_quantity_min_units_display((int)$_GET['products_id']) . '<br />' zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CARTBUTTON_IN_CART_ALT); 
    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!]
    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
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

    Default Re: How do I change the checkout default number?

    My bad. Sorry.
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  5. #5
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: How do I change the checkout default number?

    If you set the default quantity to 0, every single customer will have to enter a 1 in the box before clicking add to cart; if they don't notice this, they will add to cart and get nothing in the cart.

    How many more frustrated customers will you get this way than customers who don't know that add to cart is not the same thing as checkout?

  6. #6
    Join Date
    May 2007
    Location
    Los Angeles
    Posts
    63
    Plugin Contributions
    0

    help question Re: How do I change the checkout default number?

    Is there another button supposed to be there with just Checkout instead of add to cart? I see no reason why the customer is asked to add more to the cart after he/she is done shopping. In my case I only see this one button with Add to cart on it.

  7. #7
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: How do I change the checkout default number?

    How can the cart know when the customer is done shopping? It's impossible. The customer has to tell the cart they are done by pressing "Checkout" in the navigation (next to the "Shopping Cart" link). If this is a problem for your customers, you can make the checkout more prominent.

  8. #8
    Join Date
    May 2007
    Location
    Los Angeles
    Posts
    63
    Plugin Contributions
    0

    help question Re: How do I change the checkout default number?

    Okay I see now, this is only when the customer clicks on the shopping cart side box that he will see this. Is is possible to add a checkout button on this page by customisation? The checkout on the menu is not as obvious.

  9. #9
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: How do I change the checkout default number?

    You can add a checkout button to your product info pages - find the code where it is used on the shopping cart page and copy that to tpl_product_info_display.php.

    There is also a Checkout link by default in the header navbar (by Home Login) that will appear when there is something in the cart.

 

 

Similar Threads

  1. v155 how do I change the default adminstrator?
    By delia in forum General Questions
    Replies: 17
    Last Post: 18 Aug 2016, 01:59 PM
  2. v151 How would I change default image from the small to the medium or large
    By l0st1 in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 25 Apr 2014, 03:11 AM
  3. How to change the default URL?
    By CrazyArtist in forum Customization from the Admin
    Replies: 8
    Last Post: 27 Feb 2011, 04:12 AM
  4. Replies: 4
    Last Post: 16 Feb 2011, 03:32 AM
  5. How to change the title bars color from the default green to other colors?
    By yvonne8 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 27 Jun 2008, 06:20 PM

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