Changing/Editing the "View All" button in Shopify 
WOW Shopify com IA
files/Channels_-_Growth_Social_Static_Affiliates_Affiliates-Merchants__320x480_7724dbcb-6bd4-46ed-8a59-93eb2012e8b0.png

Changing/Editing the "View All" button in Shopify 

See Other Products

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!

Struggling with instructions?

Don't worry, we've got you covered for a reasonable price.

Contact us through "Chat with us" for a quote.

Relax as we handle it for you!

Voltar para o blogue

4 comentários

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

Deixe um comentário