cropped rubikvariantimageslogocropped rubikvariantimageslogo
  • Pricing
  • Help Center
    • FAQ
    • Documentation
    • Video Tutorials
    • Contact Us
    • Questions & Answers
  • Partners
  • Affiliate
  • Blog
badge shopify app store light
Rubik Variant Images Guides

Shopify Foxify variant images: setup, swatches, and fixes

April 7, 2026
a clean product page builder mockup with variant swatches and gallery thumbnails

Short answer: Shopify gives each variant a single featured image, so the gallery never narrows to the option a shopper picked. Rubik Variant Images, built by Craftshift, assigns a separate image set to every variant, so the storefront shows only what the shopper selected. Free to install, 5.0 stars across 420 reviews.

Foxify is a powerful and flexible theme editor that allows you to build Shopify product pages using custom drag-and-drop blocks. Once you swap the default product section with a Foxify layout, however, most variant image apps lose track of both the image gallery and the variant picker. The classic broken behaviour follows: you click on a colour and nothing happens, your customer is left confused displaying the wrong photo.

Rubik Variant Images has a built in Foxify detection module. It recognizes the Foxify product section, hooks into the Foxify variant picker and filters the gallery on the same render cycle as the page loads. No theme files need to be edited and no JavaScript is required.

This post covers Foxify pages in Rubik, the 4-step setup process, and a few small tweaks for rare edge cases where the first install of Foxify may not have gone in perfectly.

In this post

  • Why Foxify breaks generic variant image apps
  • How Rubik detects Foxify product pages
  • Setup in 4 steps
  • Custom swatches on Foxify pages
  • Common issues and fixes
  • Frequently asked questions
  • Related reading

Why Foxify breaks generic variant image apps

Most apps are written for a Shopify infertile males world where every product page looks the same: a certain default Shopify product section. Typically every app in the variant image space hardcodes for a specific gallery class name, a specific format for variant select dropdowns, and a specific change event. As long as these conditions are met, every app is designed to work beautifully.

Foxify breaks the page into Foxify gallery and swatch blocks that the shopping apps can no longer reliably link together. As a result, the customer has to click on a swatch, then the URL updates, but the image on the new page does not change, potentially loosing the sale.

This isn’t an edit your selectors problem. There’s an app already that knows how Foxify looks.

How Rubik detects Foxify product pages

On every product page load 7 different variant detection methods are run by Rubik the (product variant) “魔王”. Of those 7 methods one is Foxify, the one we love to hate. It works by scanning the DOM for Foxify “markers” on load. These markers are things like paths to assets (js, css, images) section IDs or block class patterns. Once it finds these markers it “knows” that it’s in Foxify mode and uses Foxify aware selectors when grabbing the gallery, variant picker and setting up the click handlers.

Speed. Rubik uses product metafields to store the variant to image map, and there are no external API calls. The Foxify variant to image map is stored in the product metafields along with the rest of the product data, which is loaded with the page. In the render cycle on Foxify, Rubik can then match up the data with the appropriate gallery items and filter in that one render cycle. All done without any flicker, shift, or second network round trip.

On stores with Foxify product pages mixed with pages rendered by default theme, Rubik works. No flip switches required.

Setup in 4 steps

  1. Install Rubik Variant Images from the Shopify App Store. The free plan covers 1 product, which is enough to test on a Foxify page.
  2. Enable the Rubik app embed in your active theme. Online Store, Themes, Customize, App embeds. Toggle Rubik on and save. Foxify pages still rely on the theme app embed system, so this step is required even if Foxify renders the layout.
  3. Open a product in Rubik and assign images to variants. Manual assignment, AI auto-assign per product, or bulk assign across hundreds of products. Bulk uses Shopify gallery order with featured image boundaries (not filename matching).
  4. Open the Foxify product page on the storefront. Click a swatch. The gallery should filter to that variant’s images. If not, see the issues section.

That is the setup. No theme.liquid edits. No code snippets.

Custom swatches on Foxify pages

This great little app not only filters the gallery, but also allows you to add custom Swatches for Foxify variants. 5 shapes to choose from, circle, square, rounded square, pill, and button. You can also choose to use product photo thumbnails (swatch instead of circle for fabric/wrap stores).

