Sunz
Forum Replies Created
-
Forum: Plugins
In reply to: [Woocommerce Ajax add to cart for variable products] Incorrect variation nameAhaha, problem resolved!
Need change 26 line in js file to:
attributevalue = $variation_form.find(‘.variations input:radio:checked’).val(),Thanks me 🙂
Forum: Plugins
In reply to: [Woocommerce Ajax add to cart for variable products] Incorrect variation nameI try to change line 26 in plugin js:
From:
attributevalue = $(this).val(),To:
attributevalue = $(“input[type=’radio’]:checked”).val(),But script added again not correct variation name – name of checked radio on page load, price added correct…
UPD: This code work for first product. For second and others it’s not work.
UPD2: Need add form ID after ‘(“‘, but i don’t know how to do it…
Forum: Plugins
In reply to: [Woocommerce Ajax add to cart for variable products] Incorrect variation nameHi, rcreators!
Now plugins are active.
Forum: Plugins
In reply to: [Woocommerce Ajax add to cart for variable products] Adding wrong variationI have this problem. I have two weight variations: 150 and 200 grams. When I select 150 grams, add it to the cart, price information in cart is correct, but not correct variation name: it show 200 grams…
Site: link
Add: I used your plugin with Woo Radio Button plugin.
Решено. Помогло удаление строчки с генерируемой ссылкой в коде кнопки из vkapi.php