• How to remove text “Please checkout within %s or this item will be removed from your cart.”

    I want the plugin to only have the expiration control when the product is in the cart, I do not want the inventory control, I want it when the person adds the product to the cart and leaves the site without buying, the product is removed from the cart inside 2 hours (I know he already does), but I do not want you to have these texts or anything, can you take it?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author James Golovich

    (@jamesgol)

    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.

    Thread Starter rodrigo3867

    (@rodrigo3867)

    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

    Thread Starter rodrigo3867

    (@rodrigo3867)

    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 …

    Plugin Author James Golovich

    (@jamesgol)

    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.

    Thread Starter rodrigo3867

    (@rodrigo3867)

    I tried to put this filter, through a stackoverflow code, but it did not work, I must have done something wrong, but thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘HOW TO REMOVE TEXT’ is closed to new replies.