Casper
Forum Replies Created
-
Forum: Plugins
In reply to: Minimum order per shipping methodI try this code buy seem it does not work :
function my_minimum_limit_shipping_rates_function( $rates, $package ) {
$shipping_minimum = 10; // The maximum amount would be $10.50
$only_apply_to_rates = array( ‘263021’, ‘flat_rate’ ); // Enter the shipping IDs here
// Loop through all rates
foreach ( $rates as $rate_id => $rate ) {
// Skip the shipping rates that are not in the list
if ( ! in_array( $rate_id, $only_apply_to_rates ) ) {
continue;
}
// Check if the rate is higher then a certain amount
if ( $rate->cost < $shipping_minimum ) {
$rate->cost = $shipping_minimum;
}
}
return $rates;
}
add_action( ‘woocommerce_package_rates’, ‘my_minimum_limit_shipping_rates_function’, 10, 2 );Forum: Plugins
In reply to: [WooCommerce] minimum order valueGot the same problem, i need to have a minimum purchase each using store pickup and flat rate.
Forum: Plugins
In reply to: [WooCommerce] Minimum Order Amount IF Local PickUp not selectedHi i was also looking for this solution, hope someone could help us on this.
Forum: Plugins
In reply to: [WooCommerce] Show local pickup and free shipping when minimun amount is setJust solve it 🙂
Does anyone fix this one? GetBowtied just replied that they are not offering support for a third part plugin…
Forum: Reviews
In reply to: [YITH WooCommerce Wishlist] not working – wishlist page doesn't existHave the same problem i already try regenerate permalink, but still the same no product been added after clicking the wishlist heart. And i dont used any cache plugin.