Fernando Marichal
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Error Processing Your OrderHello,
Thank you @prcm777, for sharing the error logs.
Based on the errors you’ve provided, it appears that the issue is related to your Avada theme. Specifically, the error is occurring due to the
FusionBuilder
andwp_check_post_lock
functions, which are part of the Avada theme or its related functionality. These errors suggest that certain theme files may not be working properly with WooCommerce.As a first step, I recommend temporarily switching to a default WordPress theme, like Storefront or Twenty Twenty-Four, to see if the issue persists. If the problem is resolved when switching themes, then it’s likely that the Avada theme is causing the conflict.
Please try disabling the Avada theme and let us know if the issue is resolved. If it is, you may need to reach out to Avada’s support team for a deeper investigation into the compatibility with WooCommerce.
Once you’ve tested this, please let us know how it goes, and we can assist you further if needed.
Thanks!
Forum: Plugins
In reply to: [WooCommerce] How to Change Continue Shopping Text on Cart Pagestr_replace
is case sensitive, so if the text you see is: “Continue Shopping”, you should replace “Continue shopping” with “Continue Shopping”.function custom_continue_shopping_button_text( $message, $products, $show_qty ) {
// Replace 'Continue shopping' with your custom text
$custom_text = 'Explore More Services';
// Replace the existing 'Continue Shopping' text in the message
$message = str_replace( 'Continue Shopping', $custom_text, $message );
return $message;
}
add_filter( 'wc_add_to_cart_message_html', 'custom_continue_shopping_button_text', 10, 3 );Just to check, you’re adding the code snippet in the
functions.php
file that your active theme is using, right?That code adds a filter to wc_add_to_cart_message_html and replaces the text we will show there; however, a plugin or theme could also be using that hook, preventing our changes from happening.
Forum: Plugins
In reply to: [WooCommerce] How to Change Continue Shopping Text on Cart PageHi @belleo , thank you for reaching out,
You can try using the hook:
wc_add_to_cart_message_html
I think that a code like this might help:
function custom_continue_shopping_button_text( $message, $products, $show_qty ) {
// Replace 'Continue shopping' with your custom text
$custom_text = 'Explore More Services';
// Replace the existing 'Continue shopping' text in the message
$message = str_replace( 'Continue shopping', $custom_text, $message );
return $message;
}
add_filter( 'wc_add_to_cart_message_html', 'custom_continue_shopping_button_text', 10, 3 );Please let me know if that code worked for you.
- This reply was modified 2 months, 3 weeks ago by Fernando Marichal.
Forum: Plugins
In reply to: [WooCommerce] Can’t create variations for productsHi @birdiedesign, thank you for reporting this.
After testing in different environments, I couldn’t reproduce this bug.
The PR that @fallbrookian mentioned affects the visibility of bulk actions but not the buttons
Generate variations
orAdd manually
.Could you try disabling every plugin except WooCommerce?
What browser are you using?
Could you also share the steps you took to encounter that error? There are multiple things that could affect the results.
Are you trying to generate variations only for global attributes?
Forum: Plugins
In reply to: [WooCommerce] Hide woocommerce backend elementsHey @ecommpower,
The form fields can be accessed using the filter
woocommerce_admin_shipping_fields
.For instance, to hide the fields you mentioned, you could use a code similar to this:
function custom_admin_shipping_fields( $fields ) { unset( $fields['city'] ); unset( $fields['postcode'] ); return $fields; } add_filter( 'woocommerce_admin_shipping_fields', 'custom_admin_shipping_fields', 10, 1 );
Hi @juandava26,
when I export the csv file, the columns for the attributes are ok with o “0” for the global, and “0” for visible, but still like that the attributes are taken as “used for variations” by default.
Unfortunately, it’s not possible to do that by default. When you export a
csv
file, the “used for variations” option is marked by default.Forum: Plugins
In reply to: [WooCommerce] woocommerce_add_order_item_meta is deprecatedHey @greencode,
As I mentioned before, you are trying to use a hook as a method.
add_action ('woocommerce_new_order_item', 'add_item_meta', 10, 2); function add_item_meta( $item_id, $values ) { ----> woocommerce_add_order_item_meta( $item_id, 'Flavours', $values['_goodlen'] ); }
So instead of this line
woocommerce_add_order_item_meta( $item_id, 'Flavours', $values['_goodlen'] );
you should add your code to extend the WooCommerce functionalities.Please take a look at these two articles:
– https://developer.www.ads-software.com/plugins/hooks/actions/
– https://developer.www.ads-software.com/plugins/hooks/Forum: Plugins
In reply to: [WooCommerce] Analytics date pickerHi @ddelacruz25,
Thank you for reaching out. There is a bug reported a few days ago related to the date picker in WordPress 6.1. It will be fixed in WooCommerce 7.2.0 (release date December 13th).
Please let us know if the problem continues after updating WooCommerce.
Thanks!
Fernando
WooCommerce | AutomatticForum: Plugins
In reply to: [WooCommerce] API IssuesHello @fapoo,
Thank you for reaching out. It seems like you have an authentication issue:
message=Invalid signature – provided signature does not match
This is covered in the WooCommerce REST API documentation:
https://woocommerce.github.io/woocommerce-rest-api-docs/#authentication-over-https
I hope my answer helps.
Forum: Plugins
In reply to: [WooCommerce] woocommerce_add_order_item_meta is deprecatedHi @greencode,
Thank you for reaching out. The action that you are using (
woocommerce_add_order_item_meta
) has been deprecated and you should usewoocommerce_new_order_item
instead.In the code that you shared, the action hook
woocommerce_add_order_item_meta
is also being used as a method. That’s not expected for a hook.In summary, your code should look like this:
add_action ('woocommerce_new_order_item', 'add_item_meta', 10, 2); function add_item_meta( $item_id, $values ) { // your code will be here. }
I hope my answer helps. Please, take a look at the hooks documentation as well.
Thanks!
Forum: Plugins
In reply to: [WooCommerce] Status on woocommerce analyticsHi @ridetheonda,
Thank you for reaching out. Sometimes it takes a couple of hours to update the data used for analytics.
If you want to execute the process that updates the data manually, please install and activate a plugin like WP Crontrol.
And under Tools -> Cron Events, run wc_admin_dailyPlease let us know how it goes.
Thanks!
Forum: Plugins
In reply to: [WooCommerce] Cancel EmailsHi @ofive,
Thank you for reaching out. Right now, it’s not possible to cancel automatic emails for specific products.
However, I kindly invite you to add that suggestion as an Enhancement Request in the WooCommerce repository on GitHub.
Thank you for your suggestions.
Hi @sheratsuki,
Thank you for reaching out. I was able to reproduce the error and created this GitHub issue to follow up on the bug.
Thank you for reporting this problem; we will be working to fix it.
Forum: Plugins
In reply to: [WooCommerce] WooCommerce analytics problemHi Navid,
Thank you for reaching out. That bug was reported a few days ago, and it will be fixed on WooCommerce 7.2.0 (release date December 13th).
Please let us know if the problem continues after updating WooCommerce.
Thanks!
Fernando
WooCommerce | AutomatticHi @dayley,
Thank you for your comment.
Just to confirm, are you installing the latest WooCommerce Admin version?
Are you manually uploading theWooCommerce Admin
.zip
file?Thank you!