What's your biggest current challenge? Have your say in Community Polls along the right column.

want to allocate different banner on all the different collection pages with creating pages

Solved

want to allocate different banner on all the different collection pages with creating pages

Advertfox
Shopify Partner
62 0 10

hi,

 

i want to put different banner on different collection page but for now it is showing same banner image on all the pages. is there any way i can put different image without making pages to every single collection

 

https://advertfox.myshopify.com/

pass: advertfox

 

appreciate your help :))

Accepted Solution (1)

Mehran_Ali
Shopify Partner
447 57 69

This is an accepted solution.

Hi @Advertfox 

 

You can easily update the collection banner with the banner image for each you need to follow these steps:

Step One:

  1. Go to setting
  2. find custom
  3. in meta fields go to the collection
  4. create an image Metafield

Step Two:

  1. Go to each Collection 
  2. scroll to the bottom you see the meta field you created in step one 
  3. Updated the image there and do this for all collection

Step Three:

  1. Gog to online store > themes
  2. click on three dots 
  3. select code editor
  4. Search for collection-main_grid.liquid
  5. search for banner image code 
  6. replace the code image source with the meta field image 

 

These are the steps you need to follow to add the image dynamic according to collection this may require some liquid modification if you can do it by yourself that is good otherwise you can share your collaboration code I will help you out in this.

 

 

-If this solution helps you, kindly LIKE THIS REPLY and MARK AS A SOLUTION OR

Buying Me A Coffee.

-If you need an expert Shopify developer for customization and development, feel free to contact me.


Email: Mehran.ali5300@gmail.com


WhatsApp: +92 343 0211536

View solution in original post

Replies 8 (8)

Mehran_Ali
Shopify Partner
447 57 69

This is an accepted solution.

Hi @Advertfox 

 

You can easily update the collection banner with the banner image for each you need to follow these steps:

Step One:

  1. Go to setting
  2. find custom
  3. in meta fields go to the collection
  4. create an image Metafield

Step Two:

  1. Go to each Collection 
  2. scroll to the bottom you see the meta field you created in step one 
  3. Updated the image there and do this for all collection

Step Three:

  1. Gog to online store > themes
  2. click on three dots 
  3. select code editor
  4. Search for collection-main_grid.liquid
  5. search for banner image code 
  6. replace the code image source with the meta field image 

 

These are the steps you need to follow to add the image dynamic according to collection this may require some liquid modification if you can do it by yourself that is good otherwise you can share your collaboration code I will help you out in this.

 

 

-If this solution helps you, kindly LIKE THIS REPLY and MARK AS A SOLUTION OR

Buying Me A Coffee.

-If you need an expert Shopify developer for customization and development, feel free to contact me.


Email: Mehran.ali5300@gmail.com


WhatsApp: +92 343 0211536

Advertfox
Shopify Partner
62 0 10

hi,

 

i have created one but nothing is showing on my collection page

Mehran_Ali
Shopify Partner
447 57 69

Hi @Advertfox 

 

It need some liquid customization knowledge kindly provide me with the collaboration code i will check and let you know the mistake 

-If this solution helps you, kindly LIKE THIS REPLY and MARK AS A SOLUTION OR

Buying Me A Coffee.

-If you need an expert Shopify developer for customization and development, feel free to contact me.


Email: Mehran.ali5300@gmail.com


WhatsApp: +92 343 0211536

Advertfox
Shopify Partner
62 0 10

which code you'll need

Mehran_Ali
Shopify Partner
447 57 69

It's a Collaboration code that allows me to access only the development section of your store so I can check the code and let you know the solution

 

You can find the code following these steps:

Settings > Users and Permissions, and then find the Collaborators section.

-If this solution helps you, kindly LIKE THIS REPLY and MARK AS A SOLUTION OR

Buying Me A Coffee.

-If you need an expert Shopify developer for customization and development, feel free to contact me.


Email: Mehran.ali5300@gmail.com


WhatsApp: +92 343 0211536

Advertfox
Shopify Partner
62 0 10

3886 here it is

https://advertfox.myshopify.com/

pass: advertfox

 

i have created image metafield but not sure what to do next

 

 

Mehran_Ali
Shopify Partner
447 57 69

Kindly accept the request

-If this solution helps you, kindly LIKE THIS REPLY and MARK AS A SOLUTION OR

Buying Me A Coffee.

-If you need an expert Shopify developer for customization and development, feel free to contact me.


Email: Mehran.ali5300@gmail.com


WhatsApp: +92 343 0211536

mrashid
Shopify Partner
297 26 32

@Advertfox 

Yes, we can achieve this by using metafields. With metafields, you can assign a unique banner image to each collection without needing to create separate pages for every collection.

If you’d like to use different images for desktop and mobile, that’s also possible! We can set up additional metafields for mobile-specific images and update the collection template to display the correct image based on the device.

- Need a Shopify developer? Chat on WhatsApp +923068683199
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution