This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form method="post" action='/cart'> | |
<input name='id' class='hidden' value="VARIANT_ID" type='hidden'> | |
<input name='selling_plan' class='hidden' value="SELLING_PLAN_ID" type='hidden'> | |
<input name='discount' class='hidden' value="DISCOUNT_CODE" type='hidden'> | |
<input name='qty' class='hidden' value="1" type='hidden'> | |
<button type="submit" name="checkout">Buy Now</button> | |
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% if handle == 'your-page-handle' %} | |
{%- capture og_image_tags -%}<meta property="og:image" content="link-to-your-image">{%- endcapture -%} | |
{%- capture og_image_secure_url_tags -%}<meta property="og:image:secure_url" content="link-to-your-image">{%- endcapture -%} | |
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
/** | |
* Geolocation app must be installed | |
* redirection variable -> list of supported countries with specifi domain extension ( assigned via Shopify Markets setting ) | |
*/ | |
(()=>{ | |
let published_locales = {{ shop.published_locales | json }} | |
let shop_locales = published_locales.map(locale=>locale.shop_locale.locale.toLowerCase()) | |
let redirection = ["cz","dk","fi","fr","gr","it","nl","pl","pt","es","se"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { createApp } from 'vue' | |
import GlobalComponents from './renderComponent' | |
import App from './../App.vue' | |
import './style.css' | |
const app = createApp(App) | |
app.use(GlobalComponents) | |
app.mount('#app') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script setup> | |
const props = defineProps({ | |
modelValue: String | |
}) | |
const emit = defineEmits(['update:modelValue']) | |
function updateValue(value) { | |
emit('update:modelValue', value) |