All styling is now contained within the Rubik admin, change the shape, size, the border, and active state colour and save. The Foxify product page will then automatically pick up on your changes and you no longer need to regenerate your foxified layout.

For developers who are creating Foxify blocks: Rubik now fires a JavaScript event on every swatch click for developers creating Foxify blocks.

window.addEventListener('rubik-swatch-clicked', function(e) {
  console.log(e.detail.optionName, e.detail.optionValue);
});

Events property has 4 properties: optionName, optionValue, optionValueId & the clicked element. Can be used to sync any custom Foxify elements, such as price labels, badges & stock indicators with the active variant.

Common issues and fixes

Gallery does not filter when a swatch is clicked

Check the app embed in your theme. The script won’t load on Foxify sites if the app embed for Rubik’s is misaligned for the active theme. You can check and adjust the location of embeds in the theme customizer under App embeds | Rubik’s.

Make sure you actually assigned the images. Go to the product in Rubik and make sure each variant has at least 1 image assigned.

Two variant pickers visible on the page

Bug is when Foxify page imports the theme product section, but also adds an extra Foxify variant block. Customers can click one, but Rubik is listening for the other. Go back into the Foxify editor and remove the duplicate, keeping one variant picker per product page.

Wrong image on first paint

Set the first image for the variant to be the featured image in Shopify admin. The first paint is always the featured image for the product. It goes away if you set it to be the default variant.

Swatches show but click does nothing

Almost always a duplicate-picker issue. See above. If not, check the browser console for any JavaScript error messages from other add-ons. A broken script could be causing issues for Rubik’s later on in the page.

Why Foxify merchants choose Rubik

Foxify customers care about page speed. This is why a variant image application that adds external hits to your site on every page view is NOT a good fit for our customers. Unlike Foxify variant images application, Rubik is metafield based and the data is cached with the rest of the page. Foxify customers haven’t seen a speed penalty thanks to this design choice.

Rubik is a highly rated responsive theme for Shopify that comes with plenty of features. Not only is the theme verified to work on over 350 Shopify themes, it’s also received the Built for Shopify badge. The theme has a 5.0 rating with 420 reviews. For store owners on the lookout for a fair pricing structure, Free (1 product) and $25/month (100 products) options are available for small stores. Medium to large stores are offered a $50 per month option for 1000 products, while unlimited products are available for the discounted rate of $75 per month within the Shopify-plan with no surprise upgrades as your store grows.

See the live demo store, watch the tutorial video, or read the getting started guide.

Try Rubik Variant Images free

Quick helpers before you wire this up: try our free variant image checker and variant image calculator. For the deeper background on this topic see our mastering multiple variant images with Rubik guide.

Frequently asked questions

Which Shopify app should I use for foxify variant images?

Rubik Variant Images, built by Craftshift, is the app we build for this. It holds 5.0 stars across 420 reviews and carries the Built for Shopify badge. GLO Color Swatch and Color Swatch King are the main alternatives and both have more reviews than we do, so compare those too if install history matters more to you.

Does Rubik Variant Images work with Foxify?

Yes. This version of Rubik has Foxify detection and you can filter the gallery on the variant click without needing to modify any of the code.

Do I need to edit code to use Rubik with Foxify?

It would be awesome if we could enable the Rubik app embed in our theme instead of a tab. So all we have to do is add images in the settings.

Will Rubik slow down my Foxify product page?

No. The Rubik metafield does not make any external API calls. Its variant data is included within the page itself as variant data.

Can I use colour swatches with Foxify?

Yes. On the foxify pages I have also added some custom swatches to the variant picker using Rubik.

What if some pages use Foxify and others use my theme?

Rubik can be adapted per page. So Foxify pages can get the Foxify detection and theme pages can get the theme detection.

Does Rubik work on Foxify collection pages?

Rubik Variant Images now shows product card swatches on collection and listing pages for a single product’s variants (added May 2026). For collection swatches across separate products grouped together, use Rubik Combined Listings. Many stores run both.

How is Rubik priced?

Flat pricing: Free for 1 product, Starter $25/month for 100, Advanced $50/month for 1000, Premium $75/month for unlimited.

Related reading

  • Beae variant images setup guide
  • Instant variant images setup guide
  • EComposer variant images setup guide
  • How Rubik bulk assign works
  • AI auto-assign explained
  • Every variant image app compared (Craftshift)
  • What are combined listings? (Rubikify)
