diff --git a/woocommerce/product-searchform.php b/woocommerce/product-searchform.php new file mode 100644 index 0000000..8d4dfb7 --- /dev/null +++ b/woocommerce/product-searchform.php @@ -0,0 +1,33 @@ + + diff --git a/woocommerce/single-product/add-to-cart/variation-add-to-cart-button.php b/woocommerce/single-product/add-to-cart/variation-add-to-cart-button.php new file mode 100644 index 0000000..8456a35 --- /dev/null +++ b/woocommerce/single-product/add-to-cart/variation-add-to-cart-button.php @@ -0,0 +1,38 @@ + +
+ apply_filters( 'woocommerce_quantity_input_min', $product->get_min_purchase_quantity(), $product ), + 'max_value' => apply_filters( 'woocommerce_quantity_input_max', $product->get_max_purchase_quantity(), $product ), + 'input_value' => isset( $_POST['quantity'] ) ? wc_stock_amount( $_POST['quantity'] ) : $product->get_min_purchase_quantity(), + ) ); + + /** + * @since 3.0.0. + */ + do_action( 'woocommerce_after_add_to_cart_quantity' ); + ?> + + + + +