Please help to hide useless variant with one option

Topic summary

A Shopify store owner sought help hiding product variants with only one option, specifically a “USB” variant automatically added by CJDropshipping that couldn’t be removed.

Solution Provided:

  • Edit the theme.liquid file through Online Store → Theme → Edit code
  • Add custom CSS/markup code at the bottom of the file to hide single-option variants

Outcome:

  • The solution successfully resolved the issue
  • The original poster had been searching for this fix for an extended period without success
Summarized with AI on November 10. AI used: claude-sonnet-4-5-20250929.

Hi,

How do i hide, not remove, but hide these variants that have only one option? Especially the one saying USB. It’s totally useless and it’s just there because CJDropshipping added it so i can’t remove it but i want to hide it. Link of my website : pixeoprint.com

Hi @Jeanne8 ,

You can try this code by following these steps:

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file theme.liquid

Step 3: Paste the below code at the bottom of the file → Save


Hope my solution works perfectly for you!

Best regards,

Oliver | PageFly

Oh wow! I love you God bless you. It works! It’s been so long that i’ve been trying and not finding but you solved it.