longnguyenfrombayy
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Disable stock reduce function for pending orderhello,
We are trying to follow your instructions, but it doesn’t work.
Can you please tell me the way to disable this function. Im totally aware of any disadvantages when disabling this function, and I accept it. Please, help me.
Thanks & best regards,
Long.Forum: Plugins
In reply to: [WooCommerce] Disable stock reduce function for pending orderHello,
It may be easier to create a custom function that’s tied to the add to cart actions that sets a value in the meta data for the product. This would also need to be updated once the transaction was complete or if the item was removed from cart.
-> Actually, we are facing difficulty when implementing this. May you give us a more detailed instruction?
In the worst scenario, can you give us the instruction to disable the functionality of stock reduce when booking order is put in cart?
Hope to have your support in this case.
Thanks & best regards,
Long.Forum: Plugins
In reply to: [WooCommerce] Disable stock reduce function for pending orderHello,
Actually, right now, I m using a customized filter for users to filter # of persons available for each listing.
In this case, when a user input 4 persons to # of persons filter, then the filter will display all listings with maximum 4 slots left. However, let’s say another user put 1 slot in cart, without proceeding further. Then, WooCommerce counts the listing only has 3 slots left, while my filter still counts it 4 slots left because my filter doesn’t have a logic to count the slot that is put in cart.
Right now, I have a freelance developer to help me with this. And, we have an issue that we can’t find the location where the value data of items that is put in cart. To create a logic, we need to find where the value of item saved in cart is stored.
If you can give a brief instruction about where to find this value, I would be very thankful for that.
Then, I will combine this logic, with a very low hold-stock time (5mins) to complete our system. We believe it would be the best for our website.
Hope to have your support in this case.
Thanks & best regards,
Long.Forum: Plugins
In reply to: [WooCommerce] Disable stock reduce function for pending orderHello Thomas,
Thanks for your timely reply.
Yes, I currently use WooCommerce Booking.
Actually, I am aware of this setting. However, I still prefer to disable stock reduction functionality since some hosts only have 1 or 2 available slots for their bookable services. And, if a lot of guests just put those slots in cart repeatly, then, this bookable service is always out of stock (while it is not confirmed and paid yet).
Actually, my business is quite different, so, I prefer to disable this function to make it simple. If you can help with a code to disable this function, I would be very grateful.
Thanks & best regards,
Long.