Extra Cart Button
Adds a possibility to add one or more additional "add to cart" buttons with an optional possibility to use such buttons along with "Free Sample" functionality. Such button acts exactly like "add to cart" button does i.e., it adds the product to the cart. Generally, you may add 2 or more such buttons and manage their appearance by using fields conditional logic.
⚠️ Adding one or more Extra Cart Button does not hide the main "add to cart" button. Manage to hide it with some custom CSS if you need it.
⚠️ Enable 'Ajax add to cart' functionality in order to use this button!
Depending on your needs, you may or may not use Extra Cart Button(s) in conjunction with "Free Sample" functionality of the plugin. Still, we recommend review the related settings.These settings are general preferences. It means that a particular Extra Cart Button may or may not be configured to add "free" (i.e., with price equal to "0") product to the cart. But if any such button is meant to do that, you'd better enable this functionality here, just as seen on the screenshot. Also it is possible to limit the number of "free" products per order. Use the second setting for this. Leaving it empty or setting to "0" allows unlimited number of "free" products per cart.
👆 Generally, it is not possible to add "free" product in WooCommerce. Neither it is possible for a product configured with Uni CPO as "add to cart" button will be blocked if the price calculated equals to zero. Extra Cart Button is the only way to add "free" product to the cart, so it can be used if you are willing offer free samples of your products to your customers. 😎
These are main settings of the Option:Settings in the details:
Slug is a mandatory field (as for any other Option).
Mode: regular or "Free sample"
The difference between these two modes is minimal. If product is added by clicking on Extra Cart Button in "free sample" mode, then a text "sample" will be added next to the cart item's title.
- "Free sample" mode: calc price or zero price
When "calc price" mode is used, then product will be added to the cart with the current calculated price. This way you can set not just "free" price, but any price. For instance, you may want to offer samples at very cheap price, but not for free. Makes sense, right? 😉 How to set such price? By using any other Options you like, utilising fields conditional logic and your creativity! We provide tools, you create the result 😇
When in "zero price" mode, clicking on Extra Cart Button adds product with price equal to "0" no matter what. That's right - regardless any options visible and so on.
Just to remember:
- "calc price" mode takes into account visible Options and the price calculated according to them;
- "zero price" does not take into account any Options and adds product with price "0" straight to the cart;
⚠️ Important to bear in mind that whenever this button is in "free sample" mode and is shown when you add your product to the cart - even if you click on the original 'add to cart' button - that cart item will be treated as sample and word "Sample" will be added next to the cart item's title. Use fields conditional logic to display/hide this Option.