Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

E-Commerce Modules /

Discuss about the various e-commerce modules available:
Ecommerce, SS Shop, SilverCart and SwipeStripe
Alternatively, have a look the shared mailinglist.

Moderators: martimiz, Nicolaas, Sean, Ed, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba

Ajax quantity field?

Go to End



Community Member, 102 Posts

28 April 2011 at 11:59pm

I'm using the latest Burnbright code i.e.
svn checkout burnbright

The product quantity control looks like Ajax should be enabled...
<input type="text" class="ajaxQuantityField"...

...but I can't get it to work. Has anyone got it working? If so, please can you post or pm a link to a working site?

It looks like ecommerce.js is required. That's missing from the product and basket pages, but it's present on the checkout page, although Ajax still isn't enabled there either.

If Ajax isn't enabled, it should degrade gracefully. I've seen other SS ecommerce sites that have a...
....attribue on the input field. I don't know what version they're using. The version I'm using doesn't have that, so the user can type a new quantity, but there's no form, and it's never submitted, so the user is going to be confused. I can't see code that adds the 'disabled' attribute in any of the older or newer ecommerce versions. Confusing.