Plus / Minus Buttons appear twice
-
I was initially having trouble with my quantity indicators, but after Caleb Burk’s recommendation to use the WooCommerce Quantity Increment plugin.
It now functions, but the plus and minus buttons each appear twice, is there a way to edit the HTML? Before activating the plugin the buttons appeared once each.
The HTML:
<form class="cart" enctype="multipart/form-data" method="post"> <div class="quantity buttons_added"> <input class="minus" type="button" value="-"> <input class="minus" type="button" value="-"> <input class="input-text qty text" type="number" size="4" title="Qty" value="1" name="quantity" max="" min="1" step="1"> <input class="plus" type="button" value="+"> <input class="plus" type="button" value="+"> </div> <input type="hidden" value="201" name="add-to-cart"> <button class="single_add_to_cart_button button alt" type="submit">Add to basket</button> </form>
Code from functions.php:
// QUANTITY // add_action( 'wp_enqueue_scripts', 'wcs_dequeue_quantity' ); function wcs_dequeue_quantity() { wp_dequeue_style( 'wcqi-css' ); } // QUANTITY //
Hope you can help!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Plus / Minus Buttons appear twice’ is closed to new replies.