@jade1996, thank you code works fine! Oh what a relief!!!
@delacour.corp, if you have a child theme just add this code to functions.php in the child folder or through the admin. If it doesn’t work just remove the code through FTP.
Great job guys.
@stonetiles Have you guys found the solution to solve this issue? Would really appreciate your suggestion.
@urkekg I’ve tried deactivating other plugins but nothing helps. Still getting product at it’s full price plus the sample in the cart after only requesting for a sample.
@isikom That would be great and really helpful if you could take a look why this is happening by checking out my site.
Thank you all.
I am having the same issue. When you click Add Sample you get Sample and Full priced item added to your cart. Tried to deactivate other plugins in order to find out which one interrupts the action, but problem still occurs. Please help.