Can't display the variants in the product page

Can't display the variants in the product page

Daniel1010101
Tourist
6 0 1

The variant on the product page has been hidden. Is it about the Theme i use? Shopify support told the code has been edited so the variant can't be displayed. Here is the URL. Would anyone please help? Thank you so much!

Buy French Food Online UK | Care About What You Cook (gourmetdeparis.co.uk).

Replies 5 (5)

Rahul_dhiman
Shopify Partner
761 145 157

Hello @Daniel1010101 
Go to online store ---------> themes ---------> actions ------> edit code------->Theme.css ----> line number 5598
and delete this code and save.

.hidden {
position: absolute;
left: -10000px;
top: auto;
width: 1px;
height: 1px;
overflow: hidden;
}

and the result will be
19.png


If this was helpful, hit the like button and mark the job as completed.
Thanks

Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront

Contact here


BEST CUSTOMER ACCOUNTS APP WITH CUSTOM WISHLIST OPTION 
TRY OUR APP :

PWC: Customer Accounts & Pages

Daniel1010101
Tourist
6 0 1

Thank you so much~

After i deleted it, i couldn't see the variant in product page but i found the variant (or default title if no variant is created), and one more ADD TO CART button under each product in the category page. Please see attachment. Thanks for the help!

Daniel1010101
Tourist
6 0 1

Screenshot 2024-07-19 120649.png

BSS-TekLabs
Shopify Partner
2401 695 831

- Here is the solution for you @Daniel1010101 
- Please follow these steps:

step.png

- Then find the theme.css file.
- Then add the following code at the end of the file and press 'Save' to save it.

.hidden {
    width: auto !important;
    height: auto !important;
    left: 0 !important;
    position: relative !important;
display: block !important;
}

- Here is the result you will achieve:

BSSTekLabs_0-1721389891934.png

 

 

- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
Daniel1010101
Tourist
6 0 1

Thanks

But still, i found the variant (or default title if no variant is created), and one more ADD TO CART button under each product in the category page. Can the extra Add to cart and Variant be hidden? Please see attachment. Also, in the product page, the variant appears but would like to hide the default title if no variant is created). Thanks for the help!Screenshot 2024-07-19 133602.pngScreenshot 2024-07-19 133615.png