Don’t show single variation option on product page

This topic has 2 replies, 2 voices, and was last updated 1 week, 4 days ago ago by Jack Richardson

  • Avatar: Visenco
    Visenco
    Participant
    August 12, 2026 at 08:02

    Hi,

    We have a couple of products only in one color but for the filtering we added the color as a variation. Now it is also a option on the product page even when we deselect, show on productpage.

    For example https://test.arjanenco.nl/product/ydence-gloria-jurk-zwart/

    1 Answer
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    August 12, 2026 at 10:01

    Hello @Visenco,

    If you wish to remove such variations now, the customer will not be able to purchase the product. In your situation, we recommend setting the default variations in your product backend [product data] -> https://gyazo.com/26a3465ec8985ae7da49cfa93456915f. This will allow you to see the pre-selected variations and hide the variations on your single product page for products that have only one variation in color or size.

    .variations_form table tr:has(li:only-child) {
        display: none;
    }

    Custom CSS: https://www.8theme.com/documentation/xstore/additional-customisation/optimal-placement-for-custom-css-code/

    Best Regards,
    Jack Richardson
    The 8Theme’s Team

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.