aribot
Forum Replies Created
-
Hi mr.clayton,
thank you for you quick reply and for your work.
Kind Regards,
AriannaForum: Plugins
In reply to: [SiteGround Migrator] SG Migrator crash after this message…Hi Elena,
via SG Migrator the files are transferred but the procedure crashes, so the email is not sent and it is not clear if everything is ok. But if you check in the SG dashoard in file manager the files are all there. I have transferred other sites from the same provider to SG and there is no restriction on their part. I still don’t understand why the plugin crashes even though the files have all been transferred. But it is so…
Cordially,
AriannaForum: Plugins
In reply to: [SiteGround Migrator] SG Migrator crash after this message…Hello,
I’m not trying to migrate the same website to another Siteground account or from SiteGround to another provider. I’m trying to migrate from another provider to Siteground. Now it’s hosted with SiteGround cause I’ve solved via ftp.
Best regards,
AriannaForum: Plugins
In reply to: [SiteGround Migrator] SG Migrator crash after this message…Hi Stoyan,
thank you for your support. 🙂
Do it! 3 times… same result.
Cordially,
AriannaForum: Plugins
In reply to: [WooCommerce] Checkout page and field mandatoryI don’t like use plug-in for this little things… But I solved with this https://ww.wp.xz.cn/plugins/woocommerce-checkout-manager/
- This reply was modified 4 years, 10 months ago by aribot.
Forum: Plugins
In reply to: [WooCommerce] Checkout page and field mandatoryHello Maykato,
thank you for your support.
There is other custome code for the cart page. I deleted but the problem remains.
This is the code of the file functions.php<?php /** * Theme functions and definitions * * @package HelloElementorChild */ /** * Load child theme css and optional scripts * * @return void */ function hello_elementor_child_enqueue_scripts() { wp_enqueue_style( 'hello-elementor-child-style', get_stylesheet_directory_uri() . '/style.css', [ 'hello-elementor-theme-style', ], '1.0.0' ); } add_action( 'wp_enqueue_scripts', 'hello_elementor_child_enqueue_scripts', 20 ); /** Impostare un ordine minimo prima del pagamento **/ 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 = 30; if ( WC()->cart->total < $minimum ) { if( is_cart() ) { wc_print_notice( sprintf( 'Attuale ordine di %s — Devi effettuare un ordine minimo di %s per poter procedere con il pagamento ' , wc_price( WC()->cart->total ), wc_price( $minimum ) ), 'error' ); } else { wc_add_notice( sprintf( 'Attuale ordine di %s — Devi effettuare un ordine minimo di %s per poter procedere con il pagamento ' , wc_price( WC()->cart->total ), wc_price( $minimum ) ), 'error' ); } } } add_filter( 'woocommerce_billing_fields', 'woo_filter_state_billing', 10, 1 ); add_filter( 'woocommerce_shipping_fields', 'woo_filter_state_shipping', 10, 1 ); function woo_filter_state_billing( $address_fields ) { $address_fields['billing_state']['required'] = true; return $address_fields; } function woo_filter_state_shipping( $address_fields ) { $address_fields['shipping_state']['required'] = true; return $address_fields; }