Maximus697
Forum Replies Created
-
Forum: Plugins
In reply to: [LiteSpeed Cache] Problem with Google analyticsHi,
Yes sorry, because I forgot to check the “Enable Standard Tracking” box on the plugin
Forum: Plugins
In reply to: [LiteSpeed Cache] Problem with Google analyticsHi,
I found the problem. It’s good
Thank u
Forum: Plugins
In reply to: [LiteSpeed Cache] Problem with Google analyticsHi,
I don’t know but it’s working.
After optm there are :
<link rel=”dns-prefetch” href=”//www.google-analytics.com”>
<link rel=”dns-prefetch” href=”//www.googletagmanager.com”>
<link rel=”dns-prefetch” href=”//www.googletagservices.com”>Forum: Plugins
In reply to: [LiteSpeed Cache] Problem with Google analyticsI tried to put:
http://www.google-analytics.com/analytics.js
http://www.googletagmanager.com/gtag/js
http://www.googletagmanager.com/gtm.js
http://www.googletagservices.com/tag/js/gpt.jsin JS deferred excludes but It’s doesn’t work
Forum: Plugins
In reply to: [Custom Order Status for WooCommerce] API RESTHi,
The complete solution is:
add_filter(‘wc_order_statuses’, ‘wc_order_statuses_custom’);
function wc_order_statuses_custom($order_statuses) {
$order_statuses[‘wc-processing-cec’] = _x( ‘En attente d\’expédition’, ‘Order status’, ‘woocommerce’ );
$order_statuses[‘wc-despatched’] = _x( ‘Expédié’, ‘Order status’, ‘woocommerce’ );
$order_statuses[‘wc-in_preparation’] = _x( ‘Prise en charge par cec’, ‘Order status’, ‘woocommerce’ );
$order_statuses[‘wc-failed-cec’] = _x( ‘Erreur logisitque CEC’, ‘Order status’, ‘woocommerce’ );return $order_statuses;
}function custom_post_status(){
register_post_status( ‘wc-processing-cec’, array(
‘label’ => _x( ‘Processing CEC’, ‘recipes’ ),
‘public’ => false,
‘exclude_from_search’ => true,
‘show_in_admin_all_list’ => true,
‘show_in_admin_status_list’ => true,
‘label_count’ => _n_noop( ‘Processing CEC <span class=”count”>(%s)</span>’, ‘Processing CEC <span class=”count”>(%s)</span>’ ),
) );register_post_status( ‘wc-despatched’, array(
‘label’ => _x( ‘Despatched CEC’, ‘recipes’ ),
‘public’ => false,
‘exclude_from_search’ => true,
‘show_in_admin_all_list’ => true,
‘show_in_admin_status_list’ => true,
‘label_count’ => _n_noop( ‘Despatched CEC <span class=”count”>(%s)</span>’, ‘Despatched CEC <span class=”count”>(%s)</span>’ ),
) );register_post_status( ‘wc-in_preparation’, array(
‘label’ => _x( ‘In preparation CEC’, ‘recipes’ ),
‘public’ => false,
‘exclude_from_search’ => true,
‘show_in_admin_all_list’ => true,
‘show_in_admin_status_list’ => true,
‘label_count’ => _n_noop( ‘In preparation CEC <span class=”count”>(%s)</span>’, ‘In preparation CEC <span class=”count”>(%s)</span>’ ),
) );register_post_status( ‘wc-failed-cec’, array(
‘label’ => _x( ‘Failed CEC’, ‘recipes’ ),
‘public’ => false,
‘exclude_from_search’ => true,
‘show_in_admin_all_list’ => true,
‘show_in_admin_status_list’ => true,
‘label_count’ => _n_noop( ‘Failed CEC <span class=”count”>(%s)</span>’, ‘Failed CEC <span class=”count”>(%s)</span>’ ),
) );
}
add_action( ‘init’, ‘custom_post_status’ );Forum: Plugins
In reply to: [Custom Order Status for WooCommerce] API RESTIt works, we had to add the filter
add_filter(‘wc_order_statuses’, ‘wc_order_statuses_custom’);
Forum: Plugins
In reply to: [Sequential Order Numbers for WooCommerce] Return post ID and not order IDHi,
Yes I use the default standard gateway
When a user buys on the site with paypal, the new order email sent to me.. send me the post ID and not the sequential number. But it works well with stripe..
Thx
Forum: Plugins
In reply to: [Giftable for WooCommerce] Bug with wpmlOk good
You’re welcome
Forum: Plugins
In reply to: [Giftable for WooCommerce] Bug with wpmlHi,
I find 🙂
public static function get_currencies()
{
global $woocommerce_wpml;$currencies = array();
// first check for WooCommerce Multilingual currencies
if (class_exists(‘woocommerce_wpml’) && defined(‘WCML_MULTI_CURRENCIES_INDEPENDENT’)) {//$woocommerce_wpml = woocommerce_wpml::instance();
//$woocommerce_wpml_settings = woocommerce_wpml::instance()->get_settings();if ($woocommerce_wpml->settings[‘enable_multi_currency’] === WCML_MULTI_CURRENCIES_INDEPENDENT) {
– Add : global $woocommerce_wpml;
– Set comment : $woocommerce_wpml = woocommerce_wpml::instance(); and $woocommerce_wpml_settings = woocommerce_wpml::instance()->get_settings();
– Modify $woocommerce_wpml_settings[‘enable_multi_currency’] —> $woocommerce_wpml->settings[‘enable_multi_currency’]It’s work
Forum: Plugins
In reply to: [Gravity Forms To Excel AddOn] Multi siteHi,
I fixed this problem by including the “gravity forms” file in your plugin
thank you