Documentation
HomeForumHelp
  • About Cwicly
  • Beginner's Guide
    • Install Cwicly
    • Getting Started
      • Overview
      • Settings
    • Edit and Manage your Site
    • The WordPress Dashboard
    • The Dashboard Menu
    • Site Editor
    • Create your Front Page
      • Front Page
      • Header
        • Header Template Part
        • Structure
      • Footer
        • Footer Template Part
        • Structure
  • ⚡Cwicly
    • Block ID
    • Breakpoints
    • Class
      • Global/Block Classes
    • Cloud Design Library
      • Create an Account
      • Overview of the Cloud Dashboard
      • Editor: Cloud Library
        • Access from the Editor
        • Add a Library
        • Switch between Libraries
        • Default Library
        • Download Library
        • Remove Library
        • Categories
          • All
          • Popular
          • Button
          • Composition
          • Decorative
          • Interactive
          • Layout
          • Media
          • Menu
          • Social
      • Design Blocks: Cloud Library
        • Search for a Design Block
        • Refresh
        • Add Design Block
        • Save Design to Library
        • Remove Design Block
      • Library Globals
        • Library: Global Styles
          • Library: Add Styles
          • Installation: Add Styles
          • Library: Style Settings
        • Library: Global Classes
          • Library: Add Classes
          • Installation: Add Classes
          • Library: Class Settings
        • Library: Global Stylesheets
          • Library: Add Stylesheet
          • Installation: Add Stylesheet
          • Library: Stylesheet Settings
        • Library: External Classes
          • Library: Add External Classes
          • Installation: Add External Classes
          • Library: External Classes Settings
      • Community Library
        • Save to Community Library
        • Download from Community Library
        • Remove from Community Library
        • Set Community as default
    • Colour Picker
      • Gradient Builder
    • Components
      • Components Library
      • Components Folders
      • Settings
      • Component Properties Modal
      • Properties (Add)
        • Text Property
        • Rich Text Property
        • List Property
        • Link Property
        • Image Property
        • Gallery Property
        • Video Property
        • Icon Property
        • Colour Property
        • Toggle Property
        • Number Property
        • Class Property
        • ID Property
        • Options Property
        • Conditions Property
        • Visibility Property
        • CSS Text Property
    • Copy/Paste
      • Block Styles
      • Classes & IDs
      • Dynamic Preview
      • Global Styles
      • Global Classes & Stylesheets
      • Blocks
    • CSS Grid
    • Dynamic Inserter
    • Font Manager
    • Navigator
    • Quick Inserter
    • Scaling
    • Smart Inserter
    • Span
    • Tag
  • ⛵Tailwind
    • Getting Started
      • About
      • Activate
      • Copy/Paste
      • Enable editing mode
      • Apply a Class
      • Pseudo state Management
      • Automatically Sync
        • Breakpoints
        • Colours
      • Shells
      • Custom Tailwind Configuration
      • Import Tailwind Plugins
  • 🖌️Themer
    • Themer
      • Templates
      • Parts
      • Fragments
    • Role Editor
      • User Role
      • Gutenberg Editor
      • Global Block Behaviour
      • Block Toolbar
      • Miscellaneous
      • Components
      • Code Block
      • Blocks
      • Post Types
      • Force iFrame
      • Client Canvas View
      • Help
      • User
  • 🌐Global Styles
    • Global Styles
      • Global Colours
        • Folders
        • Colour tab
        • Palette tab
        • Modifiers tab
          • Opacity
          • Lighten
          • Darken
          • Saturate
          • Desaturate
          • Spin
      • Dark Mode
      • Global Gradients
      • Global Typography
      • Global Block Typography
      • Theme Elements
      • Global Settings
        • Defaults
        • Backend
      • Remove Gutenberg Global Styles
    • Global Classes & Stylesheets
      • Global Classes
      • Global Stylesheets
      • External Classes
  • 🎨Design
    • Background
      • Background Colors
      • Background Source
      • Sizing & Positioning
      • Styling
    • Typography
      • Typography
      • Rem conversion
      • Global Typography
      • Text Align
      • Font Family
      • Font Size
      • Font Weight
      • Spacing
      • Line Height
      • Style
      • Decoration
      • Transform
      • White Space
      • Overflow Wrap
      • Word Break
      • Word Spacing
      • Axes
      • Text Colour
      • Link Colour
    • Fluid Values
    • Layout
      • Display
      • Visual
      • Position
    • Sizing
      • Height
      • Width
    • Margin & Padding
    • Borders
      • Border
      • Shadows
      • Outline
    • Effects
      • General
      • Transitions
      • Animations
      • Filters
      • Text Shadow
      • Tilter
      • Separators
    • Transforms
    • Pseudo Classes/Elements
    • Relative Styling
  • 🎓Advanced
    • Custom CSS
    • Quick Code
    • Scrolling
      • Animate On Scroll
      • Scroll Direction
    • Attributes
    • Tooltip
      • Source
      • Theme
        • Custom Theme
  • 👆Interactions
    • Visibility Conditions
      • Blocks
      • Themer
    • Link
      • Link Source
      • Link Action
    • Interactions
      • Trigger
      • Actions
    • Hover Animation
    • Dynamic Slider
      • Settings Tab
  • 🖥️Editor
    • Inserter Panel
    • Quick Insert
    • Block Inspector
    • Primary Tab
    • Design Tab
    • Advanced Tab
    • Responsive Selector
  • 🔧Blocks
    • Accordions
    • Accordion
      • Basics
      • Settings
      • Colours
      • Layout
      • Typography
      • Margin and Padding
    • Button
      • Add
      • Icon
    • Code
      • Enable/Disable
      • Add
      • Languages
      • Settings
    • Columns
      • Basics
      • Add
      • Settings
      • Grid Editor
        • Auto Grid
        • Auto Template
    • Column
    • Container
    • Div
    • Filter
      • Basics
      • Filter Editor
      • Create a Filter
      • Style a Filter (example)
    • Fragment
    • Gallery
      • Filter
      • Source
      • Settings
      • Text
      • Image Style
    • Heading
    • Hook
    • Icon
    • Image
      • Source
      • Size
      • Settings
      • Hover Animation
    • Input
      • Input Settings
    • List
      • List Types
      • Settings
      • Icon
    • Maps
      • Settings
      • Size
      • Style
      • Overlay Layout
      • Colours
    • Menu
      • Settings
      • Main Menu
      • Sub Menu
      • Items
    • Modal
      • Modal Style
      • Settings
      • Trigger
      • Animation
    • Nav
      • Nav Block Settings and Styles
      • Nav Items Block
      • Nav Dropdown Block
      • Nav Link
      • Custom Dropdown Block
      • Nav Menu
    • Post Content
    • Paragraph
    • Popover
    • Query
      • Query Settings
      • Query Editor
        • Posts
        • Terms
        • Users
        • Comments
    • Query Template
      • Layout
      • Grid editor
    • Repeater
      • Nested Repeater
    • Section
    • Slider
      • Settings
      • Navigation
      • Dots
    • Slide
    • Styler
    • SVG Block
    • Tab List
      • Tab
    • Tab Contents
      • Tab Content
    • Taxonomy Terms
    • Video
      • Source
      • Settings
      • Div Overlay
  • ⚙️Settings
    • Settings
    • License
    • Icon Collections
    • Font Sets
    • Google Maps API
    • Advanced Settings
    • Regeneration
    • WooCommerce
  • 🛒WooCommerce
    • Archive Page
    • Attributes
      • Colour Type
      • Image Type
    • Cart
    • Product Variations
    • Create a Product Type
      • Simple
      • Variable
        • Create Attributes
      • Grouped
      • External
    • Build a Single Product Page
    • Dynamic Content
    • Link
  • 🗃️Miscellaneous
    • Blocks Specifics
    • Icon Selector
    • Trailing Slash
    • Units
      • Default Units
    • Code Snippets
    • Shortcuts
    • Actions
    • Filters
    • Browser Console
  • 🔗Resources
    • Changelog
    • Roadmap
    • Forum
