WP Trio
Forum Replies Created
-
Hello,
Thanks for the screenshots.
The ruleset and settings look absolutely correct. The only thing I can think of is that the shipping method IDs are not matching between settings and checkout. This can happen with live rates (e.g. UPS or FedEx) which fetch shipping methods in real time.
Does it work if you use Match by name option in Disable shipping methods? It uses shipping method names instead of IDs. Please see here where you can find it. You can enter multiple names, one per line and use wildcards (*) to match all methods starting with a word.
Hi,
The error message seems to be related to another plugin. I think it’s this one: https://wordpress.org/support/plugin/conditional-payments/
Closing this now but feel free to reopen if you have any questions.
Forum: Plugins
In reply to: [Stock Sync for WooCommerce] QuestionThe plugin will be updated for the foreseeable future, there are no plans to retire it.
There is a premium version available, you can find the link in the plugin description. For any questions about it please contact us via wptrio.com as it’s against WordPress.org guidelines to discuss about it here.
Forum: Plugins
In reply to: [Stock Sync for WooCommerce] QuestionThe plugin uses SKUs to match products so you can have different product names and other details. As long as SKUs are matching, it will sync stock changes between the stores.
Closing this now but feel free to reopen if you have any questions.
Hello,
WooCommerce finds the first matching zone and skips the rest. This means that all shipping methods need to be in a single zone for a single region.
The ruleset you’ve looks correct so does it work if you remove the other zone and have the shipping methods in a single zone? Also don’t forget to update the ruleset once you’ve rearranged zones.
If this doesn’t work, please enable debug mode at WooCommerce > Settings > Shipping > Conditions > Debug mode. It will show how rulesets are working in the checkout like this:

It should reveal if there are interfering rulesets or another plugin is affecting availability.
Hope this helps. Closing this now but feel free to reopen if you need further help.
Forum: Plugins
In reply to: [Stock Sync for WooCommerce] Invalid response code 403Hi Vadim,
Cloudflare considers Stock Sync for WooCommerce a bot (which it kind of is) and thus blocks it. Fortunately, Cloudflare offers a way to whitelist internal traffic.
- First you will need to find the IP address of your web hosting. Usually this is displayed in your web hosting panel (cPanel or Plesk) or you can use tool like NSLookup.io to find it
- Log in to Cloudflare
- Click on your site under Websites
- Go to Security > WAF and click Create rule
- Under If incoming requests match…, enter IP Source Address – equals – [your web hosting IP address]
- Under Then take action…, select Skip
- Under WAF components to skip, check everything, also under More components to skip
- Click Deploy
If your websites reside on different servers, you can use is in list instead of equals in the step 4 to allow multiple IP addresses.
After this Cloudflare should consider all internal traffic including stock syncing requests safe.
Closing this now but feel free to reopen if you need further help.
- This reply was modified 2 years, 8 months ago by WP Trio. Reason: added more info
Forum: Plugins
In reply to: [Stock Sync for WooCommerce] API user has invalid permissionsHello,
In the debug response it’s mentioned that access is denied:
Access to this resource on the server is denied!
This means that your web hosting is blocking the REST API connection for some reason. You will need to ask them to open it. Stock Sync for WooCommerce uses WooCommerce REST API for communication if they need more information.
Closing this now but feel free to reopen if you need further help.
Forum: Plugins
In reply to: [Conditional Shipping for WooCommerce] Make translatable the pluginHi David,
Thanks for taking time to let me know about this issue. This has now been fixed and the plugin can be translated. I appreciate your help with the translation!
Hello,
There is Subtotal includes coupons which controls whether discounts are calculated into subtotal:

Please try to check it if it’s unchecked now.
There is also a debug mode which is helpful for finding issues with rulesets. You can enable it at WooCommerce > Settings > Shipping > Conditions > Debug mode. Once it’s enabled, it’s available in the checkout:

Closing this now but feel free to reopen if the issue persists.
Hello,
Yes, this is possible either with Products or Total Weight condition. Something like this should work:
Products – include – [heavy items]
Disable shipping methods – Free shippingOr
Total Weight – greater than – [heavy item threshold]
Disable shipping methods – Free shippingThis will hide Free shipping whenever there are heavy items in the cart or the weight threshold is exceeded.
Closing this now but feel free to reopen if you have any questions.
Forum: Plugins
In reply to: [Conditional Shipping for WooCommerce] ACF supportHi Jeffrey,
Unfortunately this plugin doesn’t support ACF fields. However, you can use
woocommerce_package_rateshook to modify shipping methods based on ACF fields. This is the same hook that Conditional Shipping for WooCommerce uses. You can check functionfilter_shipping_methodsinincludes/frontend/class-woo-conditional-shipping-frontend.phpto see how it works.Closing this now but feel free to reopen if you have any questions.
Forum: Plugins
In reply to: [Conditional Payments for WooCommerce] HPOS – plugin compatibilitySupport for HPOS has now been added in the latest release 3.0.1.
Closing this now but feel free to reopen if you have any questions.
Hello,
Support for HPOS has now been added in the latest release 3.1.0.
Closing this now but feel free to reopen if you have any questions.
Forum: Plugins
In reply to: [Conditional Payments for WooCommerce] Filtering issuesHello,
Thanks for reporting this issue.
It seems that the payment gateway plugins defines the payment methods dynamically (the ones with extra suffix) and Conditional Payments doesn’t detect them correctly.
To fix this you will need to register the custom payment methods with a WP filter:
<?php add_filter( 'wcp_payment_method_options', function( $methods ) { // Register custom payment methods here $methods['custom_method_id'] = 'Custom method title'; $methods['custom_method_id_2'] = 'Custom method title 2'; return $methods; } );This will allow you to add new options to Disable / Enable payment methods select list. Just replace custom_method and Custom method title in the code with przelewy24_extra_154 and so on. You can add the snippet with Code Snippets or to your theme’s functions.php file.
Marking this as solved now but feel free to reopen if you need further help.
Forum: Plugins
In reply to: [Conditional Payments for WooCommerce] HPOS – plugin compatibilityHello,
Thanks for reaching out. Support for HPOS is coming in August, I will let you know once it’s ready for download.