ecomlux
Forum Replies Created
-
Forum: Plugins
In reply to: [iPanorama 360 - WordPress Virtual Tour Builder] Image has infinitive scrollHi @avirtum,
Thank you so much for this fast support.
It indeed resolved my issue! And yes I think this would be great.
Kind regards,
Jeremy Bosquet
Hi,
Yes we decided to change to another plugin that solved all our issuses right away.Thanks for your reply.
Kind regards,
Jeremy Bosquet
ECOM LUX
Many thanks @anhkha2000 it solved my issue.
Forum: Plugins
In reply to: [WooCommerce] Keep local pick-up always availableUpdate:
I found a solution by using this function:add_filter(
'woocommerce_package_rates'
,
'bbloomer_unset_shipping_when_free_is_available_in_zone'
, 9999, 2 );
function
bbloomer_unset_shipping_when_free_is_available_in_zone(
$rates
,
$package
) {
// Only unset rates if free_shipping is available
if
( isset(
$rates
[
'free_shipping:8'
] ) ) {
unset(
$rates
[
'flat_rate:1'
] );
}
return
$rates
;
}
Kind regards,
Jeremy
Forum: Plugins
In reply to: [WooCommerce] Keep local pick-up always availableHi Tamrat,
Thanks a lot for your detailed answer.
Indeed, after some research I found the issue, I had a function set up to hide the flat rate when free shipping is available. As I have to delete/edit the function, can you tell me how to do so? To hide the flat rate when free shipping is available ?
Here is the function I was using: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 );The problem of this function is that it also hides the local pick-up.
Kind regards,
Jeremy
- This reply was modified 1 year ago by ecomlux.
Forum: Plugins
In reply to: [Quiz Maker] Upload questions in simple xlsx modeWe found the issue. It was due to our PHP version. thanks