---
title: "My product page drop downs are flashing when the page loads"
description: "Here is how to fix it"
url: https://help.cartgenie.com/en/articles/57-my-product-page-drop-downs-are-flashing-when-the-page-loads
collection: "Products & Categories Troubleshooting"
updated: 2026-07-15
language: en
---

# My product page drop downs are flashing when the page loads

Here is how to fix it

If your product doesn’t have any variants (or has less than 3 option sets), then CartGenie will automatically hide the option drop downs when someone visits that product page.

However, sometimes this results in a “flash” as the drop downs are visible for a half second before being hidden by the script.

![](https://staticfiles.gleap.io/ghelparticle/9vDX68O78Z1QbUVmRgkjlO6afJtiMFuMl6DdqhDQlJNDTKJMQziD3gbYS7kuBSgadromCvCOoBT.png)

## How to fix it

To prevent the option drop downs from displaying on products that don’t have any variants, we need to set up a conditional visibility attribute for these blocks.

Go to the first drop down and select its parent div “**cg-option-wrapper**”**.**

_(You can select this easily using the layers panel or by right-clicking and going to the “select parent element” selector)_

![](https://staticfiles.gleap.io/ghelparticle/zL19H8KGPyADudVp4zlf9OHbFoyGJ1MMpw8X7fSxYNf02brGhOBn43YBHulT5NJGvc61y0SXMCS.png)

Then, go to the block settings panel in the right hand sidebar.

![](https://staticfiles.gleap.io/ghelparticle/MlV1k4GBMIB8mcoJEoNNpXiqmCTMCkI3rzPuCiAcJVIp2bqNaUk5g3vXRaYDZvpUQj2szTw83uA.webp)

Scroll down to the section called “Conditional Visibility” and click the + icon.

Set the field to only be visible when “Option Name 1” is set.

![](https://staticfiles.gleap.io/ghelparticle/OFqymCmUN1ggksJu49CqCyNhivQLkI4dzD6daINxqOTPGvuGdi2mRFZ3qmBGLTDu4FnZiMKQ1zn.webp)

**Next, do these same steps with the other two drop downs** (be sure you are selecting the “**cg-option-wrapper”** for each so that you will be hiding both the label and the drop down:

-   **2nd Label & Dropdown**: set visibility condition to **Option Name 2**
    
-   **3rd Label & Dropdown**: set visibility condition to **Option Name 3**
