FOX - Professionnel du commutateur de devises WooCommerce

Vente en gros pour WooCommerce par WPExperts

URL du plug-in: https://woocommerce.com/products/wholesale-for-woocommerce/

  • dans le fichier wp-content\plugins\woocommerce-wholesale-pricing\inc\class-wwp-wholesale.php ajouter le code suivant:
    if (class_exists('WOOCS')) { global $WOOCS ; $min_wholesale_price = $WOOCS->woocs_exchange_value(floatval($min_wholesale_price)); $max_wholesale_price = $WOOCS->woocs_exchange_value(floatval($max_wholesale_price)); $min_original_variation_price = $WOOCS->woocs_exchange_value(floatval($min_original_variation_price)); $max_original_variation_price = $WOOCS->woocs_exchange_value(floatval($max_original_variation_price)); }

  • au même fichier ajoutez le code suivant :
    if (class_exists('WOOCS')) { global $WOOCS ; $r_price = $WOOCS->woocs_exchange_value(floatval($r_price)); $original_price = $WOOCS->woocs_exchange_value(floatval($original_price)); $wholesale_price = $WOOCS->woocs_exchange_value(floatval($wholesale_price)); }