This topic has 2 replies, 2 voices, and was last updated 8 years, 4 months ago ago by Eva Kemp
Hi !
1) I would to add a code (or other solution) to make customer to add a minimum cost order before be able to process to payment.
The one I’ve found doesn’t work :
add_action('woocommerce_before_checkout_process','mgris_minimum_order');
function mgris_minimum_order() {
global $woocommerce;
// Modifier la variable $minorder par votre montant minimum.
$minorder = 15.00;
$panier = $woocommerce->cart->subtotal;
if($panier<$minorder) {
$woocommerce->add_error( sprintf(__('Désolé, pour pouvoir réaliser une commande en ligne, le montant de ton panier doit être supérieur à <strong>' . $minorder . '</strong> €. <br /><a href="%s">Retour à la boutique →</a><br />', 'textdomain'), get_permalink( woocommerce_get_page_id('shop') ) ) );
}}
2) I would like to add a pluggin or sth to let customer choose shipping time (hour: betwenn X and Y) > here is an exemple.
Please can you help me ?
TKS
Eli
Hello,
We’re sorry, but our theme doesn’t have such features, and they are related to Woocommerce options, not to the theme. You may ask on their support or find some plugins.
Regards,
Eva Kemp.
You must be logged in to reply to this topic.Log in/Sign up