Show content to one country only

Shopify Partner
26 2 4



I am trying to show a message on my cart to customers only from France.

I’ve tried to use a css class to do it but it doesn’t :

html:not([lang="fr-FR"]) .showIfFrFrOnly {
display: none !important;

Do you have any suggestion or workaround ?


What I want to do is to show « Free delivery » only for customers from France.

Thank you for your help,

Replies 2 (2)
Shopify Partner
471 78 98

@zied_drira Hello can you share the store URL?

☑️ If the answer solve your issue please ✔ Accept it and hit like ✌️

► Need help with theme customization, speed optimization, fix bugs?

► Email: Click here Skype:
Shopify Partner
9 0 0


Hi @zied_brah.


I understand that coding can be tricky. Fortunately, a Shopify app can help you achieve your goal without dealing with code in a few minutes.


Here are step-by-step instructions:

  1. Install the BolideAI - Upsell & Marketing app from the Shopify App Store.
  2. Once the app is installed, go to the "Multi-Announcement Bar" section.
  3. Create a new Bar.
  4. Customize the text and design of the bar using the provided slides to make it visually appealing and informative.
  5. Head to the Display Rules tab, and in the Display bar click on the Cart Page.
  6. Now, navigate to the "Targeting" tab.
  7. Specify the country where you want the bar to be visible; in this case, it's France.
  8. Save your settings.


That's it! Your Multi-Announcement Bar will now be displayed exclusively to your French customers, and you won't need to write any code. 




If you have any more questions or need further assistance, please feel free to ask.


Best regards,