Changing/Editing the "View All" button in Shopify 

Changing/Editing the "View All" button in Shopify 

No coding experience needed. 

 

 

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

Copied!
Voltar para o blogue

2 comentários

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

Deixe um comentário