Skip to content

webfoo/woocommerce-free-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WooCommerce Free Sample

alt text

Codacy Badge

What is this?

Simply put, it adds the ability to add a "sample product" to the cart, that is free.

It adds a button after the "add to cart" button that adds a sample version of the product you're buying.

How does it work?

  • Upon activation a "sample product" is created and hidden from the UI.
  • When a sample is added to the cart, it adds this "sample product" and updates it's name, image to match the base product.

Products:

  • Have an option to toggle if a sample is available (under advanced)

Anything else?

  • Upon deactivated the plugin, it'll remove the "sample product".

Need this tweaking?

Drop me an email hello@kevinruscoe.me and we'll sort something out.

About

A woocommerce plugin to allow sample products

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages