/* add quanity text*/ add_action( 'woocommerce_before_add_to_cart_quantity', 'wp_echo_qty_front_add_cart' ); function wp_echo_qty_front_add_cart() { echo '<div class="qty">Quantity: </div>'; }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter