e; } $order = wc_get_order( get_post()->ID ); if ( ! $order ) { return false; } // At this point (no packaging data), only show if there's at least one existing and shippable product. foreach ( $order->get_items() as $item ) { if ( $item instanceof \WC_Order_Item_Product ) { $product = $item->get_product(); if ( $product && $product->needs_shipping() ) { return true; } } } return false; } /** * Checks if the store is in the US and has its default currency set to USD. * * @return bool */ private function store_in_us_and_usd() { $base_currency = get_woocommerce_currency(); $base_location = wc_get_base_location(); return in_array( $base_currency, $this->supported_currencies, true ) && in_array( $base_location['country'], $this->supported_countries, true ); } /** * Checks if WooCommerce Shipping & Tax is not installed. * * @return bool */ private function wcs_not_installed() { return ! $this->wcs_version; } /** * Checks if WooCommerce Shipping & Tax is up to date. */ private function wcs_up_to_date() { return $this->wcs_version && version_compare( $this->wcs_version, $this->min_wcs_version, '>=' ); } }
Warning: Class "Automattic\WooCommerce\Internal\Admin\ShippingLabelBannerDisplayRules" not found in /htdocs/wp-content/plugins/woocommerce/src/Admin/Features/Features.php on line 362
mai 2022 - Tisanes Africaines +22941426197

Archive du mois : mai 2022

Qu’est-ce Que La Maladie de Kawasaki

La maladie de Kawasaki est un état pathologie pédiatrique rare qui se manifeste dans une tranche d’âge de moins de 5 ans. Egalement appelé syndrome de Kawasaki d’origine immunologique, consistant en une vascularite fébrile...

Comment Se Débarrasser De L'Hydrosalpingite

Comment Se Débarrasser De L’Hydrosalpingite : Par Les Plantes Naturelles

Comment Se Débarrasser De L’Hydrosalpingite. Découvrez le traitement naturel par les plantes pour guérir l’hydrosalpingite sans effet de bord. Recevez désormais sur votre page, les actualités des traitements naturels. Prenez rendez-vous avec un phytothérapeute...

💬 Aide?