Forum Replies Created

Viewing 15 replies - 1 through 15 (of 74 total)
  • Glad your issue is resolved. Please do not hesitate to reach us should you have further questions in a new topic. I’ll now mark this topic as resolved.

    Thank you, Gerske, for the SSR. Can you please share with us your website URL as well? This will help us run the sync debugger.

    I also recommend that you try to trigger the sync manually by going to WooCommerce > Status > Tools > WooCommerce Analytics data synchronization. More details here.

    Let us know how the manual sync trigger goes as well as the website URL.

    Hello Gerske,

    Thank you for trying out our plugin. I understand that the Order Attribution reports screen is stuck at “Your store data will start syncing momentarily…”. The normal behaviour is that the data sync is triggered, and you’ll be able to see its progress. The behaviour you’ve described means that there is an issue triggering the sync.

    Our next step is to determine why the sync is not getting triggered. To help us troubleshoot your issue, please provide:

    1. A link to your site: You can put this URL in the “Link to the page you need help with” field when creating a new forum topic.
    2. System Status Report: This gives us additional information that can help us determine the cause of the issue. You can find the SSR in wp-admin, go to WooCommerce > Status, click the “Get system report” button, and then click “Copy for GitHub”. Paste the result into a new line when composing your forum topic.

    Please let us know these details to proceed further.

    Hello there,

    Thank you for reaching our support. Can you please delete your wp-content/plugins/facebook-for-woocommerce folder and reinstall the plugin? The issue you’ve raised could be due to an outdated plugin. The latest plugin version is v3.2.2. Please let us know if the issue persists after update.

    Thanks.

    Hello @alexdigital

    Thank you for reaching us. We’ve identified this createOnBehalfOfRelationship is not a function issue in our middleware. We’ve resolved it on our side. Can you please try again and let us know if the issue persists? Please make sure you’ve the latest version of the plugin.

    Hello @antonic93,

    Thank you for reaching out to our support and reporting this issue. To assist you further, we’d have to look into the complete stack trace. Can you please share with us the full error log? You can view the logs from WooCommerce > Status > Logs.

    Please let us know.

    Plugin Support Kader Ibrahim S. a11n

    (@kaderibrahim)

    I reached out to the team that develops the Checkout blocks and I am told that it is not recommended to remove the fields as they could have unintended consequences like breaking tax for example.

    At this point, we do not have documentation on how to remove it. Alternatively, you can use the filter woocommerce_get_country_locale to filter out the fields.

    https://github.com/woocommerce/woocommerce/blob/124aeb746710a258f4d66dec4d333dd6cc9818dc/includes/class-wc-countries.php#L795

    Hope this helps.

    Plugin Support Kader Ibrahim S. a11n

    (@kaderibrahim)

    Hello @barthdesigns,

    Thank you for getting back. WooCommerce is a highly customisable software with tons of actions and hooks, allowing users to add their own customisations.

    In your case, we can achieve your requirement using custom coding. For example:

    add_filter( 'woocommerce_allow_switching_email_locale', 'wc_child_switch_email_locale', 10, 2 );
    add_filter( 'woocommerce_allow_restoring_email_locale', 'wc_child_switch_email_locale', 10, 2 );
    
    function wc_child_get_email_locale() {
    	return 'en_US';
    }
    
    function wc_switch_to_admin_locale() {
    	global $wp_locale_switcher;
    
    	if ( function_exists( 'switch_to_locale' ) && isset( $wp_locale_switcher ) ) {
    		switch_to_locale( wc_child_get_email_locale() );
    
    		// Filter on plugin_locale so load_plugin_textdomain loads the correct locale.
    		add_filter( 'plugin_locale', 'wc_child_get_email_locale' );
    
    		// Init WC locale.
    		WC()->load_plugin_textdomain();
    	}
    }
    
    function wc_child_switch_email_locale( $switch_email_locale, $email ) {
    	if ( false === $email->is_customer_email() ) {
    		wc_switch_to_admin_locale();
    	} else {
    		wc_restore_locale();
    	}
    	return $switch_email_locale;
    }

    The above code should go into your child theme’s functions.php file. Once added, the above code will set the email locale as en_US only for admin emails. All other customer emails default to the site locale. New Order, Failed Order and Cancelled Order are the only three admin emails and rest are customer emails.

    I hope this helps you. Please note that the above code is only to demonstrate the customisability of WooCommerce. I request you to test it out thoroughly before using it in production.

    Please do not hesitate to try out our AutomateWoo extension, which allows you to quickly build workflows without worrying about writing custom codes.

    Plugin Support Kader Ibrahim S. a11n

    (@kaderibrahim)

    Hello @csavulescu,

    Thank you for reaching out to WooCommerce support. The behaviour you’ve described about the nested category is not introduced by WooCommerce but by WordPress. The behaviour is consistent with how nested categories of blog posts behave.

    However, when viewing a product subcategory, WooCommerce generates a structured data markup for the category and sub-category that will enable search engines to identify the categories as parent-child correctly.

    Hope this answers your question. Please do not hesitate to reach us should you have any other questions.

    Plugin Support Kader Ibrahim S. a11n

    (@kaderibrahim)

    Hello @tomenr,

    Thank you for reaching out to WooCommerce support. You can override the cancel order URL by using the woocommerce_get_cancel_order_url filter. Here is an example:

    add_filter( 'woocommerce_get_cancel_order_url', 'wc_child_override_cancel_order_url' );
    
    function wc_child_override_cancel_order_url() {
    	return 'https://google.com/';
    }

    If added to your child theme’s functions.php file, the above code will replace the cancel order URL to https://google.com.

    Hope this helps. Please do not hesitate to reach us for further help or have any other questions.

    Plugin Support Kader Ibrahim S. a11n

    (@kaderibrahim)

    Hello @jatinsiyaldario,

    Thank you for reaching out to WooCommerce support. You can read about password strength here: https://make.ww.wp.xz.cn/core/2015/07/28/passwords-strong-by-default/

    Hope this helps. Please do not hesitate to reach us should you have more questions.

    Plugin Support Kader Ibrahim S. a11n

    (@kaderibrahim)

    Hello @arrchnumbat,

    Thank you for getting back. I understand that the recommended solution is not working. The reason is that the meta_key is not a query argument for the request; hence, it gets removed. However, we can easily override it with the woocommerce_rest_{$this->post_type}_object_query filter. Here is an example:

    add_filter( 'woocommerce_rest_shop_order_object_query', 'wc_enable_country_filter', 10, 2 );
    
    function wc_enable_country_filter( $args, $request ) {
    	$billing_country = $request->get_param( 'billing_country' );
    	if ( $billing_country ) {
    		$args['meta_key']   = '_billing_country';
    		$args['meta_value'] = $billing_country;
    	}
    	return $args;
    }

    In the above code, we override the shop order object query by checking for the billing_country param in the query argument and adding it to the meta_key argument. Once you add the above code to your child theme’s functions.php , you can access the REST API URL like this:

    wp-json/wc/v3/orders/?billing_country=US

    Please note the above code does not add any validation to the incoming params. Hence, I request you to add that in case you wish to use the above code.

    Hope this helps. Please let us know should have further questions.

    Plugin Support Kader Ibrahim S. a11n

    (@kaderibrahim)

    Hello there,

    Thank you for reaching out to WooCommerce support. To answer your questions:

    1. To change the price HTML for variable products, please use this custom code: https://gist.github.com/ibndawood/3b780274a52bbf444683d07bdaa7eb99
    2. To change the sale badge and show savings, please follow the instructions here: https://ibndawood.com/woocommerce-how-to-show-savings-in-an-onsale-product-instead-of-sale/
    3. To change the layout of the WooCommerce product item, please reach out to your theme support. If you are using WooCommerce’s default layout, you might need custom coding using actions and filters to rearrange the layout as per your requirement.

    Please note the above recommendations are useful for WooCommerce templates. If you are using WooCommerce blocks, you may use the block editor to achieve them.

    Hope this helps. Please do not hesitate to reach us if you have further questions.

    Plugin Support Kader Ibrahim S. a11n

    (@kaderibrahim)

    Hello @inboundhorizons,

    Thank you for reaching out to WooCommerce support. I truly appreciate you reporting this issue as well as the solution.

    I checked the WooCommerce codebase and I can see that the issue is already addressed here.

    Once again my sincere thanks to you.

    Plugin Support Kader Ibrahim S. a11n

    (@kaderibrahim)

    Hello @coccinelle13,

    Thank you for reaching out to WooCommerce support. I understand your frustration.

    The first step to resolving this issue is to identify the source of this issue. For this, I recommend using a staging site if available. I’d like you to try using flat-rate shipping, a core WooCommerce shipping option, and see if it works.

    If it does, I’d recommend reaching out to WooCommerce Table Rate Shipping plugin support as the most likely reason for this issue is coming from this plugin.

    Hope this helps. Please let us know how it goes.

Viewing 15 replies - 1 through 15 (of 74 total)