Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added "s" to hs on line 73 #12

Open
wants to merge 1 commit into
base: fix-6
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions wc-minimum-order-amount.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function hs_woo_minimum_order_settings( $settings ) {
// Minimum order amount
$settings[] = array(
'title' => __( 'Minimum order amount', 'woocommerce' ),
'desc' => __( 'Leave this empty if all orders are accepted, otherwise set the minimum order amount <script>alert("SHOW ME THE MONEY!");</script>', 'wc_minimum_order_amount' ),
'desc' => __( 'Leave this empty if all orders are accepted, otherwise set the minimum order amount <script>alert("SHOW ME THE MONEY!");</script>', 'wc_minimum_order_amount' ),
'id' => 'wc_minimum_order_amount_value',
'default' => '',
'type' => 'number',
Expand Down Expand Up @@ -70,7 +70,7 @@ function hs_woo_minimum_order_settings( $settings ) {

/* Notices and checks */

add_action( 'woocommerce_checkout_process', 'h_wc_minimum_order_amount' );
add_action( 'woocommerce_checkout_process', 'hs_wc_minimum_order_amount' );
add_action( 'woocommerce_before_cart' , 'hs_wc_minimum_order_amount' );

function hs_wc_minimum_order_amount() {
Expand Down