Uni CPO 4 Documentation
  • Introduction
  • Why Uni CPO?
  • Installation
    • Upgrade
  • How To Use
    • Plugin's Settings
    • Builder
      • Data Structure
      • General Settings
      • Non Option Variable (NOV)
      • Weight Conditional Logic
      • Dimensions Settings
      • Image Conditional Logic
      • Formula Conditional Logic
      • Dynamic labels for options/suboptions
      • Shipping Classes Conditional Logic
      • Cart Discounts
    • Basic Modules
      • Row
      • Column
      • Paragraph
      • Button
      • Image
    • Options
      • Text Input
      • Text Area
      • Select
      • Radio Inputs
      • Checkbox Inputs
      • Date Picker
      • File Upload
      • Dynamic Notice
      • Range Slider
      • Matrix
      • Extra Cart Button
      • Google Map
      • Distance by Postcode
      • Font Preview
    • Fields Conditional Logic
    • Validation Conditional Logic
    • Colorify Feature
    • Imagify Feature
    • "Free Sample" Feature
    • Arithmetic Operators
    • Manage Order Items
    • Suboptions export/import
  • For developers
    • Actions & Filters
    • JS events
    • Extending Uni CPO
  • Duplicating options and products
  • How to debug
  • Affiliation
  • Themes & Plugins Compatibility
    • Popup Maker How To
    • Boxtal
    • Pitchprint.com
    • NBDesigner
    • Toggle Tax For Woocommerce
  • FAQ
  • Refund Policy
  • Managing licenses and billing info
    • License Utilization
  • Uni CPO Add-ons
    • Custom dynamic SKU (paid)
      • Stock management based on dynamic SKU
    • "Send Inquiry" (free)
    • Hidden/disabled option (free)
Powered by GitBook
On this page
  • Configuration
  • 1. General settings
  • 2. Option's settings

Was this helpful?

  1. How To Use
  2. Options

Extra Cart Button

PreviousMatrixNextGoogle Map

Last updated 5 years ago

Was this helpful?

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!

Configuration

1. General settings

The .

2. Option's settings

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.

description of general settings related to "free sample" functionality is given here