Tags/topics: 
1
Answers
Vote up!
0
Vote down!

Bug in Product Display with attributes vs line item file/image upload field

When a file/image is uploaded on my product display (it does this automatically once a file is selected), the product attributes reset to a default, although it does not show this visually, it is happening.

Because if I then add to cart, it adds this default product to the cart and also the little message/link to say "Item added to basket" doesn't appear either

If I upload an image, but then change the product using the product attributes(drop down lists) on the display, this works fine and the correct product is added to cart when I click add to cart as well as the "Item added to basket" message appearing.

But, again, if I first change the product and then upload, and then immediately click add to cart, I get this behavior where it adds the default product.

This default product is not funnily enough the default that appears visually when the page is loaded as I had to use hook_commerce_product_reference_default_delta_alter and loop through all products to find the one with the lowest price.

Where can I report this bug as I have found this issue being posted on Drupal.org forums as far back as 2 years ago with no response. I am willing to pay someone to fix this

Thanks

Asked by: Joeuk
on September 25, 2014

1 Answer

Vote up!
1
Vote down!

The issue is with the drag and drop uploader and also an Ajax cart module I was using

Answer by: Joeuk
Posted: Sep 25, 2014