Add a Fixed Timezone and Hide the Timezone Selector From your Store
If you do not want your customers to be able to select a specific timezone for the Gift Card delivery, and you would like the time selection to only appear for a specific timezone, this can be managed by adding some custom code to your theme.
To get this in place, go to Online Store –> Live Theme –> Edit Code –> and go to the theme.liquid file.
Above the closing </body> tag, enter the following snippet of code:
<!-- Gift Card Pro Fixed Timezone Start -->
<script>
document.addEventListener('gcp-page-loaded', function() {
window.GCPSDK.form.set('properties._gcp_delivery_timezone', "-05:00");
});
</script>
<style>
.gc__datetime_container:nth-of-type(3) {
display: none!important;
}
</style>
<!-- Gift Card Pro Fixed Timezone End -->
You will need to change the offsetInput.value option to be fixed to your specific timezone. In the above case ‘-05:00’ fixes the timezone to EST, 5 hours behind GMT, which is the baseline.
Below is a list of general offsets:
American Samoa | -11:00 |
International Date Line West | -11:00 |
Midway Island | -11:00 |
Hawaii | -10:00 |
Alaska | -09:00 |
Pacific Time (US & Canada) | -08:00 |
Tijuana | -08:00 |
Arizona | -07:00 |
Chihuahua | -07:00 |
Mazatlan | -07:00 |
Mountain Time (US & Canada) | -07:00 |
Central America | -06:00 |
Central Time (US & Canada) | -06:00 |
Guadalajara | -06:00 |
Mexico City | -06:00 |
Monterrey | -06:00 |
Saskatchewan | -06:00 |
Bogota | -05:00 |
Eastern Time (US & Canada) | -05:00 |
Indiana (East) | -05:00 |
Lima | -05:00 |
Quito | -05:00 |
Caracas | -04:30 |
Atlantic Time (Canada) | -04:00 |
Georgetown | -04:00 |
La Paz | -04:00 |
Santiago | -04:00 |
Newfoundland | -03:30 |
Brasilia | -03:00 |
Buenos Aires | -03:00 |
Greenland | -03:00 |
Mid-Atlantic | -02:00 |
Azores | -01:00 |
Cape Verde Is. | -01:00 |
Casablanca | +00:00 |
Dublin | +00:00 |
Edinburgh | +00:00 |
Lisbon | +00:00 |
London | +00:00 |
Monrovia | +00:00 |
UTC | +00:00 |
Amsterdam | +01:00 |
Belgrade | +01:00 |
Berlin | +01:00 |
Bern | +01:00 |
Bratislava | +01:00 |
Brussels | +01:00 |
Budapest | +01:00 |
Copenhagen | +01:00 |
Ljubljana | +01:00 |
Madrid | +01:00 |
Paris | +01:00 |
Prague | +01:00 |
Rome | +01:00 |
Sarajevo | +01:00 |
Skopje | +01:00 |
Stockholm | +01:00 |
Vienna | +01:00 |
Warsaw | +01:00 |
West Central Africa | +01:00 |
Zagreb | +01:00 |
Zurich | +01:00 |
Athens | +02:00 |
Bucharest | +02:00 |
Cairo | +02:00 |
Harare | +02:00 |
Helsinki | +02:00 |
Istanbul | +02:00 |
Jerusalem | +02:00 |
Kyiv | +02:00 |
Pretoria | +02:00 |
Riga | +02:00 |
Sofia | +02:00 |
Tallinn | +02:00 |
Vilnius | +02:00 |
Baghdad | +03:00 |
Kuwait | +03:00 |
Minsk | +03:00 |
Moscow | +03:00 |
Nairobi | +03:00 |
Riyadh | +03:00 |
St. Petersburg | +03:00 |
Volgograd | +03:00 |
Tehran | +03:30 |
Abu Dhabi | +04:00 |
Baku | +04:00 |
Muscat | +04:00 |
Tbilisi | +04:00 |
Yerevan | +04:00 |
Kabul | +04:30 |
Ekaterinburg | +05:00 |
Islamabad | +05:00 |
Karachi | +05:00 |
Tashkent | +05:00 |
Chennai | +05:30 |
Kolkata | +05:30 |
Mumbai | +05:30 |
New Delhi | +05:30 |
Sri Jayawardenepura | +05:30 |
Kathmandu | +05:45 |
Almaty | +06:00 |
Astana | +06:00 |
Dhaka | +06:00 |
Novosibirsk | +06:00 |
Urumqi | +06:00 |
Rangoon | +06:30 |
Bangkok | +07:00 |
Hanoi | +07:00 |
Jakarta | +07:00 |
Krasnoyarsk | +07:00 |
Beijing | +08:00 |
Chongqing | +08:00 |
Hong Kong | +08:00 |
Irkutsk | +08:00 |
Kuala Lumpur | +08:00 |
Perth | +08:00 |
Singapore | +08:00 |
Taipei | +08:00 |
Ulaanbataar | +08:00 |
Osaka | +09:00 |
Sapporo | +09:00 |
Seoul | +09:00 |
Tokyo | +09:00 |
Yakutsk | +09:00 |
Adelaide | +09:30 |
Darwin | +09:30 |
Brisbane | +10:00 |
Canberra | +10:00 |
Guam | +10:00 |
Hobart | +10:00 |
Magadan | +10:00 |
Melbourne | +10:00 |
Port Moresby | +10:00 |
Solomon Is. | +10:00 |
Sydney | +10:00 |
Vladivostok | +10:00 |
New Caledonia | +11:00 |
Auckland | +12:00 |
Fiji | +12:00 |
Kamchatka | +12:00 |
Marshall Is. | +12:00 |
Wellington | +12:00 |
Nuku’alofa | +12:00 |
Samoa | +12:00 |
Tokelau Is. | +13:00 |
Can't find the answer in our documentation?
Contact Support Configuring your Gift Card Expiry Date Settings (set unique expiry dates per country)
Pre-populate Phone Input Country Code
Dynamically Change the Gift Card Image In the Cart to Match the Design Selected
Installing Gift Card Item Properties Snippets (making Gift Card details visible on the Cart page)
Add a Fixed Timezone and Hide the Timezone Selector From your Store
Building your Gift Card Purchasing Form
Add a Gift Card Link to your Store’s Navigation
Add a Check Balance Page to your Store
Choose How Your Shopify Store Handles the Fulfillment Status of a Purchased Gift Card
Using Gift Card Pro in Multiple Languages