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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| ||||
| ||||
| 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 |
| Sponsored Links | ||
| ||
|
#2
| ||||
| ||||
| Quickest fix : put some bold text in the cart telling them to click the update button.
__________________ Michael Sasek osCMax Developer
|
|
#3
| ||||
| ||||
| 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
| ||||
| ||||
| Well, you asked for a quick fix... Here is a mod: osCommerce: Change number of products ordered easily
__________________ Michael Sasek osCMax Developer
|
|
#5
| ||||
| ||||
| Touche'... I'll post whatever it is I figure out from this mod... Thanks Dubious |
|
#6
| |||
| |||
| 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
| ||||
| ||||
| 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
|
|
#8
| |||
| |||
| 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 |
| The Following User Says Thank You to FragrancesForLife.com For This Useful Post: | ||
michael_s (02-26-2007) | ||
|
#9
| |||
| |||
| 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
| |||
| |||
| 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. |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Shipping in shopping cart infobox and OSC checkout flaw. | adiwillow | osCMax v2 Customization/Mods | 0 | 10-27-2006 03:08 AM |
| How to update attribute quantity via Easypopulate? | groggory | osCMax v2 Features Discussion | 1 | 01-25-2006 11:29 AM |
| Empty shopping cart after clicking Buy Now Button | Walter | osCommerce 2.2 Modification Help | 0 | 05-03-2004 10:02 AM |
| Shopping cart / Payment module / checkout process | zizzor.com | osCommerce 2.2 Modification Help | 0 | 04-05-2004 12:05 PM |