vyciook
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
Forum: Plugins
In reply to: [Coinbase Commerce - Crypto Gateway for WooCommerce] Minimum Order AmountI want this to be possible at checkout page. I found few plugins can do that, like Booster, but its only available on payed version. I found you can do this trough functions.php for normal payments. See here:
** * Set a minimum order amount for checkout */ add_action( 'woocommerce_checkout_process', 'wc_minimum_order_amount' ); add_action( 'woocommerce_before_cart' , 'wc_minimum_order_amount' ); function wc_minimum_order_amount() { // Set this variable to specify a minimum order value $minimum = 50; if ( WC()->cart->total < $minimum ) { if( is_cart() ) { wc_print_notice( sprintf( 'Your current order total is %s — you must have an order with a minimum of %s to place your order ' , wc_price( WC()->cart->total ), wc_price( $minimum ) ), 'error' ); } else { wc_add_notice( sprintf( 'Your current order total is %s — you must have an order with a minimum of %s to place your order' , wc_price( WC()->cart->total ), wc_price( $minimum ) ), 'error' ); } } }Maybe coinbase payments has simmilar function? 🙂
Forum: Plugins
In reply to: [Coinbase Commerce - Crypto Gateway for WooCommerce] Minimum Order AmountWant to prevent bitcoin payments for transactions less than $30.
So if customer chooses coinbase (bitcoin) payment method he/she gets error message that minimum order amount for bitcoin is $30
Having the same issue here.
Forum: Plugins
In reply to: [Slider and Carousel Plus Widget for Social Media] Stuck On LoadingEverything working now 🙂 Thanks. Awesome plugin
Viewing 4 replies - 1 through 4 (of 4 total)