Detect in javascript when add to cart widget updates product fields

I have a carousel of images for each product style. When the add to cart form refreshes the product images when the form fields are changed I need to setup the carousel for the new product images that have been loaded in.

Is there a way to hook into this using Drupal javascript or a special event drupal fires when adding in new content via js?

Thanks

Posted: May 21, 2013

Ajax problem in add to cart form

Hi.

I have tried using the built in interface to enable AJAX callbacks for my add to cart form but it isnt working. I made a custom list of products with an "add to cart" button next to them but for some reason the whole page reloads.

The site is here: http://tinyurl.com/a8bsmjh

Since the front page is built in one single page with information (only ajax calls in colorbox) its pretty important that one can add new products without reloading the whole page.

Posted: Jan 10, 2013

Product variation (ajax) loose selection

Hi,
I'm building a shop with multiple variations, for instance, I have 3 colors, 3 shapes and 3 sizes.
When I select color 2, and shape 3. everything is ok. Then I change the color again to color 1 and I loose the information about shape 1 I selected.

I saw the same "problem" in kickstart 2 in the Women's Tee page :
Change the color, then change the size. then change the color again. The size is lost...

Is there a solution for this problem ?

Thanks for answers

Posted: Nov 12, 2012

Call External XML For Pricing

Hi,

Sorry if this sounds 'noob'. PHP, JS experience: high. Drupal experience: medium. But Drupal Commerce experience: low. (I've worked with other Drupal shopping carts, though.)

I've been asked to help the admin (who set up the store but has limited PHP/js experience.) with one very specific task so I apologise up front if this is an RTFM question.

Posted: Sep 24, 2012
Subscribe to RSS - ajax