Paolo
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Local pickup disappear when total cart is over 50€Forum: Plugins
In reply to: [WooCommerce] Local pickup disappear when total cart is over 50€Hello @carolm29 and thanks for answer!
Sorry i wrote something wrong (i had another problem but about caching that i solved): about shipping i would like to have:
- flat rate 10€
- free shipping over 50€
- local pickup
Now on my website:
- if in cart there is something not over 50€ the customer see flat rate or local pickup
- if in cart there is something over 50€ the customer see only free shipping
Is it possible to see also local pickup in last case?
I tried to use Snipboard but it upload just 1 image
Thanks, Paolo
Forum: Plugins
In reply to: [WooCommerce] Local pickup disappear when total cart is over 50€Hi Shameem and thanks for your answer! I found the problem deactivating a plugin that allows this code:
/**
- Hide shipping rates when free shipping is available.
- Updated to support WooCommerce 2.6 Shipping Zones.
* - @param array $rates Array of rates found for the package.
- @return array
*/
function my_hide_shipping_when_free_is_available( $rates ) {
$free = array();
foreach ( $rates as $rate_id => $rate ) {
if ( ‘free_shipping’ === $rate->method_id ) {
$free[ $rate_id ] = $rate;
break;
}
}
return ! empty( $free ) ? $free : $rates;
}
add_filter( ‘woocommerce_package_rates’, ‘my_hide_shipping_when_free_is_available’, 100 );
How can i solve this problem?
I would like to have free shipping for order > 50€ but also the possibility to local pickup.
Now i deactivate the snippet but for example if i order something about 30€ in checkout i see:
- flat rate 10€
- free shipping
- pickup local
Obviously you can understand that a customer mustn’t has the possibility to choose free shipping, instead he must choose between flat rate or local pickup.
Thanks a lot, Paolo
Forum: Plugins
In reply to: [Polylang] Problem with last updateThanks a lot. I solved the issue
Forum: Plugins
In reply to: [Contact Form 7] Spinner continue rotating and doesn’t send emailI solved replacing, “true” with “false” in wp-contact-form-7.php at this line
define( ‘WPCF7_LOAD_JS’, false );
Now it works!
- This reply was modified 3 years, 7 months ago by Paolo.
Great, it works!
Thank you very much for support!
Paolo
Hello,
thank you for reply. I put the code in my css theme but the problem is the same. Do you have other tips for me?
Thank you,
PaoloHello,
i have a problem with this plugin: the last bullet of my reviews is awry, different from others. Could you help me?
Thank you,
Paolohttps://www.icreatiftest-due.it at the end of homepage
Forum: Plugins
In reply to: [Soundy Background Music] Music playing only in home pageAt the end of each page of your blog you can choose if you want enable/disable the music you choose.