Advertisement
Guest User

Untitled

a guest
May 22nd, 2019
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.99 KB | None | 0 0
  1. {%- assign menus = null -%}
  2. {%- capture section_btn_close -%}
  3. <div class="footer__section-btn d-flex d-lg-none position-absolute align-items-center justify-content-center">
  4. <i class="icon-883"></i>
  5. </div>
  6. {%- endcapture -%}
  7. {%- for block in section.blocks -%}
  8. {%- assign b-settings = block.settings -%}
  9. {%- case block.type -%}
  10. {%- when 'menu' -%}
  11. {%- capture menu_html -%}
  12. <div class="footer__border border-top d-lg-none"></div>
  13. <div class="col-lg">
  14. {%- assign menu = linklists[b-settings.menu] -%}
  15. <div class="footer__section" data-js-accordion="only-mobile">
  16. <div class="footer__section-head position-relative" data-js-accordion-button>
  17. <h5 class="{% if b-settings.show_title_on_desktop != true %}d-lg-none {% endif %}py-10 py-lg-0 mb-0 mb-lg-10 text-uppercase">{{ b-settings.title | default: menu.title }}</h5>
  18. {%- if b-settings.menu != blank -%}
  19. {{ section_btn_close }}
  20. {%- endif -%}
  21. </div>
  22. <div class="footer__section-content d-none d-lg-block" data-js-accordion-content>
  23. {%- if b-settings.menu != blank -%}
  24. <ul class="list-unstyled pb-15 pb-lg-0">
  25. {%- for link in menu.links -%}
  26. <li class="py-5 py-lg-0"><a href="{{ link.url }}">{{ link.title }}</a></li>
  27. {%- endfor -%}
  28. </ul>
  29. {%- endif -%}
  30. </div>
  31. </div>
  32. </div>
  33. {%- endcapture -%}
  34. {%- assign menus = menus | append: menu_html -%}
  35. {%- when 'custom_html' -%}
  36. {%- capture custom_html -%}
  37. <div class="footer__border border-top row d-lg-none"></div>
  38. <div class="footer__custom-html">
  39. <div class="footer__section" data-js-accordion="only-mobile">
  40. <div class="footer__section-head position-relative" data-js-accordion-button>
  41. <h5 class="{% if b-settings.show_title_on_desktop != true %}d-lg-none {% endif %}py-10 py-lg-0 mb-0 mb-lg-10 text-uppercase">{{ b-settings.title }}</h5>
  42. {%- if b-settings.content != blank -%}
  43. {{ section_btn_close }}
  44. {%- endif -%}
  45. </div>
  46. {%- if section.settings.type == '3' -%}
  47. <div class="footer__section-content d-none d-lg-block" data-js-accordion-content>
  48. <div class="d-flex flex-column align-items-center pt-10 pt-lg-0 pb-15 pb-lg-0">
  49. {{ b-settings.content }}
  50. </div>
  51. </div>
  52. {%- else -%}
  53. <div class="footer__section-content d-none d-lg-block" data-js-accordion-content>
  54. <div class="d-flex d-lg-block flex-column align-items-center pt-10 pt-lg-0 pb-15 pb-lg-0">
  55. {{ b-settings.content }}
  56. </div>
  57. </div>
  58. {%- endif -%}
  59. </div>
  60. </div>
  61. {%- endcapture -%}
  62. {%- when 'social_media' -%}
  63. {%- assign show_facebook = b-settings.show_facebook -%}
  64. {%- assign show_twitter = b-settings.show_twitter -%}
  65. {%- assign show_google = b-settings.show_google -%}
  66. {%- assign show_instagram = b-settings.show_instagram -%}
  67. {%- assign show_pinterest = b-settings.show_pinterest -%}
  68. {%- assign show_youtube = b-settings.show_youtube -%}
  69. {%- assign show_behance = b-settings.show_behance -%}
  70. {%- assign show_skype = b-settings.show_skype -%}
  71. {%- capture social -%}
  72. <div class="footer__social-media{% if section.settings.type == '3' %} d-lg-flex justify-content-lg-center align-items-lg-center{% endif %}">
  73. {%- if b-settings.title != blank -%}
  74. {%- if section.settings.type == '3' -%}
  75. <h5 class="d-none d-lg-block mb-10 mb-lg-0 mr-lg-10 text-uppercase">{{ b-settings.title }}</h5>
  76. {%- elsif section.settings.type != '4' and section.settings.type != '5' -%}
  77. <h5 class="d-none d-lg-block mb-10 text-uppercase">{{ b-settings.title }}</h5>
  78. {%- endif -%}
  79. {%- endif -%}
  80. {%- if section.settings.type == '1' -%}
  81. {% include 'social-media' with type: 'column' %}
  82. {%- else -%}
  83. {% include 'social-media' with type: 'row', social_enable_tooltip: b-settings.enable_tooltip %}
  84. {%- endif -%}
  85. </div>
  86. {%- endcapture -%}
  87. {%- capture social_mobile -%}
  88. <div class="footer__social-media-mobile">
  89. {% include 'social-media' with type: 'row' %}
  90. </div>
  91. {%- endcapture -%}
  92. {%- when 'subscription' -%}
  93. {%- capture subscription -%}
  94. {%- capture title -%}
  95. {%- if b-settings.title != blank -%}
  96. <h5 class="mb-10 text-uppercase">{{ b-settings.title }}</h5>
  97. {%- endif -%}
  98. {%- if b-settings.paragraph != blank -%}
  99. <p class="mb-10">{{ b-settings.paragraph }}</p>
  100. {%- endif -%}
  101. {%- endcapture -%}
  102. {%- capture content -%}
  103. {%- if section.settings.type == '3' -%}
  104. <form action="{{ settings.subscription_mailchimp_form_action }}" method="post" class="d-flex flex-column align-items-lg-center mb-10" target="_blank">
  105. <input type="email" name="EMAIL" id="FooterSubscribe" class="mb-10 mb-lg-20" placeholder="{{ b-settings.placeholder }}" required="required">
  106. {%- assign button_type = settings.color_footer_subscribtion_button_type -%}
  107. <input type="submit" class="btn{% if button_type == '2' %} btn--invert{% elsif button_type == '3' %} btn--secondary{% endif %}" value="{{ b-settings.button_text }}">
  108. </form>
  109. {%- else -%}
  110. <form action="{{ settings.subscription_mailchimp_form_action }}" method="post" class="d-flex flex-column flex-lg-row{% if section.settings.type == '4' %} mb-0{% else %} mb-10{% endif %}" target="_blank">
  111. <input type="email" name="EMAIL" id="FooterSubscribe" class="mb-10 mb-lg-0 mr-lg-10" placeholder="{{ b-settings.placeholder }}" required="required">
  112. {%- assign button_type = settings.color_footer_subscribtion_button_type -%}
  113. <input type="submit" class="btn{% if button_type == '2' %} btn--invert{% elsif button_type == '3' %} btn--secondary{% endif %} px-lg-20" value="{{ b-settings.button_text }}">
  114. </form>
  115. {%- endif -%}
  116. {%- endcapture -%}
  117. {%- if section.settings.type == '1' -%}
  118. <div class="footer__subscription row align-items-center mb-25">
  119. <div class="col-lg-6 mb-10 mb-lg-0">
  120. {{ title }}
  121. </div>
  122. <div class="col-lg-6">
  123. {{ content }}
  124. </div>
  125. </div>
  126. {%- else -%}
  127. <div class="footer__subscription row{% if section.settings.type != '4' %} mb-25{% endif %}">
  128. <div class="col-lg-12 mb-10">
  129. {{ title }}
  130. </div>
  131. <div class="col-lg-12">
  132. {{ content }}
  133. </div>
  134. </div>
  135. {%- endif -%}
  136. {%- endcapture -%}
  137. {%- when 'logo' -%}
  138. {%- capture logo -%}
  139. <div class="footer__logo mr-lg-15">
  140. <a href="/"{% if b-settings.image != blank %} class="text-hide"{% endif %}>
  141. {%- if b-settings.image != blank -%}
  142. {%- capture image_size -%}{{ b-settings.image_width }}x{%- endcapture -%}
  143. {%- capture image_attr -%} style="width: {{ b-settings.image_width }}px;"{%- endcapture -%}
  144. {% include 'build-img' with image: b-settings.image size: image_size alt: shop.name attr: image_attr disable_lazyload: true %}
  145. {%- endif -%}
  146. {{ shop.name }}
  147. </a>
  148. </div>
  149. {%- endcapture -%}
  150. {%- when 'copyright' -%}
  151. {%- capture copyright -%}
  152. <div class="footer__copyright pt-lg-0{% if section.settings.type != '3' and section.settings.type != '4' %} mt-20 mt-lg-0{% endif %}">
  153. {%- if b-settings.content -%}
  154. <p class="mb-0">
  155. {%- if b-settings.enable_custom -%}
  156. {{ b-settings.content }}
  157. {%- else -%}
  158. {{ 'layout.footer.copyright' | t }} &copy; {{ 'now' | date: "%Y" }}, {{ shop.name | link_to: '/' }}. {{ powered_by_link }}
  159. {%- endif -%}
  160. </p>
  161. {%- endif -%}
  162. </div>
  163. {%- endcapture -%}
  164. {%- when 'payments' -%}
  165. {%- capture payments -%}
  166. <div class="footer__payments d-flex flex-wrap justify-content-center justify-content-lg-start align-items-center{% if section.settings.type != '3' %} ml-lg-auto{% endif %}">
  167. {%- assign payments_types = 'power_by_stripe,shopify_secure,aes_256bit,paypal,visa,mastercard,discover_network,american_express,mcafee_secure' | split: ',' -%}
  168. {%- for type in payments_types -%}
  169. {% capture show_prop %}show_{{ type }}{% endcapture %}
  170. {% capture url_prop %}{{ type }}_url{% endcapture %}
  171. {% capture tooltip_name %}payments.tooltip.{{ type }}{% endcapture %}
  172. {%- if b-settings[show_prop] -%}
  173. {%- assign icon_name = type | prepend: 'icon-' | replace: '_', '-' -%}
  174. {%- if b-settings.type == 'light' -%}
  175. {%- assign icon_name = icon_name | append: '-light' -%}
  176. {%- endif -%}
  177. {% capture payment %}{% include icon_name %}<span class="d-none">{{ type | capitalize | replace: '_', ' ' }}</span>{% endcapture %}
  178. {% capture tooltip_attrs %}
  179. {%- if b-settings.enable_tooltip -%}
  180. data-js-tooltip
  181. data-tippy-content="{{ tooltip_name | t }}"
  182. data-tippy-placement="top"
  183. data-tippy-distance="6"
  184. {%- endif -%}
  185. {% endcapture %}
  186. {%- if b-settings[url_prop] != blank -%}
  187. <a href="{{ b-settings[url_prop] }}" class="px-5" {{ tooltip_attrs }}>{{ payment }}</a>
  188. {%- else -%}
  189. <span class="d-flex align-items-center px-5" {{ tooltip_attrs }}>{{ payment }}</span>
  190. {%- endif -%}
  191. {%- endif -%}
  192. {%- endfor -%}
  193. </div>
  194. {%- endcapture -%}
  195. {%- endcase -%}
  196. {%- endfor -%}
  197. {%- capture menus -%}
  198. <div class="footer__menus row flex-column flex-lg-row">
  199. {{ menus }}
  200. </div>
  201. {%- endcapture -%}
  202. {%- if section.settings.show_button_back_to_top -%}
  203. {%- capture back_to_top -%}
  204. <a href="#header" class="footer__back-to-top d-flex position-lg-fixed flex-center" data-js-button-back-to-top="{{ section.settings.button_back_to_top_limit }}">
  205. <i class="icon-146"></i><span class="d-lg-none mt-4 ml-2">{{ 'layout.footer.button_back_to_top' | t }}</span>
  206. </a>
  207. {%- endcapture -%}
  208. {%- endif -%}
  209. {% capture fixed_attr %}{% if section.settings.enable_fixed %} data-js-footer-fixed{% endif %}{% endcapture %}
  210. <div data-section-id="{{ section.id }}" data-section-type="footer"{% include 'layout-get-container-class' %}>
  211. {% include 'section-res-margins' %}
  212. {%- case section.settings.type -%}
  213. {%- when '1' -%}
  214. <footer id="footer" class="footer{{ section_margins }} text-center text-lg-left js-footer"{{ fixed_attr }}>
  215. {%- if section.settings.show_top_border -%}
  216. <div class="footer__border border-top d-none d-lg-block"></div>
  217. {%- endif -%}
  218. <div class="footer__content pt-lg-55 pb-lg-50">
  219. <div class="container">
  220. <div class="row">
  221. <div class="{% if section.settings.show_top_border %}footer__border border-top {% endif %}w-100 mb-45 d-lg-none"></div>
  222. {%- if subscription -%}
  223. <div class="col-lg-12">
  224. {{ subscription }}
  225. </div>
  226. {%- endif -%}
  227. <div class="col-lg-6">
  228. {{ menus }}
  229. </div>
  230. <div class="col-lg-4">
  231. {{ custom_html }}
  232. </div>
  233. <div class="col-lg-2 d-none d-lg-block">
  234. {{ social }}
  235. </div>
  236. </div>
  237. </div>
  238. </div>
  239. {%- if logo or copyright or payments -%}
  240. <div class="footer__border border-top"></div>
  241. <div class="footer__tape py-lg-15">
  242. <div class="container">
  243. <div class="row">
  244. <div class="col-lg-6 d-flex flex-column flex-lg-row align-items-lg-center py-40 py-lg-0">
  245. {{ logo }}
  246. {{ copyright }}
  247. {%- if social_mobile -%}
  248. <div class="d-lg-none mt-25">
  249. {{ social_mobile }}
  250. </div>
  251. {%- endif -%}
  252. </div>
  253. {%- if payments -%}
  254. <div class="footer__border border-top w-100 d-lg-none"></div>
  255. <div class="col-lg-6 d-flex flex-column flex-lg-row align-items-lg-center pt-20 pb-15 py-lg-0">
  256. {{ payments }}
  257. </div>
  258. {%- endif -%}
  259. </div>
  260. </div>
  261. </div>
  262. {%- endif -%}
  263. </footer>
  264. {{ back_to_top }}
  265. {%- when '2' -%}
  266. <footer id="footer" class="footer{{ section_margins }} text-center text-lg-left"{{ fixed_attr }}>
  267. {%- if section.settings.show_top_border -%}
  268. <div class="footer__border border-top d-none d-lg-block"></div>
  269. {%- endif -%}
  270. <div class="footer__content pt-lg-55 pb-lg-50">
  271. <div class="container">
  272. <div class="row">
  273. <div class="{% if section.settings.show_top_border %}footer__border border-top {% endif %}w-100 mb-45 d-lg-none"></div>
  274. <div class="col-lg-6 order-1 order-lg-0">
  275. {{ menus }}
  276. </div>
  277. <div class="col-lg-6">
  278. {{ subscription }}
  279. {%- if social -%}
  280. <div class="d-none d-lg-block">
  281. {{ social }}
  282. </div>
  283. {%- endif -%}
  284. </div>
  285. </div>
  286. </div>
  287. </div>
  288. {%- if logo or copyright or payments -%}
  289. <div class="footer__border border-top"></div>
  290. <div class="footer__tape py-lg-15">
  291. <div class="container">
  292. <div class="row">
  293. <div class="col-lg-6 d-flex flex-column flex-lg-row align-items-lg-center py-40 py-lg-0">
  294. {{ logo }}
  295. {{ copyright }}
  296. {%- if social_mobile -%}
  297. <div class="d-lg-none mt-25">
  298. {{ social_mobile }}
  299. </div>
  300. {%- endif -%}
  301. </div>
  302. {%- if payments -%}
  303. <div class="footer__border border-top w-100 d-lg-none"></div>
  304. <div class="col-lg-6 d-flex flex-column flex-lg-row align-items-lg-center pt-20 pb-15 py-lg-0">
  305. {{ payments }}
  306. </div>
  307. {%- endif -%}
  308. </div>
  309. </div>
  310. </div>
  311. {%- endif -%}
  312. </footer>
  313. {{ back_to_top }}
  314. {%- when '3' -%}
  315. <footer id="footer" class="footer{{ section_margins }} text-center"{{ fixed_attr }}>
  316. {%- if section.settings.show_top_border -%}
  317. <div class="footer__border border-top d-none d-lg-block"></div>
  318. {%- endif -%}
  319. <div class="footer__content pt-lg-55 pb-lg-50">
  320. <div class="container">
  321. <div class="row">
  322. <div class="{% if section.settings.show_top_border %}footer__border border-top {% endif %}w-100 mb-45 d-lg-none"></div>
  323. <div class="col-12 col-lg">
  324. {{ subscription }}
  325. </div>
  326. <div class="footer__border border-left d-none d-lg-block"></div>
  327. <div class="col-12 col-lg">
  328. {{ custom_html }}
  329. </div>
  330. <div class="footer__border border-left d-none d-lg-block"></div>
  331. <div class="col-12 col-lg">
  332. {{ menus }}
  333. </div>
  334. </div>
  335. </div>
  336. </div>
  337. {%- if social -%}
  338. <div class="d-none d-lg-block">
  339. <div class="footer__border border-top"></div>
  340. <div class="footer__tape py-lg-20">
  341. <div class="container">
  342. {{ social }}
  343. </div>
  344. </div>
  345. </div>
  346. {%- endif -%}
  347. {%- if copyright or payments -%}
  348. <div class="footer__border border-top"></div>
  349. <div class="footer__tape py-lg-15 text-center">
  350. <div class="container">
  351. <div class="py-40 py-lg-0">
  352. {{ copyright }}
  353. {%- if social_mobile -%}
  354. <div class="d-lg-none mt-25">
  355. {{ social_mobile }}
  356. </div>
  357. {%- endif -%}
  358. </div>
  359. {%- if payments -%}
  360. <div class="footer__border border-top row w-100 d-lg-none"></div>
  361. <div class="d-flex flex-column align-items-center pt-20 pb-15 py-lg-0 mt-lg-5">
  362. {{ payments }}
  363. </div>
  364. {%- endif -%}
  365. </div>
  366. </div>
  367. {%- endif -%}
  368. </footer>
  369. {{ back_to_top }}
  370. {%- when '4' -%}
  371. <footer id="footer" class="footer{{ section_margins }} text-center"{{ fixed_attr }}>
  372. {%- if section.settings.show_top_border -%}
  373. <div class="footer__border border-top d-none d-lg-block"></div>
  374. {%- endif -%}
  375. <div class="footer__content footer__content--boxed-sm pt-lg-55 pb-lg-50">
  376. <div class="container">
  377. <div class="row">
  378. <div class="{% if section.settings.show_top_border %}footer__border border-top {% endif %}w-100 mb-45 d-lg-none"></div>
  379. <div class="col">
  380. {{ subscription }}
  381. </div>
  382. </div>
  383. </div>
  384. </div>
  385. {%- if copyright or payments -%}
  386. <div class="footer__border border-top"></div>
  387. <div class="footer__tape py-lg-15 text-center">
  388. <div class="container">
  389. <div class="py-40 py-lg-0">
  390. {{ copyright }}
  391. {%- if social_mobile -%}
  392. <div class="d-lg-none mt-25">
  393. {{ social_mobile }}
  394. </div>
  395. {%- endif -%}
  396. </div>
  397. {%- if social -%}
  398. <div class="d-none d-lg-flex justify-content-lg-center mt-lg-10">
  399. {{ social }}
  400. </div>
  401. {%- endif -%}
  402. </div>
  403. </div>
  404. {%- endif -%}
  405. </footer>
  406. {{ back_to_top }}
  407. {%- when '5' -%}
  408. <footer id="footer" class="footer{{ section_margins }} text-center text-lg-left"{{ fixed_attr }}>
  409. {%- if section.settings.show_top_border -%}
  410. <div class="footer__border border-top d-none d-lg-block"></div>
  411. {%- endif -%}
  412. <div class="footer__content py-lg-10">
  413. <div class="container">
  414. <div class="d-lg-flex py-15 py-lg-0">
  415. <div class="pb-15 pb-lg-0">
  416. <div class="{% if section.settings.show_top_border %}footer__border border-top {% endif %}row mb-45 d-lg-none"></div>
  417. {{ copyright }}
  418. </div>
  419. {%- if social -%}
  420. <div class="d-flex justify-content-lg-center align-items-center py-15 py-lg-0 ml-lg-auto">
  421. {{ social }}
  422. </div>
  423. {%- endif -%}
  424. </div>
  425. </div>
  426. </div>
  427. </footer>
  428. {{ back_to_top }}
  429. {%- endcase -%}
  430. </div>
  431.  
  432. {% schema %}
  433. {
  434. "name": "Footer",
  435. "settings": [
  436. {
  437. "type": "select",
  438. "id": "type",
  439. "label": "Type",
  440. "default": "1",
  441. "options": [
  442. {
  443. "value": "1",
  444. "label": "Type #1"
  445. },
  446. {
  447. "value": "2",
  448. "label": "Type #2"
  449. },
  450. {
  451. "value": "3",
  452. "label": "Type #3"
  453. },
  454. {
  455. "value": "4",
  456. "label": "Type #4"
  457. },
  458. {
  459. "value": "5",
  460. "label": "Type #5"
  461. }
  462. ]
  463. },
  464. {
  465. "type": "select",
  466. "id": "container",
  467. "label": "Content width",
  468. "default": "inherit",
  469. "options": [
  470. {
  471. "value": "inherit",
  472. "label": "Inherit global settings"
  473. },
  474. {
  475. "value": "fullwidth",
  476. "label": "Full width"
  477. },
  478. {
  479. "value": "boxed",
  480. "label": "Boxed"
  481. }
  482. ]
  483. },
  484. {
  485. "type": "range",
  486. "id": "margin_top",
  487. "min": 0,
  488. "max": 100,
  489. "step": 5,
  490. "unit": "px",
  491. "label": "Margin top",
  492. "default": 0
  493. },
  494. {
  495. "type": "text",
  496. "id": "margin_top_responsive",
  497. "label": "Responsive margin top",
  498. "info": "Example is '0,0,0,0,0'"
  499. },
  500. {
  501. "type": "checkbox",
  502. "id": "enable_fixed",
  503. "label": "Enable fixed",
  504. "default": true
  505. },
  506. {
  507. "type": "checkbox",
  508. "id": "show_top_border",
  509. "label": "Show top border",
  510. "default": true
  511. },
  512. {
  513. "type": "checkbox",
  514. "id": "show_button_back_to_top",
  515. "label": "Show button 'Back to top'",
  516. "default": true
  517. },
  518. {
  519. "type": "range",
  520. "id": "button_back_to_top_limit",
  521. "min": 200,
  522. "max": 2000,
  523. "step": 100,
  524. "unit": "px",
  525. "label": "Button 'Back to top' scroll visible limit",
  526. "default": 600
  527. }
  528. ],
  529. "blocks": [
  530. {
  531. "type": "menu",
  532. "name": "Menu",
  533. "settings": [
  534. {
  535. "type": "checkbox",
  536. "id": "show_title_on_desktop",
  537. "label": "Show title on desktop",
  538. "default": true
  539. },
  540. {
  541. "type": "text",
  542. "id": "title",
  543. "label": "Title"
  544. },
  545. {
  546. "type": "link_list",
  547. "id": "menu",
  548. "label": "Menu"
  549. }
  550. ]
  551. },
  552. {
  553. "type": "custom_html",
  554. "name": "Custom html",
  555. "limit": 1,
  556. "settings": [
  557. {
  558. "type": "checkbox",
  559. "id": "show_title_on_desktop",
  560. "label": "Show title on desktop",
  561. "default": true
  562. },
  563. {
  564. "type": "text",
  565. "id": "title",
  566. "label": "Title",
  567. "default": "Here to help"
  568. },
  569. {
  570. "type": "html",
  571. "id": "content",
  572. "label": "Content",
  573. "default": "<p class=\"mb-15\">Have a question? You may find an answer in our <a href=\"/pages/answers-to-your-questions\" class=\"btn-link\">FAQs</a>.<br/>But you can also contact us:</p><h6 class=\"mb-15 ml-2\">Customer Services</h6><div><p class=\"d-flex justify-content-center justify-content-lg-start mb-15\"><i class=\"icon-973 mr-10\"></i>Call Us: 800-123-4567</p><p class=\"d-flex justify-content-center justify-content-lg-start mb-15\"><i class=\"icon-34 mr-10\"></i><span class=\"text-left\">Mon-Fri: 9:00 am - 6:00 pm<br/>Sat: 9:00 am - 4:00 pm<br/>Sun: 9:00 am - 2:00 pm</span></p> <p class=\"d-flex justify-content-center justify-content-lg-start mb-15\"><i class=\"icon-534 mr-10\"></i><a href=\"mailto:shellashopify2018@gmail.com\" class=\"btn-link\">Send us an email</a></p></div>"
  574. }
  575. ]
  576. },
  577. {
  578. "type": "social_media",
  579. "name": "Social media",
  580. "limit": 1,
  581. "settings": [
  582. {
  583. "type": "text",
  584. "id": "title",
  585. "label": "Title",
  586. "default": "Follow us"
  587. },
  588. {
  589. "type": "checkbox",
  590. "id": "enable_tooltip",
  591. "label": "Enable tooltip",
  592. "default": true
  593. },
  594. {
  595. "type": "checkbox",
  596. "id": "show_facebook",
  597. "label": "Show facebook",
  598. "default": true
  599. },
  600. {
  601. "type": "checkbox",
  602. "id": "show_twitter",
  603. "label": "Show twitter",
  604. "default": true
  605. },
  606. {
  607. "type": "checkbox",
  608. "id": "show_google",
  609. "label": "Show google",
  610. "default": true
  611. },
  612. {
  613. "type": "checkbox",
  614. "id": "show_instagram",
  615. "label": "Show instagram",
  616. "default": true
  617. },
  618. {
  619. "type": "checkbox",
  620. "id": "show_pinterest",
  621. "label": "Show pinterest",
  622. "default": true
  623. },
  624. {
  625. "type": "checkbox",
  626. "id": "show_youtube",
  627. "label": "Show youtube",
  628. "default": true
  629. },
  630. {
  631. "type": "checkbox",
  632. "id": "show_behance",
  633. "label": "Show behance",
  634. "default": true
  635. },
  636. {
  637. "type": "checkbox",
  638. "id": "show_skype",
  639. "label": "Show skype",
  640. "default": true
  641. }
  642. ]
  643. },
  644. {
  645. "type": "subscription",
  646. "name": "Subscription",
  647. "limit": 1,
  648. "settings": [
  649. {
  650. "type": "text",
  651. "id": "title",
  652. "label": "Title",
  653. "default": "Newsletter subscription"
  654. },
  655. {
  656. "type": "text",
  657. "id": "paragraph",
  658. "label": "Paragraph",
  659. "default": "Sign up for Shella updates to receive information about new arrivals, future events and specials."
  660. },
  661. {
  662. "type": "text",
  663. "id": "placeholder",
  664. "label": "Placeholder",
  665. "default": "Enter Your Email Address"
  666. },
  667. {
  668. "type": "text",
  669. "id": "button_text",
  670. "label": "Button text",
  671. "default": "SUBSCRIBE!"
  672. }
  673. ]
  674. },
  675. {
  676. "type": "logo",
  677. "name": "Logo",
  678. "limit": 1,
  679. "settings": [
  680. {
  681. "type": "image_picker",
  682. "id": "image",
  683. "label": "Image"
  684. },
  685. {
  686. "type": "range",
  687. "id": "image_width",
  688. "min": 50,
  689. "max": 200,
  690. "step": 2,
  691. "unit": "px",
  692. "label": "Image width",
  693. "default": 64
  694. }
  695. ]
  696. },
  697. {
  698. "type": "copyright",
  699. "name": "Copyright",
  700. "limit": 1,
  701. "settings": [
  702. {
  703. "type": "checkbox",
  704. "id": "enable_custom",
  705. "label": "Enable custom",
  706. "default": true
  707. },
  708. {
  709. "type": "html",
  710. "id": "content",
  711. "label": "Content",
  712. "default": "&copy; 2018 Shella Fashion Store Shopify. All Rights Reserved. Ecommerce Software by Shopify. <br class=\"d-none d-lg-block\"> Shopify Theme by <a href=\"https://mpthemes.net/\" class=\"btn-link\">MPIthemes</a>."
  713. }
  714. ]
  715. },
  716. {
  717. "type": "payments",
  718. "name": "Payments",
  719. "limit": 1,
  720. "settings": [
  721. {
  722. "type": "select",
  723. "id": "type",
  724. "label": "Type",
  725. "default": "dark",
  726. "options": [
  727. {
  728. "value": "dark",
  729. "label": "Dark"
  730. },
  731. {
  732. "value": "light",
  733. "label": "Light"
  734. }
  735. ]
  736. },
  737. {
  738. "type": "checkbox",
  739. "id": "enable_tooltip",
  740. "label": "Enable tooltip",
  741. "default": true
  742. },
  743. {
  744. "type": "checkbox",
  745. "id": "show_power_by_stripe",
  746. "label": "Shop 'Power by stripe'",
  747. "default": true
  748. },
  749. {
  750. "type": "url",
  751. "id": "power_by_stripe_url",
  752. "label": "'Power by stripe' url"
  753. },
  754. {
  755. "type": "checkbox",
  756. "id": "show_shopify_secure",
  757. "label": "Shop 'Shopify secure'",
  758. "default": true
  759. },
  760. {
  761. "type": "url",
  762. "id": "shopify_secure_url",
  763. "label": "'Shopify secure' url"
  764. },
  765. {
  766. "type": "checkbox",
  767. "id": "show_aes_256bit",
  768. "label": "Shop 'AES 265 bit'",
  769. "default": true
  770. },
  771. {
  772. "type": "url",
  773. "id": "aes_256bit_url",
  774. "label": "'AES 265 bit' url"
  775. },
  776. {
  777. "type": "checkbox",
  778. "id": "show_paypal",
  779. "label": "Shop 'Paypal'",
  780. "default": true
  781. },
  782. {
  783. "type": "url",
  784. "id": "paypal_url",
  785. "label": "'Paypal' url"
  786. },
  787. {
  788. "type": "checkbox",
  789. "id": "show_visa",
  790. "label": "Shop 'Visa'",
  791. "default": true
  792. },
  793. {
  794. "type": "url",
  795. "id": "visa_url",
  796. "label": "'Visa' url"
  797. },
  798. {
  799. "type": "checkbox",
  800. "id": "show_mastercard",
  801. "label": "Shop 'Mastercard'",
  802. "default": true
  803. },
  804. {
  805. "type": "url",
  806. "id": "mastercard_url",
  807. "label": "'Mastercard' url"
  808. },
  809. {
  810. "type": "checkbox",
  811. "id": "show_discover_network",
  812. "label": "Shop 'Discover network'",
  813. "default": true
  814. },
  815. {
  816. "type": "url",
  817. "id": "discover_network_url",
  818. "label": "'Discover network' url"
  819. },
  820. {
  821. "type": "checkbox",
  822. "id": "show_american_express",
  823. "label": "Shop 'American express'",
  824. "default": true
  825. },
  826. {
  827. "type": "url",
  828. "id": "american_express_url",
  829. "label": "'American express' url"
  830. },
  831. {
  832. "type": "checkbox",
  833. "id": "show_mcafee_secure",
  834. "label": "Shop 'McAfee secure'",
  835. "default": true
  836. },
  837. {
  838. "type": "url",
  839. "id": "mcafee_secure_url",
  840. "label": "'McAfee secure' url"
  841. }
  842. ]
  843. }
  844. ]
  845. }
  846. {% endschema %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement