Ron Rennick
Forum Replies Created
-
@webtoffeesupport Thanks for the quick turn around on the fix.
Forum: Plugins
In reply to: [WooCommerce] Changing colours of Woocommerce? Massive IssueMy themes customer support does not answer to any contacts for some reason.
That’s unfortunate. If your customer isn’t in the position to switch to a different theme then the only alternative seems to be implementing some custom CSS (which you should be able to add via the customizer).
Forum: Plugins
In reply to: [WooCommerce] Changing colours of Woocommerce? Massive IssueHi @jantsa1313
Sorry to hear you are having a customization issue. WooCommerce does not have a customizer feature for customizing the store breadcrumbs. If you see that option in the customizer it is likely being added by your theme. Whether or not the option is in the customizer your best option is to contact your theme’s support.
I hope this helps.
Forum: Plugins
In reply to: [WooCommerce] Critical Error@carmpocalypse Do you get this error every time you bulk delete actions?
Forum: Plugins
In reply to: [Action Scheduler] Error in Log TableThe same error even shows for WooCommerce, which if I’m not mistaken is also your plugin correct?
2023-03-15 11:59:34 +0000action created2023-03-21 18:20:05 +0000action started via WP Cron2023-03-21 18:20:05 +0000action failed via WP Cron: Scheduled action for woocommerce_cleanup_draft_orders will not be executed as no callbacks are registered.0
Thanks for reporting this. I have created https://github.com/woocommerce/woocommerce/issues/37428 to address this
Forum: Reviews
In reply to: [Action Scheduler] Refuses to SupportHi @kevp75 ,
Unfortunately, not supporting custom code is the policy of most developers who host their plugins on www.ads-software.com. However, I will explain the issue with your custom code here.
The pseudocode for the snippet you posted in https://www.ads-software.com/support/topic/error-in-log-table/ is
If there is not a pending "kpcpc_the_log_purge" scheduled action then - add an anonymous function to the "kpcpc_the_log_purge" - schedule the "kpcpc_the_log_purge" action End if
Your code is only adding a hook to the action when there isn’t a scheduled action for that hook. Once the action is scheduled the hook doesn’t get added. When the action runs by CRON or the async runner it creates the debug log entry. On. the next request to the server, there isn’t a scheduled action so it gets added again and the cycle repeats.
Action Scheduler is designed to run actions in the background instead of running them during a web request. If you are going to be creating your own scheduled actions then the hook for the action needs to added on every request.
Hi?@squaladesign
The past due actions notice is a relatively new addtion to action scheduler. That’s on of the reasons you wouldn’t have seen in the past.
I’m developing a website and I have a very basic setup
Action Scheduler does not run actions in a lot of development environments for two reasons:
- The async runner relies on the WordPress install being able to find it’s web host. A lot of development environments don’t support that.
- WordPress cron relies on front end traffic to run. Unless you are browsing the front end of the development site regularly, the AS cron runner won’t run.
If you have WPCLI installed in your development environment you can run the actions with
wp action-scheduler run
.@demon09876 This thread was closed. You will need to start a new thread. It looks like your issue isn’t related to the import but an unexpected limit on the number of variations. When you create the new thread describe the details around that.
Forum: Plugins
In reply to: [Action Scheduler] One schedule or Multiple?Just so I’m clear on how to set up batch processing for lets say 10 post at a time. I would create a schedule with an array of posts as a parameter that would be passed into my action?
Instead of passing an array of ids pass the next ID which can be the last ID processed plus one (eg. last id processed is 123 then pass 124). Default the processing function to ID of 1. You process would look like
– schedule the first job
– job retrieves & processes 10 posts matching your criteria plus post ID >= arg ID order by post ID ASC
– stop if query retrieves no posts
– schedule next job
– exitYour test file only has 31 variations which is less than the 50 described in that thread. Aside from that, the constant applies to the
Create Variations from All Attributes
button in the product edit screen vs the product import.The 31 product import works but the 32 product import doesn’t (see the videos).
But still we are not getting the expected result by uploading the “wc-product-import-test5.csv “.
It looks like you are expecting 32 variations to be imported but the test5 file only has 31 variations in it.
Can you please help us if there is any setting we need to do from back-end so that we can get the result.
I used a new install with minimal setup to do the import test above.
We have also increase the max limit of variations.
Can you describe where you found this setting?
did you use the file “wc-product-import-test5.csv” I sent to test for your result?
Yes, and it imported fine for me. Only WooCommerce and Twenty Nineteen was active.
The 31 product import works but the 32 product import doesn’t (see the videos).
The second file is 33 lines
- 1 x Header row
- 1 x Variable product record
- 31 x variations
It imports correctly for me creating the variable product with 31 variations.
> The 3g and 4g and 5g variations did not show up in the user view but are in the database, as you can see in the exported data.
@fordtman You have set default variation in the edit screen. Click Clear when viewing the product then you will be able to select any variation.
The first problem I would like to solve is that your https://pasteboard.co/JBQNhnN.png shows a different view than I am getting. I do not get the “Local” attribute setting field.
@fordtman Sorry for the misleading terminology. In the WooCommerce documentation they are called
Custom Attributes
. See the three steps in https://docs.woocommerce.com/document/managing-product-taxonomies/#add-custom-attributes to access the fields in my screenshot.