WordPress Woocommerce Delete all products on cart page or after checkout

I have a problem that is mentioned in this question Hear u have access to my test site to for any doubts, What happens is am using woocommerce check out and cart as payment and order module and rest the products are in the theme it self the issue is (This site is a hotel room booking system) as when i book a first room that go to cart and checkout but when i do the second time for the same that gives a error on cart page as this product cannot be purchased as a dynimic product was created by cart when submitting of first hotel room when i delete that product from woocommerce that can be purchased

wat i want is to shop creating the dynamic product on cart page by woocommerce or delete it after cart takes the neeeded information to check out any hook to add in function.php i have resurched all the articals i dint find any

Read more here: WordPress Woocommerce Delete all products on cart page or after checkout

Leave a Reply

Your email address will not be published. Required fields are marked *