Santiago Degetau
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
@linksoftware I have more ideas to improve the plugin (e.g. make it more developer friendly). Is there a way I can contribute? ??
If not, I can also create new threads with each idea. For example, the one I have on mind at the moment, is to provide an object on the error JS event, with the fields that didn’t pass validation. This way, we can highlight the errored fields to the user and be a bit more UX friendly.Thank you!
Let us know if this issue is fixed in the future ??Sharing the code is not possible because of legal reasons and also because the code is over 1k lines. Nonetheless, I can give you an overview of what we do:
- We disabled WP-CRON and opted for the server CRON (so we have reliable calls and not whenever there is a visit to the website).
- We sync the products every 15 minutes.
- We fetch all the products from the ERP, we check if they exist and create or update accordingly (we only update if there was a change to the product).
- Now, I assume the
Breeze_PurgeCache::breeze_cache_flush
is called whenever we call$product->save()
. So, some info about that: when creating a product, we call it twice — because we need to ensure a post ID — and then we call it once for every variation (if it is a variable product). When updating, we call it once for every variation and once for the parent product.
Let me know if this info is what you were looking for ??
Forum: Plugins
In reply to: [YITH WooCommerce Wishlist] How to enable Custom Product Types
Viewing 4 replies - 1 through 4 (of 4 total)