Vendre par multiple de 6

// check that cart items quantities totals are in multiples of 6 add_action( ‘woocommerce_check_cart_items’, ‘woocommerce_check_cart_quantities’ ); function woocommerce_check_cart_quantities() { $multiples = 6; $total_products = 0; foreach (...

Order Test – Fake Pay

/** * Name: WooCommerce Order Test * URI: http://www.wpfixit.com */ function sb_wc_test_init() { if (!class_exists(‘WC_Payment_Gateway’)) { return; } class WC_Gateway_sb_test extends WC_Payment_Gateway { public function __construct() { $this->id =...

Product category on body class

/** * @snippet Product Category > Body CSS Class @ Single Product * @how-to Get CustomizeWoo.com FREE * @author Rodolfo Melogli * @testedwith WooCommerce 3.9 * @donate $9 https://businessbloomer.com/bloomer-armada/ */ add_filter( ‘body_class’,...