Shopify themes, liquid, logos, and UX
i want to remove country selection from cart page only states selection wants. hence, we only sell in india
URL: https://a6b804-0a.myshopify.com/cart
oh sorry but i can't see this part in your store
Hey @Emiway
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
<style>
details.accordion.accordion--lg.group .select {
display: none;
}
country-selector.contents svg {
display: none !important;
}
label.floating-label[for="select-template--15186842845256__main--addresscountry"] {
display: none !important;
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Error Occuring
Hi @Emiway
Check this one.
From you Admin page, go to Online Store > Themes
Select the theme you want to edit
Under the Asset folder, open the main.css(base.css, style.css or theme.css)
Then place the code below at the very bottom of the file.
shipping-estimator > form > country-selector > div:nth-child(1) {
display: none;
}
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Error Occuring
Hi @Emiway
We will need to edit the code of your theme's cart liquid file to do that. Could I send a collab request to access your store so I can check and help you?
- Helpful? Like and Accept solution!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024