Sélectionner une page

Woocommerce exemple calcul expédition

Vous êtes ici:

OBJECTIFS

Calculer les frais d'expédition.

CODE

Additional cost – in Cost, you may also add the cost for the number of products in the cart. Here are the available options:

[qty] – the number of items in the cart,
[fee] – additional cost with two parameters:
percent – the percentage of the entire order,
min_fee – the minimum additional cost, useful when using percentage,
max_fee – the maximum additional cost, useful when using percentage.

Examples:

10 + ( 1 * [qty] ) – the shipping will cost 10 USD plus 1 USD for each item in the cart,
20 + [fee percent=”10” min_fee=”4” max_fee=”10”] – the shipping will cost 20 USD plus 10% of the order, but not less than 4 USD and not more than 10 USD.

 

+D'INFOS

-