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
@media screen and (-webkit-min-device-pixel-ratio:0) { | |
.pickupDateTimeField, | |
.deliveryDateTimeField, | |
#pickupGeoSearchField, | |
#deliveryGeoSearchField { | |
font-size: 16px !important; | |
} | |
} |
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
var data = { | |
"quantity": 1, | |
"id": variant_id, | |
"properties": { | |
"_custom_property": "Test123" | |
} | |
}; | |
jQuery.ajax({ | |
type: 'POST', |
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
public static function decrypt($string) | |
{ | |
$output = false; | |
$encrypt_method = "AES-256-CBC"; | |
$secret_key = config('encryption_key'); | |
$secret_iv = config('encryption_iv'); | |
// hash | |
$key = hash('sha256', $secret_key); |
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
"shopify": { | |
"checkout": { | |
"contact": { | |
"shipping_address_title": "HubBox Collect Point" | |
}, | |
"thank_you": { | |
"marker": { | |
"shipping": "HubBox Collect Point" | |
}, | |
"shipping_address_title": "HubBox Collect Point" |
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
{ | |
"shopify": { | |
"checkout": { | |
"tips": { | |
"title": "Driver tip", | |
"add_tip": "Add tip", | |
"description": "Add a tip for your delivery driver", | |
"message": "" | |
}, | |
"general": { |
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
"shopify": { | |
"checkout": { | |
"contact": { | |
"phone_label": "Your phone number", | |
"optional_phone_label": "Your phone number (optional)", | |
"phone_placeholder": "Your phone number", | |
"optional_phone_placeholder": "Your phone number (optional)", | |
"shipping_address_title": "Pickup address", | |
"first_name_label": "Your first name", | |
"optional_first_name_label": "Your first name (optional)", |
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
{% comment %} | |
*** BOLD PRODUCT OPTIONS *** | |
This file ensures Zapiet - Store Pickup + Delivery works | |
with the Bold Product Options app (https://apps.shopify.com/product-options) | |
{% endcomment %} | |
{% for item in cart.items %} | |
{% assign boldVariants = item.properties['_boldVariantIds'] | split: "," %} | |
{% assign boldProducts = item.properties['_boldProductIds'] | split: "," %} |
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 fulfillment.fulfillment_line_items.count == item_count %} | |
{% capture shipment_name %}Your order is{% endcapture %} | |
{% elsif fulfillment.item_count > 1 %} | |
{% if fulfillment_status == 'fulfilled' %} | |
{% capture shipment_name %}The last items in your order are{% endcapture %} | |
{% else %} | |
{% capture shipment_name %}Some items in your order are{% endcapture %} | |
{% endif %} | |
{% else %} | |
{% if fulfillment_status == 'fulfilled' %} |
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
{% capture email_title %}Thank you for your purchase! {% endcapture %} | |
{% if attributes.Checkout-Method == "pickup" %} | |
{% capture email_body %}Hi {{ customer.first_name }}, we're getting your order ready for pickup | |
{% if attributes.Pickup-Date %} | |
on {{ attributes.Pickup-Date | date: "%A, %-d %B %Y" }} | |
{% if attributes.Pickup-Time %} | |
at {{ attributes.Pickup-Time | date: "%R" }} | |
{% endif %} | |
{% 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
{% if billing_address.name %} | |
<p>Dear {{ billing_address.name }},</p> | |
<p></p> | |
{% endif %} | |
{% if attributes.Checkout-Method == "pickup" %} | |
<p>{% if fulfillment.item_count == item_count %}All{% elsif fulfillment_status == 'fulfilled' %}The last{% else %}Some{% endif %} of the items from order {{ name }} are now ready for pickup from:</p> | |
<p>{{ shipping_address.company }}<br /> |