osCmax v2.5 User Manual
Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Shopping Cart Should Update Quantity when clicking Checkout

This is a discussion on Shopping Cart Should Update Quantity when clicking Checkout within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; Hi, I've got a lot of stores online and I'm having a problem with less than brilliant customers not clicking ...

      
  1. #1
    Member Dubious's Avatar
    Join Date
    Feb 2006
    Posts
    43
    Rep Power
    0


    Default Shopping Cart Should Update Quantity when clicking Checkout

    Hi, I've got a lot of stores online and I'm having a problem with less than brilliant customers not clicking "Update" after they change the quantity in shopping_cart.php.

    Instead, they just click "Checkout" and the lose their change to the quantity.

    Oops!

    Any quick fixes?

    Thanks
    Dubious

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default Re: Shopping Cart Should Update Quantity when clicking Checkout

    Quickest fix : put some bold text in the cart telling them to click the update button.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    Member Dubious's Avatar
    Join Date
    Feb 2006
    Posts
    43
    Rep Power
    0


    Default Re: Shopping Cart Should Update Quantity when clicking Checkout

    Well, putting a note in bold might be the quick way... but what about the RIGHT way? How can we make it Update changes to the quantity when the user clicks on Checkout?

    Thanks
    Dubious

  4. #4
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default Re: Shopping Cart Should Update Quantity when clicking Checkout

    Well, you asked for a quick fix...

    Here is a mod:
    osCommerce: Change number of products ordered easily
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  5. #5
    Member Dubious's Avatar
    Join Date
    Feb 2006
    Posts
    43
    Rep Power
    0


    Wink Re: Shopping Cart Should Update Quantity when clicking Checkout

    Quote Originally Posted by michael_s View Post
    Well, you asked for a quick fix...
    Touche'...

    I'll post whatever it is I figure out from this mod...

    Thanks
    Dubious

  6. #6
    New Member
    Join Date
    Feb 2007
    Posts
    5
    Rep Power
    0


    Default Re: Shopping Cart Should Update Quantity when clicking Checkout

    Hi,

    I've just started to use OSCMAX and have a solution to your problem!

    In shopping_cart.tpl.php line 81 change to:
    'text' => tep_draw_checkbox_field('cart_delete[]', $products[$i]['id'],'', 'onchange="this.form.submit()"'));

    This tells the check box to delete the item the next time ANY left click is made on the page.

    I did this also with the qty box line 119, change to:
    'text' => tep_draw_input_field('cart_quantity[]', $products[$i]['quantity'], 'size="4" onchange="this.form.submit()"') . tep_draw_hidden_field('products_id[]', $products[$i]['id']));

    Then hide the update button (line 162):
    <td class="main"><?php //echo tep_image_submit('button_update_cart.gif', IMAGE_BUTTON_UPDATE_CART); ?></td>

    The added very simple instructions, insert at line 10:
    <tr>
    <td class="main">To <b>change qty</b>: enter the req. number and left click outside the qty box.<br>To <b>remove</b> an item: click in the remove check box, then click outside the check box.<br><br></td>
    </tr>

    Hope that helps.

    My shop is not yet live but in testing the above worked a treat, even if they ignore the instructions, everything updates on any left click to the page.


    See it here : https://secure.hosts.co.uk/~fragrancesforlife.com/shop/ (NOT LIVE YET! 26/02/07)

    Kevin

  7. #7
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default Re: Shopping Cart Should Update Quantity when clicking Checkout

    I can't find a link to osCMax anywhere on that site... where is it? I would like to see this in action.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  8. #8
    New Member
    Join Date
    Feb 2007
    Posts
    5
    Rep Power
    0


    Default Re: Shopping Cart Should Update Quantity when clicking Checkout

    Hi,

    oops!

    In my excitment at my first post forgot the shop isn't liked to the main site yet as it isn't live!!

    Here is the url:
    https://secure.hosts.co.uk/~fragrancesforlife.com/shop/

    Hope that's better!

    Kevin

  9. #9
    Member
    Join Date
    Dec 2006
    Posts
    83
    Rep Power
    6


    Default Re: Shopping Cart Should Update Quantity when clicking Checkout

    I just looked at it. The only downside I see is that if you enter a new quantity and the go straingt to check out it does not update. You must click in the center content area. You cannot hit any buttons or left/right menu items.
    I think that might confuse a bit more than it helps, but it's on the right track!
    Now, If I only knew what I was doing!

  10. #10
    New Member
    Join Date
    Feb 2007
    Posts
    5
    Rep Power
    0


    Default Re: Shopping Cart Should Update Quantity when clicking Checkout

    Hi,

    The only links I can't get a change of qty to show in shopping cart box is when the information box links are clicked. However, if you do click on them and then go back to your cart, or another page, it is updated!

    When tested the remove item worked on any click, anywhere!

    From the people I have had testing it, seems that it is a very effective work around.

    I'll let you know if I come across any problems with it when live!

    Kevin.

Page 1 of 2 12 LastLast

Similar Threads

  1. Shipping in shopping cart infobox and OSC checkout flaw.
    By adiwillow in forum osCmax v2 Customization/Mods
    Replies: 0
    Last Post: 10-27-2006, 03:08 AM
  2. How to update attribute quantity via Easypopulate?
    By groggory in forum osCMax v2 Features Discussion
    Replies: 1
    Last Post: 01-25-2006, 11:29 AM
  3. Empty shopping cart after clicking Buy Now Button
    By Walter in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 05-03-2004, 10:02 AM
  4. Shopping cart / Payment module / checkout process
    By zizzor.com in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 04-05-2004, 12:05 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
  •