Hi All,
Hope your well.
Had a quick idea on the transition from the basket totals to the checkout "delivery information" page. Unless the user clicks on update, their quantities aren't updated. Would it be possible to have it so that onmouseout of the quantity feild the form is submitted (the same as clicking update).
Has anyone else done this? Did it work out ok? Have had a look through the forums and not seen any sign of it yet.
Just done an install for a client that uses quantity as the length of material that they sell. This works fine and seems to be the only way as the lengths are different from order to order. However, this does mean that they are likely to play round with the quantities.
All the best,
Martin.
Hope your well.
Had a quick idea on the transition from the basket totals to the checkout "delivery information" page. Unless the user clicks on update, their quantities aren't updated. Would it be possible to have it so that onmouseout of the quantity feild the form is submitted (the same as clicking update).
Has anyone else done this? Did it work out ok? Have had a look through the forums and not seen any sign of it yet.
Just done an install for a client that uses quantity as the length of material that they sell. This works fine and seems to be the only way as the lengths are different from order to order. However, this does mean that they are likely to play round with the quantities.
All the best,
Martin.
I like to see this to.
As soon as you updated the quantity it gets autoupdated.
As soon as you updated the quantity it gets autoupdated.
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
Easy...
For all versions (1.4.x, 1.5.x, 2.x)...
1. EDIT: catalog/view/theme/YOURTHEME/template/checkout/cart.tpl
2. ADD AT THE BOTTOM BEFORE THE "$footer" LINE:
For all versions (1.4.x, 1.5.x, 2.x)...
1. EDIT: catalog/view/theme/YOURTHEME/template/checkout/cart.tpl
2. ADD AT THE BOTTOM BEFORE THE "$footer" LINE:
Code: Select all
<script type="text/javascript">
$("input[name^='quantity']").change(function() {
$("input[name^='quantity']").closest('form').submit();
});
</script>
Do I add this below: <?php echo $footer; ?> ?Qphoria wrote:did anyone ever find this useful?
Edit: I just put it there and it works.
Nice find and very usefull.
Should be default in the cart!
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
It was never designed to do that... but its easy to addMoggin wrote:...and half way to working in 1.4.8b. Updates the quantity, but doesn't act on 'remove' field.
change:
Code: Select all
$("input[name*='quantity']")
Code: Select all
$("input")
thanks Q. its so useful as customers might assume since they added the # of quantity they are all set for checkout not knowing they have to click update.
good work
IMHO, i think this add-on should be added to the core
good work
IMHO, i think this add-on should be added to the core
ALL Templates :: 1.5.1+ Templates :: 50%-75% PRICE DROP ONLY at OpencartStuff.com
To make this work on 1.5.0.5. change
to
Code: Select all
$('#cart').submit();
Code: Select all
$('#basket').submit();
Hi guys.. I followed all your steps to apply this to 1.5.13 but it is not working.
This is the code
can you give me a hand please? Thanks
This is the code
Code: Select all
<script type="text/javascript">
$("input").change(function() {
$('#basket').submit();
});
</script>
I just added
And it seems to work, just takes a bit long to update.
Code: Select all
<script type="text/javascript">
$("input[name*='quantity']").change(function() {
$('#basket').submit();
});
</script>
I have tried to get this to work as a vQmod but it doesn't seem to work, there are no errors or anything appearing in vQmod Manager, I have tried changing the basket to cart and that didn't work. The code is:
Code: Select all
<modification>
<id>Auto update quantity</id>
<version>1.0</version>
<vqmver>2.1.6</vqmver>
<file name="catalog/view/theme/shoppica/template/checkout/cart.tpl">
<operation>
<search position="after"><![CDATA[<?php echo $footer; ?>]]></search>
<add><![CDATA[<script type="text/javascript">$("input).change(function() {$('#basket').submit();});</script> ]]></add>
</operation>
</file>
</modification>
I am looking at something like this
http://www.opencart.com/index.php?route ... on_id=4330
Only problem is the author of the extension hardly seems to there to support his extension. Wonder if he is still alive or lost interest in opencart?
Anyone got any idea on how to do this with ajax?
Regards
http://www.opencart.com/index.php?route ... on_id=4330
Only problem is the author of the extension hardly seems to there to support his extension. Wonder if he is still alive or lost interest in opencart?
Anyone got any idea on how to do this with ajax?
Regards
Who is online
Users browsing this forum: Bing [Bot] and 42 guests