webiliz
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
I have found a temporary solution with modification on core file includes/shipping-gateways/class-wcfmmp-shipping-by-distance.php
Add lines
$enable_local_pickup = isset($wcfmmp_shipping_by_distance['_enable_local_pickup']) ? 'yes' : ''; $local_pickup_cost = isset($wcfmmp_shipping_by_distance['_local_pickup_cost']) ? $wcfmmp_shipping_by_distance['_local_pickup_cost'] : '';just after line 96.
Modify line
if( $max_distance && ( $distance > $max_distance )) {
by
if( $max_distance && ( $distance > $max_distance ) && $enable_local_pickup != "yes") {In the if($products) replace first
// Register the rate $this->add_rate( $rate );BY
// Register the rate if( $max_distance && ( $distance > $max_distance )) { } else { $this->add_rate( $rate ); }I’m testing, not sure of all impacts at this time…
Hello,
I have the same problem… Do you have some idea to resolve that ?
Hello,
Same issue here 🙂 Some news since last months ?
In my case : with ‘ in title i have \’
For example : “Vive l’hiver” is appear “Vive l\’hiver”…
Locale is FR-fr
Thanks for your help !
Have a nice day
Viewing 3 replies - 1 through 3 (of 3 total)