place the price between quantity and add to cart button woocommerce code example Example: add a item to cart woocomerce with quantity Click to copyWC()->cart->add_to_cart( 500, 5 );