WP Trio
Forum Replies Created
-
Forum: Plugins
In reply to: [Conditional Shipping for WooCommerce] PHP errorHi,
Thank you for taking time to report this issue.
It seems there is a minor bug in Conditional Shipping which causes the warning message. It’s just a warning message and shouldn’t affect functionality unless you have WP_DEBUG_DISPLAY toggled on. It’s recommended to keep that off for production so minor warning messages don’t break the site.
I will fix the warning message asap but in the meantime you can also fix it by saving each ruleset once or toggling WP_DEBUG_DISPLAY off.
Closing this now but feel free to reopen if you need further help.
Hi Peter,
If you want to get that 70 (or whatever you set it to), you first need to find the correct ruleset and after that check it conditions. You can get all rulesets with this function:
woo_conditional_shipping_get_rulesetsIt will return objects of type
Woo_Conditional_Shipping_Rulesetin an array. You can find the correct ruleset by title for example ($ruleset->get_title()). After that you can get conditions like this:$ruleset->get_conditions()It will return conditions in an array. The value (70) should be found in
$condition['value']. You will of course need to check type ($condition['type']) that it issubtotal.Hope this gives you some idea how it can be retviered programmatically. Closing this now but please reopen if you have any questions.
Forum: Plugins
In reply to: [Stock Sync for WooCommerce] Third party StockUnfortunately this plugin only supports WooCommerce – WooCommerce syncing. For updating from external source you would need another solution, for example WP All Import / Export might work.
Closing this now but feel free to reopen if you have any questions.
Forum: Plugins
In reply to: [Stock Sync for WooCommerce] Duplicate sku issue?Hi,
I’m afraid duplicate SKUs are not supported by Stock Sync and this assumption has been hard-coded into the plugin in a way that makes it not possible to add native support in future either. WooCommerce also enforces unique SKUs by default (but there is a hook to disable it of course).
However, this doesn’t mean you couldn’t make it work with a little bit of customization. If you have two products with the same SKU and one is updating correctly, it could be possible to hook into syncing process and trigger stock update for the other as well. You can use this hook which is fired after Stock Sync receives update request from the other site:
do_action( "woocommerce_rest_insert_{$this->post_type}_object", $object, $request, false );Post type in this hook would be product or product_variation if I recall correctly. Simply check if product’s ($object) SKU is present in other products on the site and then update stock of those products.
Please note that if your code triggers woocommerce_product_set_stock action when you sync stock across same SKUs, that will likely trigger unnecessary syncing. So you might have to update stock via post meta directly if it syncs unnecessarily.
This obviously will need a bit of coding from your end but I hope this helps even a little. Closing this now but feel free to reopen if you have any questions.
Hi,
Some 3rd party shipping plugins have different shipping method IDs in admin and checkout which causes issues like this. For Flexible Shipping we already have implemented support but not for Weight Based Shipping (as of yet).
There is a simple helper plugin which should fix the issue for all 3rd party shipping plugins. Please see here for usage instructions (Support for dynamic shipping rates). It works for free version of this plugin as well.
Closing this now but please reopen if the issue persists even with the helper plugin.
Forum: Plugins
In reply to: [Conditional Payments for WooCommerce] Disable all PHP errorThank you, that error message and couple others have now been removed in the latest version 2.3.1.
My bad, the error messages have been now removed in 2.3.1. Thanks for reporting this.
Forum: Plugins
In reply to: [Conditional Payments for WooCommerce] Disable all PHP errorThanks for taking time to report this issue. Would you mind sharing what are the exact error messages you are getting?
Forum: Plugins
In reply to: [Stock Sync for WooCommerce] Duplicated ordersHi,
No, this plugin shouldn’t cause duplicate orders as it only monitors stock changes and syncs them. You can of course confirm this by disabling the plugin temporarily and check if there still are duplicates.
If you have duplicate orders only in the export file (and not in WooCommerce admin) then it’s likely an issue with the export plugin.
Closing this now but feel free to reopen if the issue only happens when Stock Sync is activated.
The error message seems to be related to another plugin named stock-and-orders-sync-for-woocommerce-secondary-site. Stock Sync for WooCommerce slug would be stock-sync-for-woocommerce.
Unfortunately I cannot help you with issues related to other plugins or customized versions of this plugin so closing this now, but feel free to reopen if I’m mistaken.
Forum: Plugins
In reply to: [Stock Sync for WooCommerce] Is there pagination in pro version?Hi,
Yes, there is pagination in Pro as it supports unlimited products. If you have any further questions regarding Pro, please contact us via WooElements.com. WordPress.org guidelines don’t allow us to discuss paid features here 🙂
As for other questions:
2) Secondary site will need the plugin activated as well because the plugin defines custom REST API endpoint for syncing stock. Without the plugin activated on Secondary the connection wouldn’t work.
3, 5 & 6) Pushing will work in both versions, however the plugin is designed only to sync stock quantities, not other product data such as images, titles, descriptions etc. You will need to enable stock management for a product in order for syncing to work.
4) Products are matched by SKU between sites so yes.
Closing this now but feel free to reopen if you have any questions.
Forum: Plugins
In reply to: [Conditional Shipping for WooCommerce] Error NoticeThe error message very likely comes if you haven’t selected any shipping methods in the following field: https://wooelements.com/wp-content/uploads/2021/12/missing-shipping-methods.png
I’m closing this now but feel free to reopen if the issue is not solved.
Thank you for reporting the issue. This has been now fixed in the latest version 2.2.3.
Thanks for the clarification. In that case it should show all payment methods except wire transfer, correct?
A ruleset something like this should work:
Products – includes – [product NOT allowing wire transfers]
Disable payment methods – [wire transfer method]Do you have this kind of ruleset and if so, any other rulesets which might override it? You can also post screenshots of your rulesets so I can have a look. Thanks!