How To Add More Than 4 Sliders

In this article:

  1. Introduction

  2. Editing file config/settings_schema.json

  3. Editing file config/settings_data.json

  4. Editing file snippets/slider.liquid

1. Introduction

This is a guide for you to have more sliders for online store. No coding knowledge needed. Simply follow the steps below to add more sliders.

Benefits:

  • Able to highlight more products

  • Able to provide more information

  • Increase sales


2. Part 1 - Editing file config/settings_schema.json

2.1 Go to Admin > Themes > Edit Source > config > config/settings_schema.json ( last file in the left sidebar )


2.2 Look for <"label": "Social media"> ( around row 740 - 745 ) and find the square bracket < ] > before it.


2.3  Add <   , "number" : 10   > behind the square bracket. This will increase your number of sliders to 10.


2.4 Click 'Save' button on the top right.


3. Part 2 - Editing file config/settings_data.json

3.1 Go to config/settings_data.json.


3.2 Find <"slide_4_alt": "",>.


3.3 Paste codes below after it.

"slide_(number)": "",

"slide_(number)_jpg": "",

"slide_(number)_link": "",

"slide_(number)_alt": "", 


Note: Change the (number) to 5,6,7,8,9,10 as shown below.


3.4 Click the 'Save' button once again.


4. Part 3 - Editing file snippets/slider.liquid

4.1 Navigate to snippets/slider.liquid under the snippets category.


4.2 Change the number <4> to <10> as shown below.


4.3 Click the 'Save'.


4.4 Now you can upload up to 10 sliders.




Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.