Powered by GitBook
On this page
  • Add New Product
  • Variation Swatch
  • Create Swatch Variation for a Single Product
  • Single Product Page
  • Add a Colour Swatch
  • Add a Size Swatch
  • Add a Material Swatch

Was this helpful?

  1. WooCommerce

Product Variations

Last updated 2 years ago

Was this helpful?

Product Variations refer to the different attributes of an item, such as colour or size.

A Product with its variants can be grouped together on a single product page.

Add New Product

  • Navigate to the WordPress dashboard.

  • Find Products and click to open.

  • Select "Add New" to add a new product.

  • Input Product Name.

  • Select "Set product image".

  • Select required Image for the Product.

  • Click "Set product image" to save selected Image.

  • Input required description.

  • Click "Product data" to open dropdown.

You can choose the Product data you require. In this example case we are adding a Variable product.

  • Choose required data (Simple product, Grouped product, External/Affiliate product, Variable product).

  • Add the SKU (stock keeping unit, a unique identifier for each individual product).

  • In the example case, the SKU is the same as the Name.

  • Open the Attribute tab.

  • Open Inventory dropdown.

  • Select required Custom product attribute in dropdown (Colour, Material, Size etc).

  • In this example, we are selecting Colour as our product attribute.

  • Click "Add" to add colour attribute(s).

  • Choose required Colour(s) in dropdown.

  • Tick "Used for variations" box.

  • Click "Save attributes" to save.

  • Add the other attributes required for the selected product.

  • An example is shown below.

  • Navigate to Variations and click to open the "Add variation" dropdown.

  • Choose Create variation from all attributes.

  • Click "Go".

  • A popup will ask you if you want to link all variations.

  • Click "Ok" to accept.

  • A new popup will tell you how many variations have been added.

  • Click "OK" to accept.

  • You will now be able to visualise all the variations you have created.

  • Click "Add Price" if some of your variations do not have prices.

  • In the modal, add the required price and click "Add prices".

  • If you are happy with the your new product, click "Publish".

  • In your Products page, you will now see the added item.

