removing age verification code in unpublished theme

1 0 0



I am trying to remove the age verification page here and I found the custom code under 'Edit Code'. 

Does removing the custom code on the unpublished theme affect my live(published) store? I duplicated the theme so I can test this, but worried it might affect the live published theme because of that message: 

Screenshot 2024-05-03 at 6.15.39 PM.pngScreenshot 2024-05-03 at 6.16.52 PM.pngScreenshot 2024-05-03 at 6.17.29 PM.png


Please help! Thank you! 

Reply 1 (1)

Shopify Expert
514 140 164


- It does not affect the live published theme. If you want to testing, you can try comment the code and save to test instead of delete the file liquid:

 Step 1: In the file code, press "ctrl A" to blacken all text in the file
 Step 2: press keystrokes "Ctrl + /" for comment and save then
 Step 3: test in your store front

Hope this can help you. 
Kind regards

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

For B2B solutions and custom pricing, check out B2B Solution & Custom Pricing |
For adding product labels/badges, visit Product Labels by BSS

BSS Commerce - Shopify Apps & Store Development Service Provider

Hire a Shopify expert | Shopify Plus Store Development