App reviews, troubleshooting, and recommendations
Hi everyone,
Does anyone know if there is an app that can change the below based on a user tag?
- Image banner (display a different image based on user tags)
- Color schemes (display different color schemes based on user tags)
- Sale icon (display a different sale icon based on user tags)
So I'm thinking there would be a default version of the store with all of the above and then when a user logs in, the above could change to something more personalized based on their tag.
Thanks!
It does not have an app, but you may hire an expert, and then they will add customized code to do your request.
- Solved it? Hit Like and Accept solution!
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- 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.
Thanks Dan.
I'm attempting to customize the code myself. Which file would you insert the below code into? I've tried theme.liquid and theme-editor.js
The code just checks for a userTag and changes the color and displays a greeting. I've tried simpler versions as well, but I can't seem to get even the most basic ones to display/change anything.
{% if customer %}
{% assign userTag = customer.tags | split: ', ' | first %}
<script>
if ("{{ userTag }}" !== "") {
<style>
body {
background-color: #00FF00;
}
</style>
alert('Hi {{ userTag }}');
} else {
// Display a default message if userTag is not defined
alert('Hi there!');
}
</script>
{% endif %}
Please try to update code to this and check
{% if customer %}
{% assign userTag = customer.tags | split: ', ' | first %}
{% if ("{{ userTag }}" !== "") %}
<style>
body {
background-color: #00FF00;
}
</style>
<span>Hi {{ userTag }}</span>
{% else %}
// Display a default message if userTag is not defined
<span>Hi there!</span>
{% endif %}
{% endif %}
- Solved it? Hit Like and Accept solution!
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- 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.
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025