I would need a php developer who can write a code for me that I can use on my WooCommerce shop to achieve the following:
I would like to offer free samples of my products to any customer that order to me. The free samples have already been created as a simple product on the shop. The code needs to automatically add this product to the cart when a user add any other product to the cart. The user should not be able to remove the free samples product from the cart. However if the user removes all other products on the cart, the free samples product should be removed automatically to make the cart empty.
I use WooCommerce version 3.7 and WordPress 5.2.
25 freelancer đang chào giá trung bình $44 cho công việc này
Dear Hiring Manager, I can help you in the project. Please let me know when we can discuss in more details so that we could proceed further. Looking forward for your response. Thanks. Kind Regards, Surya
Hello there, I have read your requirement and It will cost you more than your current bid. I can start work right now. Waiting for your positive reply Thank you
Straight forward requirement and I can do it within a day if the code is properly structured. Looking forward to working with you. Let me know your thoughts.