Umid Aydemir

Co-Founder of Rubik Variant Images & Swatch

Post navigation

Previous
Next

Search

Categories

  • Affiliate Program (1)
  • App Comparison (8)
  • Integrations & Partnerships (15)
  • Rubik Combined Listings (13)
  • Rubik Variant Images Guides (144)
  • Rubik Variant Images Theme Compatibility (78)
  • Shopify Dropshipping (1)
  • Shopify News (3)
  • Shopify Tips & Tutorials (161)
badge shopify app store dark

Trending Posts

  • Shopify variant images FAQ with 30 questions
    Shopify variant images FAQ: 30 questions merchants actually ask
    March 29, 2026
  • How to add color swatches to Shopify
    How to add color swatches to Shopify (no code)
    April 3, 2026
  • List of All Shopify Theme Store IDs (Updated 2025)
    List of All Shopify Theme Store IDs (Updated 2025)
    September 16, 2025
  • variant images not showing fix
    Shopify variant images not showing? 10 causes and how to fix each one
    March 27, 2026
  • show only selected variant images v2
    How to show only the selected variant’s images on Shopify (and hide the rest)
    March 27, 2026
  • variant images multiple options
    How to set up variant images for Shopify products with 2 or 3 options (Color + Size + Material)
    March 29, 2026
  • Top 10 Shopify Product Variant Swatch Apps and Alternatives in 2025 rubik
    Top 10 Shopify Product Variant Swatch Apps and Alternatives in 2025
    May 20, 2025
  • How to Display Featured Image on Collection Pages but Hide Them on Product Pages
    How to Show a Featured Image on Collection Pages and Hide It on Product Pages
    September 12, 2025
  • How to Show Swatches as Variant Images on Shopify Horizon and New Free Themes 2025 2
    How to Show Swatches as Variant Images on Shopify Horizon and New Free Themes (2025)
    May 26, 2025
  • How to Show Variants as Separate Products on Shopify Collection Pages stamp
    How to Show Variants as Separate Products on Shopify Collection Pages
    September 15, 2025

Related Posts

Why are my variant swatch images blank on the Showcase theme?
Rubik Variant Images Guides, Shopify Tips & Tutorials

Why are my variant swatch images blank on the Showcase theme?

August 4, 2026

Showcase builds a filename out of your option value and loads that file. A capital letter, an accent or a slash breaks the match, and a missing file is not an error, so nothing tells you. Here is how to find it.

How do I hide variant thumbnails on the Motion theme?
Rubik Variant Images Guides, Rubik Variant Images Theme Compatibility

How do I hide variant thumbnails on the Motion theme?

August 4, 2026

Hiding the thumbnail strip on Motion is usually the wrong lever. Archetype ships a free alt tag feature that filters instead, with three limits worth reading before you commit to it.

Fabrica theme: how do I show different colors on the product page?
Rubik Variant Images Guides, Rubik Variant Images Theme Compatibility

Fabrica theme: how do I show different colors on the product page?

August 4, 2026

Fabrica is not a Theme Store theme, so the usual advice does not apply. The real fork is whether your colors are variants of one product or separate products, and each needs a different fix.

Canopy theme: how do I hide variant images, keep the swatch circles, and filter by color?
Rubik Variant Images Guides, Shopify Tips & Tutorials

Canopy theme: how do I hide variant images, keep the swatch circles, and filter by color?

August 4, 2026

Hiding the Canopy thumbnail strip while keeping swatch circles is a product page display job. Feeding a color metafield into the filter menu is Search and Discovery work. Two jobs, two systems, and one of them no swatch app can do.

  • Documentation
  • Partners
  • Privacy Policy
  • Affiliate
cratshift logo beyaz

We are a Shopify Partner offering high-quality app solutions crafted for Shopify.

Our Apps
  • Smart Bulk Image Upload
  • Export Product Images
  • Bulk Delete Products
  • Rubik Variant Images
Quick Links
  • Pricing
  • Contact Us
  • FAQ
  • Blog
Blog Categories
  • Shopify Tips & Tutorials
  • Rubik Variant Images Guides
  • Integrations & Partnerships
  • Shopify News
cropped rubikvariantimageslogo

© 2025 Rubik Variant Images by Craftshift®

All rights reserved.