I’m looking for a solution to not charge shipping when a customer orders a product sample from a Free Sample WordPress plugin. In my case, for selling carpet online. A customer can order a sample of a specific carpet and color by clicking on a button “Order A Sample” when viewing a product. This button directly relates to the exact product and the color they are looking at. If clicked, the action adds the sample to the shopping cart and the customer checks out as normal. The problem is shipping is also added. I want to exclude all samples from any shipping fees.
I’m using this plugin: Simple Product Sample from https://mci-desarrollo.es/. It is fairly new.
I wrote the developer about it and here’s what he said:
“There may be a plugin that handles shipping costs. Ideally, you should look for one that can create a rule to exclude expenses if the item is a sample by looking at the “_sample_active” key in the cart item’s metadata.”
I’m fine inserting code but I am not a programmer. I’m also open to a different plugin. For example, in one test scenario we added a form to each products Details tab (as a custom tab), the only issue is this does not relate to the product being viewed at that time.
If you need a link to a site or example, let me know.
Thanks.
Contact the developer directly. He responded quick.
Thomas Smidt is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.