I have applied the AJAX/jQuery contribution #7477 (http://addons.oscommerce.com/info/7477)
to a stock oscommerce 2.2rc2a over 4 times now and keep getting a big issue:
Everything works but instead of the total price being updated in the shopping-cart-box, a whole new oscommerce window opens INSIDE the shopping cart box. In opera the whole thing just hangs or crashes. Ive tried on seveal PCs, but same issue.
http://chaosoutfitters.com/ << try it and see!
I have re-installed oscommerce and this add-on over 4 times in past 2 days trying to get it to work...
When i remove <span id=boxcart-total> from line ~72 of /boxes/shopping_cart.php
the issue dissapears but of course total will not get updated.
in oscart.js this is the line thats not getting the right DATA passed
--------------------------------------------
// Updating infobox content
$.ajax({
type: 'POST',
url: encodeURI($('form[name=cart_quantity]').attr('action')) + '&show_total=1&ajax=1',
data: $('form[name=cart_quantity]').serialize(),
success: function(data) {
$('#boxcart-total').html(data);
//Hide_Load();
}
});
--------------------------------------------
I can post my php files but like I said they are out of the box with ONLY this add-on.
Thanks in advance
-Duane