opr18
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Country Dropdown in Cart UnresponsiveHi @jumpcutjeff I noticed the country field on your site is being targeted by “select2” which it should not be.
Something is importing
/wp-content/plugins/woocommerce/assets/js/frontend/checkout.min.js?ver=10.2.1Could you install and activate Query Monitor and then view the checkout page.
At the top, you’ll notice some numbers, e.g.
1.35s 19.3mb 0.03s 215qIf you click that, then go to Scripts, you will see a list of scripts at the bottom.
Please find the one that has the handle:
wc-checkoutand look at what its dependents are. If possible, also look forselect2and its dependents. This will give us a clue as to what is enqueuing it and causing the country field to be overwritten.Thanks!
Forum: Plugins
In reply to: [WooCommerce] OrdersHi @angusmansfield thanks for getting back to us
“You have multiple WordPress image optimisation plugins installed. This may cause unpredictable behaviour while optimising your images, inaccurate reporting, or images to not display. For best results use only one image optimiser plugin at a time. These plugins may cause issues with Smush:”
This does not seem related, although you may want to follow the advice on that notice.
As for the other plugins, have you had a chance to disable them one by one until you’re able to add orders manually again?
Thanks!
Forum: Plugins
In reply to: [WooCommerce] OrdersHere’s how to deactivate WordPress plugins:
- Go to WordPress admin -> Plugins -> Installed Plugins
- Select checkbox(s) next to plugin(s) to deactivate
- Choose “Deactivate” from the Bulk Actions dropdown
- Click “Apply”
- Alternatively, click “Deactivate” under individual plugin names
Please note that it’s probably best to do this in a staging environment as deactivating plugins will probably change how your site behaves. If you don’t have a staging site, then it may be best to do this during a low-traffic period for your site.
Once you’ve done the test you can reactivate them in the same way you deactivated them, jut choose “Activate” from the bulk actions dropdown.
Please let us know how it goes, thanks!
Forum: Plugins
In reply to: [WooCommerce] Fatal ErrorGlad to hear it, thanks for letting us know it fixed the issue for you. Have a great day too!
Forum: Plugins
In reply to: [WooCommerce] Fatal ErrorHi @jayharle thanks for reporting this issue, it’s not something we’ve seen come up yet, so I think it could be something to do with your site’s specific setup.
Given the error message, and it only happens to logged in customers, it could be to do with stale/invalid customer carts.
Can you try clearing customer sessions to clean out the carts? WooCommerce > Status > Tools > Clear customer sessions > Clear
Please note that this will clear all active customers’ carts, so any shoppers actively using the site would need to re-add the items, and any in-flight orders would likely fail, so you may want to wait until a quiet period to do this.
Forum: Plugins
In reply to: [WooCommerce] Update Alert Version 9.8.3Thanks for reporting this issue with version 9.8.3.
This behavior is unusual – we don’t have other reports of menu or category problems with this update.
To help troubleshoot, can you answer the following, and also help us out with a system status report? (https://woocommerce.com/document/understanding-the-woocommerce-system-status-report/#system-status)
- Which theme are you using?
- Do you have any plugins that modify menus or taxonomies?
- Did you try disabling all plugins temporarily?
- Does the issue persist if you switch to a default theme?
The issue is likely a theme/plugin conflict rather than the core update itself. Glad you had a backup ready!
Forum: Plugins
In reply to: [WooCommerce] Orders@angusmansfield thanks for the extra information, it would be helpful if you could share your System Status Report too.
https://woocommerce.com/document/understanding-the-woocommerce-system-status-report/#system-status
Would you please also try disabling all plugins besides WooCommerce to see if it starts working again? If so, you could re-enable plugins one by one until it stops working and then we would know if the issue lies with a specific plugin.
Thanks!
Forum: Plugins
In reply to: [WooCommerce] OrdersHi @angusmansfield sorry to hear you can’t add orders manually via the WP Admin dashboard. Is this after updating to WooCommerce 9.8.3 or is it unrelated to the recent update?
What happens when you try to do that? Do you see any error messages, does the site crash, or is it stuck loading forever?
If you could share screenshots of anything you see while experiencing this, it would be helpful.
Thanks!
Thanks for the info, which Checkout Field Editor are you using? It doesn’t seem to be possible to modify the postcode field via Woo’s Checkout Field Editor plugin
Do you also have ” Hide shipping costs until an address is entered” (In WC -> Settings -> Shipping -> Shipping Settings) set to true?
@d88pak hi! thanks for the status report on GitHub – please can you share what shipping zones, shipping methods, and shipping settings you have set up on your site? For example do you have any fallback or “Rest of the world” zones, or only country-specific zones?
Forum: Plugins
In reply to: [WooCommerce] Want to Display Custom Fields in checkoutHi @jadavsanjay thanks for your post.
You can use the Additional Checkout Fields API to do this in the Checkout block.
This system automatically includes the field and its value in the Order Confirmation page, Order admin, and admin/customer emails too.
Forum: Themes and Templates
In reply to: [Storefront] edit_post_link filterHi there @glouton, could you try adding the priority and accepted_args parameters to the
add_filterfunction, like so:add_filter(
'edit_post_link',
function( $link, $post_id, $text ) {
$post = get_post($post_id);
$slug = $post->post_name;
if ( 'my-slug' === $slug ) {
return '';
}
return $link;
},
10,
3
);The default value for the
accepted_argsis 1, but your closure is expecting 3, thereforeapply_filtersonly sends the first argument over, resulting in the error.Let me know how this goes!
Thanks, Thomas.
Forum: Plugins
In reply to: [WooCommerce] Issue with V9.2.2 and W3TCHi, this may be related to some changes we made to how the JavaScript is loaded for the Cart and Checkout pages. If you purge/clear your cache and re-enable it, does that fix the error?