Unicorn Shopify Theme
  • Getting Started
  • Demo
  • Section Groups
    • Header
      • Menu icons
      • Badges
      • Popup menu
      • Image with button (Mobile)
      • Featured promotion (Mobile)
      • Contacts
    • Cart drawer
    • Search popup
    • Mega menu
      • Menu
      • Image with button
      • Featured promotion
      • Custom HTML
      • Empty column
      • Badges
    • Footer
      • Menu
      • Text
    • Popups
  • Dynamic Theme Sections
    • Before/after image
    • Blog posts
    • Brand list
    • Collage
      • Image
      • Collection products
      • Video
    • Collage of images
      • Image
      • List item
    • Collection list
    • Collection slider
    • Contact form
    • Countdown timer
    • Custom Liquid
    • Email signup
      • Heading
      • Subheading
      • Email form
    • FAQ
    • Featured collage
      • Product
      • Image
    • Featured collection
    • Featured collections
    • Featured product
    • Featured promotions
      • Content, Text on image
      • Content, Text below the image
      • Content, Button on image
    • Image with text overlay
      • Second image
      • Mobile settings
      • Heading
      • Text and Custom HTML
      • Buttons
    • Image gallery
    • Lookbook
    • Map
    • Media
    • Multicolumn
    • Page
    • Popup
      • Image
      • Text
      • Newsletter form
      • Buttons
      • Social media
      • Time countdown
      • Collection
      • Promotional code
    • Reels
    • Rich text
      • Heading
      • Text
      • Button
    • Slideshow
    • Tags
    • Testimonials
    • Ticker
  • Page Categories
    • Products
      • Product information
      • Product recommendations
    • Collections
      • Collection banner
      • Product grid
    • Collections list
    • Cart
    • Blogs
    • Blog posts
    • Search
    • Password
      • Email signup
    • 404 page
  • Theme Settings
    • Top bars
    • Header and Logo
    • Colors
    • Typography
    • Layout
    • Styles
    • Product
    • Variant picker
    • Social media
    • Search
    • Favicon
    • Currency format
    • Cart
    • Popups
    • Performance
    • Advanced settings
    • Custom CSS
    • Theme style
  • SVG Icons
  • FAQ
    • How to customize Metafields
    • How to group product images by variants?
    • How to create a template?
    • How to create webpages?
    • How to set up filters?
    • Understanding of metaobjects and their use in a store
Powered by GitBook
On this page
  1. Theme Settings

Variant picker

In this section, you can decide on the product variants design for the entire store.

PreviousProductNextSocial media

Last updated 1 month ago

Show the single-value option

By using the provided option, arrange whether to display the product swatch on the product listing if the product has the only product variant.

Note! There are a few requirements that should be completed for the "Round color" and "Rectangular picture" styles to work correctly:

  • Remove the same option names from the another input field that does not meet your needs.

  • For the correct work of the following styles on collection pages, make sure to use the "Button" type in Theme settings -> Product -> .

  • To display the required style option on product pages, use the "Button" type in Products -> Product information -> .

"Round color" style options

If you want to display the color variants as round options for products on the whole store, use the given input field. Here you can paste the product option name (for example, "Color") to add the style:

"Rectangular picture" style options

Paste the product option name (for example, "Color") into the input field to change the style of product variants to rectangular colors or images:

"Rectangular picture" border radius

The corner angles of product variants can be adjusted on a scale of 0 to 40 pixels, where 0 means to display variants as square options, and 40 is an ellipse.

In the following examples, you can view the boundary values:

Tip: To display the color variants as images instead of the color options, assign a corresponding product image for each product variant in your Shopify admin:

Tip: To replace images and colors for product variants with the color names, remove the product option name (for example, "Color") from the input fields ("Round color" style options and "Rectangular picture" style options):

Tip: If you use several product option names (for example, "Color", "Pattern", "Material", etc.) for various products in your store, add each option name to the required input field using the line break as a separator:

Option colors (Filters and variant picker)

This option can be helpful in several cases:

  • if you need to assign a color/image to a missing color variant or filter item that is not displayed by default;

  • to reassign a product variant or filter item with a different color/image for an existing color option.

Tip: Use the line break as a separator when adding a new value.

To set the desired colors or images for filter items and product variants, you can use such values:

  • color codes

If you want to add the hex code of color, use the format "color|css code".

Eg.: Green Pearl|#134D24

  • links

To display an image for a filter item or product variant, you should follow the next steps:

Step 1

Go to your Shopify admin -> Content -> Files and upload a new file.

Step 2

Copy the link and place it into the "Option colors (Filters and variant picker)" input field. The format of the used custom option should match the value: color|url.

Eg.: Multicolor|Shopify link

To display settings applied to the "Option colors (Filters and variant picker)" for the product variants, convince to place the product option name into the desired input field.

In the following example, you can view how to customize the option:

Variant picker type (Collection item)
Variant picker