You can definitely do this, possibly with a bit of coding to override some of the strings. The question is why would you even use this plugin then? Without the inventory control I don’t see any reason to use, WooCommerce by itself will clear old sessions and you can decrease that time if you would like.
Hello, I do not know much about this, but I activated the plugin so that the cart does not stay with the product forever, the customer adds the product to the cart but does not finish the purchase, hence the product gets stuck, with the plugin, the product leaves the cart after a certain time …
I tried to do this directly in woocommerce but I could not, I noticed that when I tried to add the product to the cart without finalizing the purchase after a few days the product still remained in the cart …
I do not want the product to get stuck, I tried to delete the cache, but it’s still there …
If you have any idea how to help me, or reduce the time that woommerce takes to remove the product from the cart, I will be very grateful.
Sorry for my English
Sorry, but I believe that I found inside tools in the plugin of woocommerce itself, I’m going to do some tests but I believe that it is, there’s an option that cleans the cart, it’s not automatic but I think it works …
but if you want to share with me what your method would be, it would be interesting …
You can create a filter for ‘wc_session_expiring’ and ‘wc_session_expiration’ to return how long you want the sessions to last. You might have to make sure the maintenance task runs more frequently in order to properly clean up, I think by default it runs every 12 hours.
I tried to put this filter, through a stackoverflow code, but it did not work, I must have done something wrong, but thanks.