FROM CACHE - en_header

Display different banner using request.host for 3 domains

aresi
New Member
1 0 0

I am trying to display different banners in 3 domains using {{ request.host }}

e.g. myshop.com, eu.myshop.com, us.myshop.com

I've refered to this https://shopify.dev/api/liquid/objects/request and is able to display banner for 2 domains.

However, there is no reference to code for 3 domains, can anyone help with it?

Replies 0 (0)