Merge branch 'main' of github.com:JannexNet/SHX-Theme

main
Jan Umbach 2024-06-20 22:29:56 +02:00
commit f6145eb1b4
8 changed files with 112 additions and 566 deletions

View File

@ -303,6 +303,10 @@ cart-drawer-items {
.cart-drawer .cart-item cart-remove-button {
margin-left: 0;
}
#shx-shipping-costs-info {
max-width: 270px;
}
}
.cart-drawer__footer > * + * {

View File

@ -224,17 +224,6 @@
"shadow": "#121212"
}
},
"scheme-78f0066d-d2b6-449d-81b6-7b6f7e04e2b1": {
"settings": {
"background": "#cba0f6",
"background_gradient": "",
"text": "#ffffff",
"button": "#121212",
"button_label": "#ffffff",
"secondary_button_label": "#121212",
"shadow": "#121212"
}
},
"scheme-f20b5503-2786-43a1-a0bb-d8859f08d3ee": {
"settings": {
"background": "#e74c3c",
@ -257,17 +246,6 @@
"shadow": "#121212"
}
},
"scheme-3b759f00-0c0f-453f-aba0-f17f6429a9d2": {
"settings": {
"background": "#1c1c1c",
"background_gradient": "",
"text": "#ffffff",
"button": "#0f88e5",
"button_label": "#ffffff",
"secondary_button_label": "#121212",
"shadow": "#121212"
}
},
"scheme-719f972d-193d-4d84-ae31-beb20062303a": {
"settings": {
"background": "#808080",
@ -279,62 +257,7 @@
"shadow": "#121212"
}
},
"scheme-f14d4d2d-28d3-4ed0-889c-07f974382f75": {
"settings": {
"background": "#f9f5ef",
"background_gradient": "",
"text": "#121212",
"button": "#af9363",
"button_label": "#ffffff",
"secondary_button_label": "#121212",
"shadow": "#121212"
}
},
"scheme-0e6d923b-99f3-4b55-bca2-6b61643ee7c1": {
"settings": {
"background": "#f9f5ef",
"background_gradient": "",
"text": "#121212",
"button": "#af9363",
"button_label": "#ffffff",
"secondary_button_label": "#121212",
"shadow": "#121212"
}
},
"scheme-210c8106-0a92-41cc-8e98-a90f6a65b043": {
"settings": {
"background": "#f9f5ef",
"background_gradient": "",
"text": "#121212",
"button": "#af9363",
"button_label": "#ffffff",
"secondary_button_label": "#121212",
"shadow": "#121212"
}
},
"scheme-ed7ad532-b02e-4ac6-b63b-0c16e60f2581": {
"settings": {
"background": "#f9f5ef",
"background_gradient": "",
"text": "#121212",
"button": "#af9363",
"button_label": "#ffffff",
"secondary_button_label": "#121212",
"shadow": "#121212"
}
},
"scheme-0bd94c0c-16d1-4539-8d5d-8bf0fd4bf9d7": {
"settings": {
"background": "#f9f5ef",
"background_gradient": "",
"text": "#121212",
"button": "#af9363",
"button_label": "#ffffff",
"secondary_button_label": "#121212",
"shadow": "#121212"
}
},
"scheme-shx-navbar-namenschild": {
"scheme-shx-texte-navbar": {
"settings": {
"background": "#da2c69",
"background_gradient": "",
@ -345,7 +268,7 @@
"shadow": "#121212"
}
},
"scheme-shx-namenschild": {
"scheme-shx-texte": {
"settings": {
"background": "#fd79a8",
"background_gradient": "",
@ -356,14 +279,14 @@
"shadow": "#121212"
}
},
"scheme-shx-navbar-figuren": {
"scheme-shx-figuren-navbar": {
"settings": {
"background": "#a3cb38",
"background": "#af9363",
"background_gradient": "",
"text": "#121212",
"button": "#d980fa",
"text": "#ffffff",
"button": "#af9363",
"button_label": "#ffffff",
"secondary_button_label": "#121212",
"secondary_button_label": "#000000",
"shadow": "#121212"
}
}

View File

@ -261,10 +261,10 @@
{% assign background_color = "" %}
{% if page.url == "/pages/namensschilder" or product.tags contains "shx-namensschild" %}
{% assign background_color = settings.color_schemes["scheme-shx-navbar-namenschild"]["settings"]["background"] %}
{% if page.url == "/pages/texte" or product.tags contains "shx-texte" %}
{% assign background_color = settings.color_schemes["scheme-shx-texte-navbar"]["settings"]["background"] %}
{% elsif page.url == "/pages/figuren" or product.tags contains "shx-figuren" %}
{% assign background_color = settings.color_schemes["scheme-shx-navbar-figuren"]["settings"]["background"] %}
{% assign background_color = settings.color_schemes["scheme-shx-figuren-navbar"]["settings"]["background"] %}
{% endif %}
{% if background_color != "" %}

View File

@ -87,13 +87,17 @@
{% endif %}
<div style="padding: 12px 12px 0 12px; margin-bottom: 20px; background-color: #deecde; text-align: center;">
<span span style="font-size: 14px; color: #4B7046">
{% if total_price < free_shipping_threshold %}
Noch {{ remaining_amount | money }} bis kostenfreiem Versand (sonst {{ shipping_costs | money }})
{% else %}
Prima! Du erhälst kostenfreien Versand
{% endif %}
</span>
<div style="display: flex;gap: 6px;align-items: center;justify-content: center; ">
<svg xmlns="http://www.w3.org/2000/svg" height="18px" viewBox="0 -960 960 960" width="24px" fill="#378c2c"><path d="M240-160q-50 0-85-35t-35-85H40v-440q0-33 23.5-56.5T120-800h560v160h120l120 160v200h-80q0 50-35 85t-85 35q-50 0-85-35t-35-85H360q0 50-35 85t-85 35Zm0-80q17 0 28.5-11.5T280-280q0-17-11.5-28.5T240-320q-17 0-28.5 11.5T200-280q0 17 11.5 28.5T240-240ZM120-360h32q17-18 39-29t49-11q27 0 49 11t39 29h272v-360H120v360Zm600 120q17 0 28.5-11.5T760-280q0-17-11.5-28.5T720-320q-17 0-28.5 11.5T680-280q0 17 11.5 28.5T720-240Zm-40-200h170l-90-120h-80v120ZM360-540Z"></path></svg>
<span id="shx-shipping-costs-info" span style="font-size: 14px; color: #4B7046">
{% if total_price < free_shipping_threshold %}
Noch {{ remaining_amount | money }} bis kostenfreiem Versand (sonst {{ shipping_costs | money }})
{% else %}
Prima! Du erhälst kostenfreien Versand
{% endif %}
</span>
</div>
<progress class="shx-shipping-costs-progress" value={{ progress_percentage }} max="100"></progress>
</div>

View File

@ -1,464 +1,60 @@
/*
* ------------------------------------------------------------
* IMPORTANT: The contents of this file are auto-generated.
*
* This file may be updated by the Shopify admin theme editor
* or related systems. Please exercise caution as any changes
* made to this file may be overwritten.
* ------------------------------------------------------------
*/
{
"sections": {
"custom_liquid_ijYVkM": {
"type": "custom-liquid",
"settings": {
"custom_liquid": "{% render \"shx-landingpage\" %}",
"color_scheme": "",
"padding_top": 0,
"padding_bottom": 0
}
},
"image_banner": {
"type": "image-banner",
"image_with_text_nmMNVm": {
"type": "image-with-text",
"blocks": {
"heading": {
"heading_yJyUcV": {
"type": "heading",
"settings": {
"heading": "Entdecke Magische Kreationen",
"heading_size": "h0"
"heading": "Image with text",
"heading_size": "h1"
}
},
"button": {
"type": "buttons",
"text_gx4NhA": {
"type": "text",
"settings": {
"button_label_1": "Jetzt Einkaufen",
"button_link_1": "shopify:\/\/collections\/all",
"button_style_secondary_1": false,
"button_label_2": "",
"button_link_2": "",
"button_style_secondary_2": false
"text": "<p>Pair text with an image to focus on your chosen product, collection, or blog post. Add details on availability, style, or even provide a review.<\/p>",
"text_style": "body"
}
},
"button_PAWaii": {
"type": "button",
"settings": {
"button_label": "Button label",
"button_link": "",
"button_style_secondary": false
}
}
},
"block_order": [
"heading",
"button"
],
"disabled": true,
"custom_css": [
"heading_yJyUcV",
"text_gx4NhA",
"button_PAWaii"
],
"settings": {
"image_overlay_opacity": 40,
"image_height": "small",
"desktop_content_position": "bottom-center",
"show_text_box": false,
"desktop_content_alignment": "center",
"color_scheme": "scheme-c6371b46-1075-431f-91ca-afb14c23c593",
"image_behavior": "none",
"mobile_content_alignment": "center",
"stack_images_on_mobile": false,
"show_text_below": false
}
},
"featured_collection_Wf8C3g": {
"type": "featured-collection",
"custom_css": [
"h2 {text-align: center; font-weight: bold;}"
],
"settings": {
"title": "Bekannt aus Trends",
"heading_size": "h1",
"description": "",
"show_description": false,
"description_style": "body",
"collection": "trends",
"products_to_show": 4,
"columns_desktop": 3,
"full_width": false,
"show_view_all": true,
"view_all_style": "solid",
"enable_desktop_slider": false,
"height": "adapt",
"desktop_image_width": "medium",
"layout": "image_first",
"desktop_content_position": "top",
"desktop_content_alignment": "left",
"content_layout": "no-overlap",
"section_color_scheme": "",
"color_scheme": "",
"image_ratio": "adapt",
"image_shape": "default",
"show_secondary_image": true,
"show_vendor": false,
"show_rating": false,
"enable_quick_add": false,
"columns_mobile": "1",
"swipe_on_mobile": false,
"image_behavior": "none",
"mobile_content_alignment": "left",
"padding_top": 36,
"padding_bottom": 36
}
},
"featured_collection_W3waRw": {
"type": "featured-collection",
"custom_css": [
"h2 {text-align: center; font-weight: bold;}"
],
"settings": {
"title": "Eidechsen",
"heading_size": "h1",
"description": "",
"show_description": false,
"description_style": "body",
"collection": "eidechsen",
"products_to_show": 4,
"columns_desktop": 3,
"full_width": false,
"show_view_all": true,
"view_all_style": "solid",
"enable_desktop_slider": false,
"color_scheme": "",
"image_ratio": "adapt",
"image_shape": "default",
"show_secondary_image": true,
"show_vendor": false,
"show_rating": false,
"enable_quick_add": false,
"columns_mobile": "1",
"swipe_on_mobile": false,
"padding_top": 16,
"padding_bottom": 36
}
},
"featured_collection_r4FH4L": {
"type": "featured-collection",
"custom_css": [
"h2 {text-align: center; font-weight: bold;}"
],
"settings": {
"title": "Dinos",
"heading_size": "h1",
"description": "",
"show_description": false,
"description_style": "body",
"collection": "dinos",
"products_to_show": 4,
"columns_desktop": 3,
"full_width": false,
"show_view_all": true,
"view_all_style": "solid",
"enable_desktop_slider": false,
"color_scheme": "",
"image_ratio": "adapt",
"image_shape": "default",
"show_secondary_image": true,
"show_vendor": false,
"show_rating": false,
"enable_quick_add": false,
"columns_mobile": "1",
"swipe_on_mobile": false,
"padding_top": 16,
"padding_bottom": 36
}
},
"featured_collection_myGJPk": {
"type": "featured-collection",
"custom_css": [
"h2 {text-align: center; font-weight: bold;}"
],
"settings": {
"title": "Drachen",
"heading_size": "h1",
"description": "",
"show_description": false,
"description_style": "body",
"collection": "drachen",
"products_to_show": 4,
"columns_desktop": 3,
"full_width": false,
"show_view_all": true,
"view_all_style": "solid",
"enable_desktop_slider": false,
"color_scheme": "",
"image_ratio": "adapt",
"image_shape": "default",
"show_secondary_image": true,
"show_vendor": false,
"show_rating": false,
"enable_quick_add": false,
"columns_mobile": "1",
"swipe_on_mobile": false,
"padding_top": 16,
"padding_bottom": 36
}
},
"featured_collection_CeCkdp": {
"type": "featured-collection",
"custom_css": [
"h2 {text-align: center; font-weight: bold;}"
],
"settings": {
"title": "Schlangen",
"heading_size": "h1",
"description": "",
"show_description": false,
"description_style": "body",
"collection": "schlangen",
"products_to_show": 4,
"columns_desktop": 3,
"full_width": false,
"show_view_all": true,
"view_all_style": "solid",
"enable_desktop_slider": false,
"color_scheme": "",
"image_ratio": "adapt",
"image_shape": "default",
"show_secondary_image": true,
"show_vendor": false,
"show_rating": false,
"enable_quick_add": false,
"columns_mobile": "1",
"swipe_on_mobile": false,
"padding_top": 16,
"padding_bottom": 36
}
},
"featured_collection_cHmn8C": {
"type": "featured-collection",
"custom_css": [
"h2 {text-align: center; font-weight: bold;}"
],
"settings": {
"title": "Kätzchen",
"heading_size": "h1",
"description": "",
"show_description": false,
"description_style": "body",
"collection": "katzchen",
"products_to_show": 4,
"columns_desktop": 3,
"full_width": false,
"show_view_all": true,
"view_all_style": "solid",
"enable_desktop_slider": false,
"color_scheme": "",
"image_ratio": "adapt",
"image_shape": "default",
"show_secondary_image": true,
"show_vendor": false,
"show_rating": false,
"enable_quick_add": false,
"columns_mobile": "1",
"swipe_on_mobile": false,
"padding_top": 16,
"padding_bottom": 36
}
},
"featured_collection_6yHaGk": {
"type": "featured-collection",
"custom_css": [
"h2 {text-align: center; font-weight: bold;}"
],
"settings": {
"title": "Hasen",
"heading_size": "h1",
"description": "",
"show_description": false,
"description_style": "body",
"collection": "hasen",
"products_to_show": 4,
"columns_desktop": 3,
"full_width": false,
"show_view_all": true,
"view_all_style": "solid",
"enable_desktop_slider": false,
"color_scheme": "",
"image_ratio": "adapt",
"image_shape": "default",
"show_secondary_image": true,
"show_vendor": false,
"show_rating": false,
"enable_quick_add": false,
"columns_mobile": "1",
"swipe_on_mobile": false,
"padding_top": 16,
"padding_bottom": 36
}
},
"featured_collection_gi7FDe": {
"type": "featured-collection",
"custom_css": [
"h2 {text-align: center; font-weight: bold;}"
],
"settings": {
"title": "Vögel",
"heading_size": "h1",
"description": "",
"show_description": false,
"description_style": "body",
"collection": "vogel",
"products_to_show": 4,
"columns_desktop": 3,
"full_width": false,
"show_view_all": true,
"view_all_style": "solid",
"enable_desktop_slider": false,
"color_scheme": "",
"image_ratio": "adapt",
"image_shape": "default",
"show_secondary_image": true,
"show_vendor": false,
"show_rating": false,
"enable_quick_add": false,
"columns_mobile": "1",
"swipe_on_mobile": false,
"padding_top": 16,
"padding_bottom": 24
}
},
"featured_collection_tWERfC": {
"type": "featured-collection",
"custom_css": [
"h2 {text-align: center; font-weight: bold;}"
],
"settings": {
"title": "Hunde",
"heading_size": "h1",
"description": "",
"show_description": false,
"description_style": "body",
"collection": "hunde",
"products_to_show": 4,
"columns_desktop": 3,
"full_width": false,
"show_view_all": true,
"view_all_style": "solid",
"enable_desktop_slider": false,
"color_scheme": "",
"image_ratio": "adapt",
"image_shape": "default",
"show_secondary_image": true,
"show_vendor": false,
"show_rating": false,
"enable_quick_add": false,
"columns_mobile": "1",
"swipe_on_mobile": false,
"padding_top": 16,
"padding_bottom": 36
}
},
"custom_liquid_eJB4AK": {
"type": "custom-liquid",
"settings": {
"custom_liquid": "<div style=\"display: flex; justify-content: center;\">\n<a href=\"\/collections\/all\" class=\"button\">Alle anzeigen<\/a>\n<\/div>",
"color_scheme": "",
"padding_top": 0,
"padding_bottom": 24
}
},
"custom_liquid_HHY9gP": {
"type": "custom-liquid",
"disabled": true,
"settings": {
"custom_liquid": "{% render 'shx-header-subtitle', title: \"Ausgewählte Produkte\", subtitle: \"Für Dich\" %}",
"color_scheme": "",
"padding_top": 32,
"padding_bottom": 0
}
},
"featured_collection": {
"type": "featured-collection",
"disabled": true,
"custom_css": [
],
"settings": {
"title": "",
"heading_size": "h1",
"description": "",
"show_description": false,
"description_style": "body",
"collection": "frontpage",
"products_to_show": 25,
"columns_desktop": 4,
"full_width": true,
"show_view_all": true,
"view_all_style": "solid",
"enable_desktop_slider": false,
"color_scheme": "scheme-1",
"image_ratio": "square",
"image_shape": "default",
"show_secondary_image": true,
"show_vendor": false,
"show_rating": false,
"enable_quick_add": false,
"columns_mobile": "1",
"swipe_on_mobile": false,
"padding_top": 0,
"padding_bottom": 36
}
},
"custom_liquid_z3Lmpy": {
"type": "custom-liquid",
"settings": {
"custom_liquid": "{% render 'shx-header-subtitle', title: \"Auslaufmodelle\", subtitle: \"Letzte Chance zu kaufen\" %}",
"color_scheme": "",
"padding_top": 32,
"padding_bottom": 0
}
},
"featured_collection_DVArmd": {
"type": "featured-collection",
"settings": {
"title": "",
"heading_size": "h1",
"description": "",
"show_description": false,
"description_style": "body",
"collection": "auslaufmodelle",
"products_to_show": 3,
"columns_desktop": 3,
"full_width": false,
"show_view_all": true,
"view_all_style": "solid",
"enable_desktop_slider": false,
"color_scheme": "",
"image_ratio": "square",
"image_shape": "default",
"show_secondary_image": true,
"show_vendor": false,
"show_rating": false,
"enable_quick_add": false,
"columns_mobile": "1",
"swipe_on_mobile": false,
"padding_top": 0,
"padding_bottom": 36
}
},
"custom_liquid_NFtTHq": {
"type": "custom-liquid",
"settings": {
"custom_liquid": "<!DOCTYPE html>\n<html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\" \/>\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" \/>\n <title>Document<\/title>\n <\/head>\n <body>\n <iframe\n id=\"shx-product-pipeline\"\n style=\"width: 100%; border: none; height: 1257px\"\n src=\"https:\/\/pp.shinnex.de\/\"\n title=\"Produkt Pipeline\"\n scrolling=\"no\"\n onload=\"\n (function() {\n function resizeIframe(event) {\n if (event.origin == 'https:\/\/pp.shinnex.de') {\n const iframe = document.getElementById('shx-product-pipeline');\n iframe.style.height = event.data + 'px'; \n }\n }\n\n window.addEventListener('message', resizeIframe, false)\n })();\n \"\n ><\/iframe>\n <\/body>\n<\/html>",
"color_scheme": "",
"padding_top": 0,
"padding_bottom": 0
}
},
"custom_liquid_cKMkCn": {
"type": "custom-liquid",
"settings": {
"custom_liquid": "{% render 'shx-header-subtitle', title: \"Bleib up-to-date!\", subtitle: \"Erhalte exklusive Vorteile direkt in dein Postfach!\" %}",
"color_scheme": "",
"padding_top": 48,
"padding_bottom": 12
}
},
"newsletter_FNmL79": {
"type": "newsletter",
"blocks": {
"email_form_AMdUnG": {
"type": "email_form",
"settings": {
}
}
},
"block_order": [
"email_form_AMdUnG"
],
"custom_css": [
".newsletter__wrapper:after {box-shadow: none;}"
],
"settings": {
"color_scheme": "scheme-1",
"full_width": true,
"padding_top": 0,
"padding_bottom": 84
}
},
"custom_liquid_JhEiAV": {
"type": "custom-liquid",
"settings": {
@ -673,25 +269,7 @@
}
},
"order": [
"custom_liquid_ijYVkM",
"image_banner",
"featured_collection_Wf8C3g",
"featured_collection_W3waRw",
"featured_collection_r4FH4L",
"featured_collection_myGJPk",
"featured_collection_CeCkdp",
"featured_collection_cHmn8C",
"featured_collection_6yHaGk",
"featured_collection_gi7FDe",
"featured_collection_tWERfC",
"custom_liquid_eJB4AK",
"custom_liquid_HHY9gP",
"featured_collection",
"custom_liquid_z3Lmpy",
"featured_collection_DVArmd",
"custom_liquid_NFtTHq",
"custom_liquid_cKMkCn",
"newsletter_FNmL79",
"image_with_text_nmMNVm",
"custom_liquid_JhEiAV",
"image_with_text_h4Ypbh",
"image_with_text_7jH8VL",

View File

@ -17,15 +17,6 @@
"padding_bottom": 36
}
},
"custom_liquid_rmT78x": {
"type": "custom-liquid",
"settings": {
"custom_liquid": "<a href=\"\/pages\/namensschilder\" style=\"height: 50px; color: #F9F5EF\"> _<\/a>\n<a href=\"\/pages\/figuren\" style=\"height: 50px; margin-left: 20px; color: #F9F5EF\"> _<\/a>",
"color_scheme": "",
"padding_top": 0,
"padding_bottom": 0
}
},
"form": {
"type": "contact-form",
"settings": {
@ -39,7 +30,6 @@
},
"order": [
"main",
"custom_liquid_rmT78x",
"form"
]
}

View File

@ -18,9 +18,56 @@
"padding_top": 28,
"padding_bottom": 100
}
},
"image_with_text_FgMLbW": {
"type": "image-with-text",
"blocks": {
"heading_abrXQL": {
"type": "heading",
"settings": {
"heading": "Image with text",
"heading_size": "h1"
}
},
"text_yBiHAk": {
"type": "text",
"settings": {
"text": "<p>Pair text with an image to focus on your chosen product, collection, or blog post. Add details on availability, style, or even provide a review.<\/p>",
"text_style": "body"
}
},
"button_qhP9Tb": {
"type": "button",
"settings": {
"button_label": "Button label",
"button_link": "",
"button_style_secondary": false
}
}
},
"block_order": [
"heading_abrXQL",
"text_yBiHAk",
"button_qhP9Tb"
],
"settings": {
"height": "adapt",
"desktop_image_width": "medium",
"layout": "image_first",
"desktop_content_position": "top",
"desktop_content_alignment": "left",
"content_layout": "no-overlap",
"section_color_scheme": "",
"color_scheme": "",
"image_behavior": "none",
"mobile_content_alignment": "left",
"padding_top": 36,
"padding_bottom": 36
}
}
},
"order": [
"main"
"main",
"image_with_text_FgMLbW"
]
}