Unable to add Variable Products from Woocommerce when they're in the Ajax loader
-
Hello, I’ve had some trouble with this plugin since I needed to add variable products to a shopping cart within the Ajax loader. If the same code is used outside the loader it works. However, in the Ajax loop it doesn’t work. I can see what the problem appears to be, that the value of the input for variations is not being updated, but don’t know how to fix it.
Inside a normal page:
<input type="hidden" name="variation_id" class="variation_id" value="526">
Inside the Ajax loader
<input type="hidden" name="variation_id" class="variation_id" value="0">
and it never updates…
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Unable to add Variable Products from Woocommerce when they're in the Ajax loader’ is closed to new replies.