Changing/Editing the "View All" button in Shopify 

Changing/Editing the "View All" button in Shopify 

Personalized your theme. No coding experience needed. NOTE: Code might be different with your theme.

 To start:

1. Go to your theme

2. Click "edit code"

3. Go to Section folder and find collection.liquid or might be featured-products.liquid for others.

4. Find the view_all section

5. Instead of replacing the whole  "<a href /a> " code, we will just need to replace the "{{ 'collections.general.view_all' | t }" with the code below

 {{ section.settings.button_label | escape }}


6. Then go to your schema and add a text box before the "]" before going to "presets"

,{"type": "text",
"id": "button_label",
"label": {
"cs": "Text tlačítka",
"da": "Knaptekst",
"de": "Button-Name",
"en": "Button label",
"es": "Etiqueta de botón",
"fi": "Tekstipainike",
"fr": "Texte du bouton",
"it": "Etichetta pulsante",
"ja": "ボタンのラベル",
"ko": "버튼 레이블",
"nb": "Knappetikett",
"nl": "Knoplabel",
"pl": "Przycisk z etykietą",
"pt-BR": "Etiqueta de botão",
"pt-PT": "Etiqueta do botão",
"sv": "Knappetikett",
"th": "ป้ายกำกับปุ่ม",
"tr": "Düğme etiketi",
"vi": "Nhãn nút",
"zh-CN": "按钮标签",
"zh-TW": "按鈕標籤"
}
}

7. Click Save

8. Go your theme again and click Customize

9. Add a Feature Collection and there should be a section for button label

Let me know if you have questions

6 comments

Hi VOLODYMYR,

This code is for legacy themes only.

Made4Uo

Hi
I have some issues with this code
https://prnt.sc/Gsy4MCw50orx

My theme is Taste

Volodymyr

Hi @PETER SNOWDEN,

The edits is for the legacy themes. Make sure to check in your theme editor. There might be a checkbox available to show the “View all” button.

Made4Uo

Hi, i am trying to place this code for “view all button” into dawn theme. Comes back with error when I try to save.
“unable to update the file invalid json in tag ‘schema’”.
I am placing code into collection-list.liquid.
Can you help?
regards
Peter

peter snowden

Hi @Rose Alexander. I think I replied to you already via “chat with us.” Anyway, I updated the code so you only have to find the view_all translation and replace it

Made4uo

Hello Made4uo,
I have tried to add your code to my Shopify Venture Theme to change the Section code in collection-list-item liquid to change View All collection buttons on Homepage. My Venture Theme does not have a Section: collections.liquid.
Can you please help with this?
I would like to change home page buttons to Shop Now.
Thank you kindly,

rose
Gaysha Chalk Paint

Rose Alexander

Leave a comment