Skip to content

Commit

Permalink
Update from Shopify for theme dawn/test290823
Browse files Browse the repository at this point in the history
Committed from shop: Nanshy
  • Loading branch information
shopify[bot] authored Feb 28, 2024
1 parent 5493d3f commit d8c3143
Showing 1 changed file with 1 addition and 25 deletions.
26 changes: 1 addition & 25 deletions layout/theme.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -35,38 +35,14 @@
{%- if settings.animations_reveal_on_scroll -%}
<script src="{{ 'animations.js' | asset_url }}" defer="defer"></script>
{%- endif -%}
<script src="https://a.klaviyo.com/media/js/onsite/onsite.js" async></script>

Check warning on line 38 in layout/theme.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

layout/theme.liquid#L38

[RemoteAsset] Asset should be served by the Shopify CDN for better performance.
<script type="text/javascript">
(function e(){var e=document.createElement("script");e.type="text/javascript",e.async=true,e.src="//staticw2.yotpo.com/pFBxGeykOZnIm5kZc6mrwFICy0KxLOFfNchaAbmU/widget.js";var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)})();
</script>
<script
src="https://cdn-widgetsrepository.yotpo.com/v1/loader/pFBxGeykOZnIm5kZc6mrwFICy0KxLOFfNchaAbmU?languageCode={{ localization.language.iso_code | escape }}"
async
></script>

Check warning on line 45 in layout/theme.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

layout/theme.liquid#L42-L45

[RemoteAsset] Asset should be served by the Shopify CDN for better performance.
<script src="https://a.klaviyo.com/media/js/onsite/onsite.js" async></script>
<script>
var klaviyo = klaviyo || [];
klaviyo.init({
account: "fBRWeY",
platform: "shopify"
});
klaviyo.enable("backinstock",{
trigger: {
product_page_text: "Notify Me When Available",
product_page_class: "btn",
product_page_text_align: "center",
product_page_margin: "0px",
replace_anchor: false
},
modal: {
headline: "{product_name}",
body_content: "Register to receive a notification when this item comes back in stock.",
email_field_label: "Email",
button_label: "Notify me when available",
subscription_success_label: "You're in! We'll let you know when it's back.",
footer_content: ''
}
});
</script>
{{ content_for_header }}

<style>
Expand Down

0 comments on commit d8c3143

Please sign in to comment.