Kader Ibrahim S. a11n
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce Analytics] Your store data will start syncing momentarily…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.
Forum: Plugins
In reply to: [WooCommerce Analytics] Your store data will start syncing momentarily…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.
Forum: Plugins
In reply to: [WooCommerce Analytics] Your store data will start syncing momentarily…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:
- 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.
- 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.
Forum: Plugins
In reply to: [Meta for WooCommerce] Facebook for WooCommerce plugin Critical ErrorHello there,
Thank you for reaching our support. Can you please delete your
wp-content/plugins/facebook-for-woocommercefolder and reinstall the plugin? The issue you’ve raised could be due to an outdated plugin. The latest plugin version isv3.2.2. Please let us know if the issue persists after update.Thanks.
Forum: Plugins
In reply to: [Meta for WooCommerce] createOnBehalfOfRelationship is not a functionHello @alexdigital
Thank you for reaching us. We’ve identified this
createOnBehalfOfRelationship is not a functionissue 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.- This reply was modified 2 years, 1 month ago by Kader Ibrahim S. a11n.
Forum: Plugins
In reply to: [Meta for WooCommerce] critical error after updateHello @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.
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_localeto filter out the fields.Hope this helps.
Forum: Plugins
In reply to: [WooCommerce] Sent out emails in site language (instead of admin)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.phpfile. Once added, the above code will set the email locale asen_USonly for admin emails. All other customer emails default to the site locale.New Order,Failed OrderandCancelled Orderare 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.
Forum: Plugins
In reply to: [WooCommerce] Wocommerce duplicated content for nested categoriesHello @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.
Forum: Plugins
In reply to: [WooCommerce] My Account > OrderHello @tomenr,
Thank you for reaching out to WooCommerce support. You can override the cancel order URL by using the
woocommerce_get_cancel_order_urlfilter. 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.
Forum: Plugins
In reply to: [WooCommerce] Password ParametersHello @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.
Forum: Plugins
In reply to: [WooCommerce] Developer API – filter orders by country?Hello @arrchnumbat,
Thank you for getting back. I understand that the recommended solution is not working. The reason is that the
meta_keyis not a query argument for the request; hence, it gets removed. However, we can easily override it with thewoocommerce_rest_{$this->post_type}_object_queryfilter. 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_countryparam in the query argument and adding it to themeta_keyargument. Once you add the above code to your child theme’sfunctions.php, you can access the REST API URL like this:wp-json/wc/v3/orders/?billing_country=USPlease 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.
Forum: Plugins
In reply to: [WooCommerce] Price Range Layout for Shop PageHello there,
Thank you for reaching out to WooCommerce support. To answer your questions:
- To change the price HTML for variable products, please use this custom code: https://gist.github.com/ibndawood/3b780274a52bbf444683d07bdaa7eb99
- 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/
- 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.
Forum: Plugins
In reply to: [WooCommerce] Syntax Error – Location and Suggested FixHello @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.
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.