Variation Swatch

The Variation Swatch block gives you the possibility to create an aesthetic and professional way to select attributes for variation products.

Instead of ugly product drop downs, you can design the product variation select options fields with custom images, colours, and size.

Create Swatch Variation for a Single Product

Remember to set up your Swatch Variation on a new Single Product page.

Single Product Page

  • Navigate to the WordPress dashboard.

  • Open Cwicly.

  • Open Themer and in the Templates tab click "Add Custom Template" button.

  • This opens a "Single Products Page" modal.

  • Add required name.

  • Click "Create".

  • Find the new template in the Themer.

  • Click "Visibility Conditions" icon.

  • Click "+" to add a new Visibility Condition.

  • In the "Single Product Page Visibility Conditions" modal:

  • Set Visibility Condition to "Show if".

  • Set Type to "Singular".

  • Set Including to "Products".

  • Set Product Type to "All".

  • Click "X" to close Single Product Page Visibility Conditions modal.

  • Click "Edit" icon to open template in the editor.

  • This opens the Single Page Product page in the editor.

  • Add a Section to contain your Variation Swatch.

  • With the Section selected, add a Repeater.

  • In the Primary tab, set Source to "Variable Product".

  • The repeater will not be active until you have added a variable product.

  • Click to open "Dynamic Preview".

  • Choose the required variable product in the dropdown in order to preview your swatches.

You need to create your variable products (see abover) before you can do this.

  • Click "+ Add Block".

  • Add a Div to your repeater.

  • In the Primary tab, in the Layout tab, set Flex, Centre, Space-between.

  • With the Div selected, add a Paragraph.

  • With Paragraph selected, click Dynamic Values.

  • In the Dynamic Content modal, set Source to WooCommerce.

  • Set WooCommerce to Variation Label.

  • Select the Div inside the Repeater and add a Div.

  • This will act as a container for all Variable Swatch blocks

  • In the Layout tab of the Primary tab, set direction to Flex and Column Gap to 5px.

Add a Colour Swatch

Let's add our first Swatch, for instance a Colour swatch.

  • With the Div collected, add a Swatch block.

  • In the Settings tab of the Primary tab, set Attribute to Colour (General).

Now, don’t worry if you don’t see anything, this is because the swatch items don’t have a size yet. Simply toggle Show Text or add a size to your swatch elements to see them appear.

  • For toggle: Enable "Show Text".

Or add Size:

  • In the Design tab, open the Sizing tab.

  • Set required size (height and width).

If you still don’t see anything, make sure you’ve set up your attributes in the WooCommerce Attribute menu or check our documentation for help setting this up.

  • In the Design tab, open the Radius and Width tab.

  • Add required radius and width.

  • The first variable swatch has been created.

Add a Size Swatch

Let's add a "Size" Swatch.

  • With the Swatch Div selected, add a Swatch.

  • In the Settings tab of the Primary tab, set Attribute to "Select" in the dropdown.

  • You can manouvre the Select drop down at this stage to see how it looks.

Let's add some styling.

  • With the Swatch selected, in the Margin and Padding tab of the Design tab, add required padding. (for instance, 3px top and bottom, 8px left and right).

  • You can arrange the borders (for instance, 5px radius, 1px width) for a more aesthetic look.

  • How about beautifying the typography (Typography tab, Design tab, Font style, size, weight).

Add a Material Swatch

Now let's add a material swatch with images of different materials.

  • With the Swatch Div selected, add a Swatch block.

  • In the Settings tab of the Primary tab set Attribute to "Image".

You will not see your material swatch until you have set a size.

  • In the Sizing tab of the Design tab, set required height and width (for instance 50px height, 50px width).

Now we need to adjust the images to see the detail.

  • Open the Image tab in the Design tab.

  • Open the Sizing tab and set required size (for instance "Cover").

The Swatches are a little cramped, so let's set some spacing.

  • Select the first Div of the Repeater.

  • In the Margin and Padding tab of the Primary tab set a 15px lower Margin or adjust as required.

The page below gives you an idea of how your page will look when you include the swatches you have set up.

🛒