$product = {"id":7903423135843,"title":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 變種吉娃娃 Godgwawa 吉速駕照","handle":"iphone-12-pro-mod-nx-magsafe-printable-it36","description":null,"published_at":"2025-10-20T09:44:11+08:00","created_at":"2025-10-20T09:26:14+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-godgwawa","device-iPhone 12 Pro","merge","reseller-godgwawa"],"price":110000,"price_min":110000,"price_max":110000,"available":true,"price_varies":false,"compare_at_price":null,"compare_at_price_min":0,"compare_at_price_max":0,"compare_at_price_varies":false,"variants":[{"id":43786593304675,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"MPB01185C1-IT36","requires_shipping":true,"taxable":true,"featured_image":{"id":34672901029987,"product_id":7903423135843,"position":4,"created_at":"2025-10-20T09:26:17+08:00","updated_at":"2025-10-20T09:26:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73b1eedc7889f3f66d7aa2c2e688abf8b1523186.webp?v=1760923580","variant_ids":[43786593304675]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 變種吉娃娃 Godgwawa 吉速駕照 - Lavender","public_title":"Lavender","options":["Lavender"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01185C1-IT36","featured_media":{"alt":null,"id":26242159968355,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73b1eedc7889f3f66d7aa2c2e688abf8b1523186.webp?v=1760923580"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43786596581475,"title":"Graphite","option1":"Graphite","option2":null,"option3":null,"sku":"MPB0118569-IT36","requires_shipping":true,"taxable":true,"featured_image":{"id":34672901488739,"product_id":7903423135843,"position":6,"created_at":"2025-10-20T09:26:19+08:00","updated_at":"2025-10-20T09:26:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ec25ee0cf0061ccd18b9fd59848eecb4fbeeb23.webp?v=1760923581","variant_ids":[43786596581475]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 變種吉娃娃 Godgwawa 吉速駕照 - Graphite","public_title":"Graphite","options":["Graphite"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118569-IT36","featured_media":{"alt":null,"id":26242160427107,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ec25ee0cf0061ccd18b9fd59848eecb4fbeeb23.webp?v=1760923581"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43786596810851,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0118504-IT36","requires_shipping":true,"taxable":true,"featured_image":{"id":34672900866147,"product_id":7903423135843,"position":3,"created_at":"2025-10-20T09:26:17+08:00","updated_at":"2025-10-20T09:26:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5abb35d368957b3ff0e903dae8fd09f90253a4a1.webp?v=1760923579","variant_ids":[43786596810851]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 變種吉娃娃 Godgwawa 吉速駕照 - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118504-IT36","featured_media":{"alt":null,"id":26242159804515,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5abb35d368957b3ff0e903dae8fd09f90253a4a1.webp?v=1760923579"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43786596843619,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01185J5-IT36","requires_shipping":true,"taxable":true,"featured_image":{"id":34672900604003,"product_id":7903423135843,"position":2,"created_at":"2025-10-20T09:26:16+08:00","updated_at":"2025-10-20T09:26:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d12db018b289dc479b249d767f631a12a3efd60.webp?v=1760923578","variant_ids":[43786596843619]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 變種吉娃娃 Godgwawa 吉速駕照 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01185J5-IT36","featured_media":{"alt":null,"id":26242159509603,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d12db018b289dc479b249d767f631a12a3efd60.webp?v=1760923578"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43786596876387,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118524-IT36","requires_shipping":true,"taxable":true,"featured_image":{"id":34672901750883,"product_id":7903423135843,"position":7,"created_at":"2025-10-20T09:26:20+08:00","updated_at":"2025-10-20T09:26:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/290bb90f13ba2f11e9b6c8dde65ad781d0427ffa.webp?v=1760923582","variant_ids":[43786596876387]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 變種吉娃娃 Godgwawa 吉速駕照 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118524-IT36","featured_media":{"alt":null,"id":26242160689251,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/290bb90f13ba2f11e9b6c8dde65ad781d0427ffa.webp?v=1760923582"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e2cae92ba407a4aa4d080f3d09e9696f61d7960.webp?v=1760923577","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d12db018b289dc479b249d767f631a12a3efd60.webp?v=1760923578","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5abb35d368957b3ff0e903dae8fd09f90253a4a1.webp?v=1760923579","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73b1eedc7889f3f66d7aa2c2e688abf8b1523186.webp?v=1760923580","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/345fd25585bab86620cb160d10771ef49d60f6f0.webp?v=1760923580","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ec25ee0cf0061ccd18b9fd59848eecb4fbeeb23.webp?v=1760923581","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/290bb90f13ba2f11e9b6c8dde65ad781d0427ffa.webp?v=1760923582","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75cce7ca7aa176240a706f6bc4d84b6900a1a9b5.webp?v=1760923582","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/349deebb9730dff53ce948558d94e3cded3fab74.webp?v=1760923583","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc9b835ee8d947e948c532a71e14cc6a7e89dfc2.webp?v=1760923584","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49c183c23d95f5f55dc5c34c349cf0542ce1dacf.webp?v=1760923584"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e2cae92ba407a4aa4d080f3d09e9696f61d7960.webp?v=1760923577","options":["color"],"media":[{"alt":null,"id":26242159116387,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e2cae92ba407a4aa4d080f3d09e9696f61d7960.webp?v=1760923577"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e2cae92ba407a4aa4d080f3d09e9696f61d7960.webp?v=1760923577","width":2000},{"alt":null,"id":26242159509603,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d12db018b289dc479b249d767f631a12a3efd60.webp?v=1760923578"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d12db018b289dc479b249d767f631a12a3efd60.webp?v=1760923578","width":2000},{"alt":null,"id":26242159804515,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5abb35d368957b3ff0e903dae8fd09f90253a4a1.webp?v=1760923579"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5abb35d368957b3ff0e903dae8fd09f90253a4a1.webp?v=1760923579","width":2000},{"alt":null,"id":26242159968355,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73b1eedc7889f3f66d7aa2c2e688abf8b1523186.webp?v=1760923580"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73b1eedc7889f3f66d7aa2c2e688abf8b1523186.webp?v=1760923580","width":2000},{"alt":null,"id":26242160230499,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/345fd25585bab86620cb160d10771ef49d60f6f0.webp?v=1760923580"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/345fd25585bab86620cb160d10771ef49d60f6f0.webp?v=1760923580","width":2000},{"alt":null,"id":26242160427107,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ec25ee0cf0061ccd18b9fd59848eecb4fbeeb23.webp?v=1760923581"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ec25ee0cf0061ccd18b9fd59848eecb4fbeeb23.webp?v=1760923581","width":2000},{"alt":null,"id":26242160689251,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/290bb90f13ba2f11e9b6c8dde65ad781d0427ffa.webp?v=1760923582"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/290bb90f13ba2f11e9b6c8dde65ad781d0427ffa.webp?v=1760923582","width":2000},{"alt":null,"id":26242160951395,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75cce7ca7aa176240a706f6bc4d84b6900a1a9b5.webp?v=1760923582"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75cce7ca7aa176240a706f6bc4d84b6900a1a9b5.webp?v=1760923582","width":2000},{"alt":null,"id":26242161213539,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/349deebb9730dff53ce948558d94e3cded3fab74.webp?v=1760923583"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/349deebb9730dff53ce948558d94e3cded3fab74.webp?v=1760923583","width":2000},{"alt":null,"id":26242161410147,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc9b835ee8d947e948c532a71e14cc6a7e89dfc2.webp?v=1760923584"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc9b835ee8d947e948c532a71e14cc6a7e89dfc2.webp?v=1760923584","width":2000},{"alt":null,"id":26242161672291,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49c183c23d95f5f55dc5c34c349cf0542ce1dacf.webp?v=1760923584"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49c183c23d95f5f55dc5c34c349cf0542ce1dacf.webp?v=1760923584","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$bumper = null;
$variants = [{"id":43786593304675,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"MPB01185C1-IT36","requires_shipping":true,"taxable":true,"featured_image":{"id":34672901029987,"product_id":7903423135843,"position":4,"created_at":"2025-10-20T09:26:17+08:00","updated_at":"2025-10-20T09:26:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73b1eedc7889f3f66d7aa2c2e688abf8b1523186.webp?v=1760923580","variant_ids":[43786593304675]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 變種吉娃娃 Godgwawa 吉速駕照 - Lavender","public_title":"Lavender","options":["Lavender"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01185C1-IT36","featured_media":{"alt":null,"id":26242159968355,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73b1eedc7889f3f66d7aa2c2e688abf8b1523186.webp?v=1760923580"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43786596581475,"title":"Graphite","option1":"Graphite","option2":null,"option3":null,"sku":"MPB0118569-IT36","requires_shipping":true,"taxable":true,"featured_image":{"id":34672901488739,"product_id":7903423135843,"position":6,"created_at":"2025-10-20T09:26:19+08:00","updated_at":"2025-10-20T09:26:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ec25ee0cf0061ccd18b9fd59848eecb4fbeeb23.webp?v=1760923581","variant_ids":[43786596581475]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 變種吉娃娃 Godgwawa 吉速駕照 - Graphite","public_title":"Graphite","options":["Graphite"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118569-IT36","featured_media":{"alt":null,"id":26242160427107,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ec25ee0cf0061ccd18b9fd59848eecb4fbeeb23.webp?v=1760923581"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43786596810851,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0118504-IT36","requires_shipping":true,"taxable":true,"featured_image":{"id":34672900866147,"product_id":7903423135843,"position":3,"created_at":"2025-10-20T09:26:17+08:00","updated_at":"2025-10-20T09:26:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5abb35d368957b3ff0e903dae8fd09f90253a4a1.webp?v=1760923579","variant_ids":[43786596810851]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 變種吉娃娃 Godgwawa 吉速駕照 - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118504-IT36","featured_media":{"alt":null,"id":26242159804515,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5abb35d368957b3ff0e903dae8fd09f90253a4a1.webp?v=1760923579"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43786596843619,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01185J5-IT36","requires_shipping":true,"taxable":true,"featured_image":{"id":34672900604003,"product_id":7903423135843,"position":2,"created_at":"2025-10-20T09:26:16+08:00","updated_at":"2025-10-20T09:26:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d12db018b289dc479b249d767f631a12a3efd60.webp?v=1760923578","variant_ids":[43786596843619]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 變種吉娃娃 Godgwawa 吉速駕照 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01185J5-IT36","featured_media":{"alt":null,"id":26242159509603,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d12db018b289dc479b249d767f631a12a3efd60.webp?v=1760923578"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43786596876387,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118524-IT36","requires_shipping":true,"taxable":true,"featured_image":{"id":34672901750883,"product_id":7903423135843,"position":7,"created_at":"2025-10-20T09:26:20+08:00","updated_at":"2025-10-20T09:26:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/290bb90f13ba2f11e9b6c8dde65ad781d0427ffa.webp?v=1760923582","variant_ids":[43786596876387]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 變種吉娃娃 Godgwawa 吉速駕照 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118524-IT36","featured_media":{"alt":null,"id":26242160689251,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/290bb90f13ba2f11e9b6c8dde65ad781d0427ffa.webp?v=1760923582"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43786593304675,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"MPB01185C1-IT36","requires_shipping":true,"taxable":true,"featured_image":{"id":34672901029987,"product_id":7903423135843,"position":4,"created_at":"2025-10-20T09:26:17+08:00","updated_at":"2025-10-20T09:26:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73b1eedc7889f3f66d7aa2c2e688abf8b1523186.webp?v=1760923580","variant_ids":[43786593304675]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 變種吉娃娃 Godgwawa 吉速駕照 - Lavender","public_title":"Lavender","options":["Lavender"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01185C1-IT36","featured_media":{"alt":null,"id":26242159968355,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73b1eedc7889f3f66d7aa2c2e688abf8b1523186.webp?v=1760923580"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}};
$device_handle = null
var sellingStatus
if ($bumper) {
$(document).ready(function() {
var productImg = $product.images[0]
var bumperVariants = $bumper.variants;
var bumperColors = new Object();
var currentVariant = '';
var productType = '';
bumperVariants.forEach(variant => {
bumperColors[`${variant.title.split(' (')[0].toLowerCase()}`] = variant.featured_image.src;
});
if (productType === 'mod-nx-backplate' || productType === 'mod-backplate') {
mergeImages(
[productImg, bumperColors[currentVariant]],
{ crossOrigin: 'anonymous' }
).then(mergedImg => {
$('.merged-img').attr('src', mergedImg);
});
} else {
mergeImages(
[bumperColors[currentVariant], productImg],
{ crossOrigin: 'anonymous' }
).then(mergedImg => {
$('.merged-img').attr('src', mergedImg);
});
}
});
};
var sellingStatusData
window.fetchSellingStatus().then(data => {
try {
sellingStatusData = data;
} catch (error) {
sellingStatusData = null
console.error('Unable to parse selling status', error)
}
$(document).ready(function() {
handleSellingStatus($defaultVariant.sku);
});
})
function handleSellingStatus(currentSku) {
if (!sellingStatusData) {
console.error('No selling status available!')
return
}
const sellingStatusElement = document.getElementById('selling-status')
const addToCartButton = document.getElementById('AddToCart-product-template')
const currentProductSku = currentSku.replace(/-(.*)$/, '-')
if ($variants) {
const flattenedSellingStatus = [...sellingStatusData.pending, ...sellingStatusData.preorder]
const matchSellingStatusProduct = flattenedSellingStatus.filter(product => currentProductSku === product.sku)
if (matchSellingStatusProduct.length > 0) {
const isProductPending = matchSellingStatusProduct[0].status === 'pending'
const matchDate = matchSellingStatusProduct[0].date
sellingStatus = isProductPending
? "缺貨中"
: "預購完成出貨日:" + matchDate
sellingStatusElement.textContent = sellingStatus
if (sellingStatus.includes("缺貨中")){
addToCartButton.disabled ='true';
addToCartButton.textContent = "缺貨中無法加入購物車"
} else {
addToCartButton.textContent = "加到購物車"
}
} else {
sellingStatusElement.textContent = ''
addToCartButton.textContent = "加到購物車"
};
};
};
document.addEventListener('DOMContentLoaded', function () {
var currentVariantSelect = document.getElementById('SingleOptionSelector-0')
currentVariantSelect.addEventListener('change', function() {
var currentSku = $('#current_sku').text()
var skuElement = document.getElementById('current-sku')
skuElement.textContent = currentSku
handleSellingStatus(currentSku)
});
});
// Override default values of shop.strings for each template.
// Alternate product templates can change values of
// add to cart button, sold out, and unavailable states here.
theme.productStrings = {
addToCart: "加到購物車",
soldOut: "售完",
unavailable: "停產"
}