$product = {"id":7937857978467,"title":"iPhone 15 Pro Max SolidX 進擊的巨人 Attack on Titan 自由之翼","handle":"iphone-15-pro-max-solidx-xu01","description":null,"published_at":"2025-12-12T10:45:57+08:00","created_at":"2025-12-11T15:43:48+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-attack-on-titan","device-iPhone 15 Pro Max","merge","reseller-attack-on-titan"],"price":125000,"price_min":125000,"price_max":125000,"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":43884171231331,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129852-XU01","requires_shipping":true,"taxable":true,"featured_image":{"id":36480191299683,"product_id":7937857978467,"position":16,"created_at":"2026-08-04T18:42:27+08:00","updated_at":"2026-08-04T18:42:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90ef32eaaec26e90e602b1188c7d8fd14b8b7b83_ff6c633a-2910-421e-9bbf-460e7849663d.webp?v=1785840149","variant_ids":[43884171231331]},"available":true,"name":"iPhone 15 Pro Max SolidX 進擊的巨人 Attack on Titan 自由之翼 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129852-XU01","featured_media":{"alt":null,"id":27983510241379,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90ef32eaaec26e90e602b1188c7d8fd14b8b7b83_ff6c633a-2910-421e-9bbf-460e7849663d.webp?v=1785840149"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43884171329635,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0129853-XU01","requires_shipping":true,"taxable":true,"featured_image":{"id":36480192544867,"product_id":7937857978467,"position":18,"created_at":"2026-08-04T18:42:30+08:00","updated_at":"2026-08-04T18:42:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1610d6760727e24e6493b2d268f9f1a51fcee16_44b7a804-eec8-4d8a-adf8-a23da6f5ebaf.webp?v=1785840152","variant_ids":[43884171329635]},"available":true,"name":"iPhone 15 Pro Max SolidX 進擊的巨人 Attack on Titan 自由之翼 - White","public_title":"White","options":["White"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129853-XU01","featured_media":{"alt":null,"id":27983511519331,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1610d6760727e24e6493b2d268f9f1a51fcee16_44b7a804-eec8-4d8a-adf8-a23da6f5ebaf.webp?v=1785840152"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90ef32eaaec26e90e602b1188c7d8fd14b8b7b83.webp?v=1765439033","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa1acf60d6711c252d9076a9464ddae66a83bd79.webp?v=1765439033","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6802f5eabb2312747399954d9d7da125de696aa0.webp?v=1765439034","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/697ac2c7bb94008c0c77e6155517fbd7ec36ebb5.webp?v=1765439034","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55bdbed6e643975fa61c47123ffcfccd679a53a1.webp?v=1765439035","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26fbe9a38af204bad169a4e26f093a1679b1eb7d.webp?v=1765439035","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4321f4ac50604be211d82afd9f1f50b2b925537f.webp?v=1765439036","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75816021df5663e83cbba46941596be2e7bb2bd7.webp?v=1765439038","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1610d6760727e24e6493b2d268f9f1a51fcee16.webp?v=1765439039","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b8df4fc0a1b2b918349fa320d6d8e24f465eb88.webp?v=1765439039","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1610d6760727e24e6493b2d268f9f1a51fcee16_a3db0cd7-18e7-4c2b-82b0-47a84fbcb944.webp?v=1783561818","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55bdbed6e643975fa61c47123ffcfccd679a53a1_85313ac2-8ef1-4fc4-b399-d3855e38f080.webp?v=1783561818","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6802f5eabb2312747399954d9d7da125de696aa0_8761f02d-56d8-405e-90ef-a7f6aebb2bbe.webp?v=1783561819","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26fbe9a38af204bad169a4e26f093a1679b1eb7d_031fb54a-e19e-4e3f-a123-e792bdc73d00.webp?v=1783561821","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90ef32eaaec26e90e602b1188c7d8fd14b8b7b83_3615458d-3397-4d9d-8d3c-84852372cd0c.webp?v=1783561821","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90ef32eaaec26e90e602b1188c7d8fd14b8b7b83_ff6c633a-2910-421e-9bbf-460e7849663d.webp?v=1785840149","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55bdbed6e643975fa61c47123ffcfccd679a53a1_d03389d0-0741-49e0-88a5-2a36269421a3.webp?v=1785840151","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1610d6760727e24e6493b2d268f9f1a51fcee16_44b7a804-eec8-4d8a-adf8-a23da6f5ebaf.webp?v=1785840152","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26fbe9a38af204bad169a4e26f093a1679b1eb7d_cc8dabc1-0ad6-4a78-88f0-ebe54b40ad17.webp?v=1785840154","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6802f5eabb2312747399954d9d7da125de696aa0_f64b73b5-ec68-4a62-a10a-0dfc27905636.webp?v=1785840156"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90ef32eaaec26e90e602b1188c7d8fd14b8b7b83.webp?v=1765439033","options":["color"],"media":[{"alt":null,"id":26495200329827,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90ef32eaaec26e90e602b1188c7d8fd14b8b7b83.webp?v=1765439033"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90ef32eaaec26e90e602b1188c7d8fd14b8b7b83.webp?v=1765439033","width":2000},{"alt":null,"id":26495200493667,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa1acf60d6711c252d9076a9464ddae66a83bd79.webp?v=1765439033"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa1acf60d6711c252d9076a9464ddae66a83bd79.webp?v=1765439033","width":2000},{"alt":null,"id":26495200755811,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6802f5eabb2312747399954d9d7da125de696aa0.webp?v=1765439034"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6802f5eabb2312747399954d9d7da125de696aa0.webp?v=1765439034","width":2000},{"alt":null,"id":26495200919651,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/697ac2c7bb94008c0c77e6155517fbd7ec36ebb5.webp?v=1765439034"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/697ac2c7bb94008c0c77e6155517fbd7ec36ebb5.webp?v=1765439034","width":2000},{"alt":null,"id":26495201116259,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55bdbed6e643975fa61c47123ffcfccd679a53a1.webp?v=1765439035"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55bdbed6e643975fa61c47123ffcfccd679a53a1.webp?v=1765439035","width":2000},{"alt":null,"id":26495201312867,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26fbe9a38af204bad169a4e26f093a1679b1eb7d.webp?v=1765439035"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26fbe9a38af204bad169a4e26f093a1679b1eb7d.webp?v=1765439035","width":2000},{"alt":null,"id":26495201411171,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4321f4ac50604be211d82afd9f1f50b2b925537f.webp?v=1765439036"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4321f4ac50604be211d82afd9f1f50b2b925537f.webp?v=1765439036","width":2000},{"alt":null,"id":26495201509475,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75816021df5663e83cbba46941596be2e7bb2bd7.webp?v=1765439038"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75816021df5663e83cbba46941596be2e7bb2bd7.webp?v=1765439038","width":2000},{"alt":null,"id":26495201804387,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1610d6760727e24e6493b2d268f9f1a51fcee16.webp?v=1765439039"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1610d6760727e24e6493b2d268f9f1a51fcee16.webp?v=1765439039","width":2000},{"alt":null,"id":26495202000995,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b8df4fc0a1b2b918349fa320d6d8e24f465eb88.webp?v=1765439039"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b8df4fc0a1b2b918349fa320d6d8e24f465eb88.webp?v=1765439039","width":2000},{"alt":null,"id":27730856902755,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1610d6760727e24e6493b2d268f9f1a51fcee16_a3db0cd7-18e7-4c2b-82b0-47a84fbcb944.webp?v=1783561818"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1610d6760727e24e6493b2d268f9f1a51fcee16_a3db0cd7-18e7-4c2b-82b0-47a84fbcb944.webp?v=1783561818","width":2000},{"alt":null,"id":27730857099363,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55bdbed6e643975fa61c47123ffcfccd679a53a1_85313ac2-8ef1-4fc4-b399-d3855e38f080.webp?v=1783561818"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55bdbed6e643975fa61c47123ffcfccd679a53a1_85313ac2-8ef1-4fc4-b399-d3855e38f080.webp?v=1783561818","width":2000},{"alt":null,"id":27730857295971,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6802f5eabb2312747399954d9d7da125de696aa0_8761f02d-56d8-405e-90ef-a7f6aebb2bbe.webp?v=1783561819"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6802f5eabb2312747399954d9d7da125de696aa0_8761f02d-56d8-405e-90ef-a7f6aebb2bbe.webp?v=1783561819","width":2000},{"alt":null,"id":27730857525347,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26fbe9a38af204bad169a4e26f093a1679b1eb7d_031fb54a-e19e-4e3f-a123-e792bdc73d00.webp?v=1783561821"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26fbe9a38af204bad169a4e26f093a1679b1eb7d_031fb54a-e19e-4e3f-a123-e792bdc73d00.webp?v=1783561821","width":2000},{"alt":null,"id":27730857853027,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90ef32eaaec26e90e602b1188c7d8fd14b8b7b83_3615458d-3397-4d9d-8d3c-84852372cd0c.webp?v=1783561821"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90ef32eaaec26e90e602b1188c7d8fd14b8b7b83_3615458d-3397-4d9d-8d3c-84852372cd0c.webp?v=1783561821","width":2000},{"alt":null,"id":27983510241379,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90ef32eaaec26e90e602b1188c7d8fd14b8b7b83_ff6c633a-2910-421e-9bbf-460e7849663d.webp?v=1785840149"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90ef32eaaec26e90e602b1188c7d8fd14b8b7b83_ff6c633a-2910-421e-9bbf-460e7849663d.webp?v=1785840149","width":2000},{"alt":null,"id":27983510929507,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55bdbed6e643975fa61c47123ffcfccd679a53a1_d03389d0-0741-49e0-88a5-2a36269421a3.webp?v=1785840151"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55bdbed6e643975fa61c47123ffcfccd679a53a1_d03389d0-0741-49e0-88a5-2a36269421a3.webp?v=1785840151","width":2000},{"alt":null,"id":27983511519331,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1610d6760727e24e6493b2d268f9f1a51fcee16_44b7a804-eec8-4d8a-adf8-a23da6f5ebaf.webp?v=1785840152"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1610d6760727e24e6493b2d268f9f1a51fcee16_44b7a804-eec8-4d8a-adf8-a23da6f5ebaf.webp?v=1785840152","width":2000},{"alt":null,"id":27983512109155,"position":19,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26fbe9a38af204bad169a4e26f093a1679b1eb7d_cc8dabc1-0ad6-4a78-88f0-ebe54b40ad17.webp?v=1785840154"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26fbe9a38af204bad169a4e26f093a1679b1eb7d_cc8dabc1-0ad6-4a78-88f0-ebe54b40ad17.webp?v=1785840154","width":2000},{"alt":null,"id":27983512502371,"position":20,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6802f5eabb2312747399954d9d7da125de696aa0_f64b73b5-ec68-4a62-a10a-0dfc27905636.webp?v=1785840156"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6802f5eabb2312747399954d9d7da125de696aa0_f64b73b5-ec68-4a62-a10a-0dfc27905636.webp?v=1785840156","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43884171231331,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129852-XU01","requires_shipping":true,"taxable":true,"featured_image":{"id":36480191299683,"product_id":7937857978467,"position":16,"created_at":"2026-08-04T18:42:27+08:00","updated_at":"2026-08-04T18:42:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90ef32eaaec26e90e602b1188c7d8fd14b8b7b83_ff6c633a-2910-421e-9bbf-460e7849663d.webp?v=1785840149","variant_ids":[43884171231331]},"available":true,"name":"iPhone 15 Pro Max SolidX 進擊的巨人 Attack on Titan 自由之翼 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129852-XU01","featured_media":{"alt":null,"id":27983510241379,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90ef32eaaec26e90e602b1188c7d8fd14b8b7b83_ff6c633a-2910-421e-9bbf-460e7849663d.webp?v=1785840149"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43884171329635,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0129853-XU01","requires_shipping":true,"taxable":true,"featured_image":{"id":36480192544867,"product_id":7937857978467,"position":18,"created_at":"2026-08-04T18:42:30+08:00","updated_at":"2026-08-04T18:42:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1610d6760727e24e6493b2d268f9f1a51fcee16_44b7a804-eec8-4d8a-adf8-a23da6f5ebaf.webp?v=1785840152","variant_ids":[43884171329635]},"available":true,"name":"iPhone 15 Pro Max SolidX 進擊的巨人 Attack on Titan 自由之翼 - White","public_title":"White","options":["White"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129853-XU01","featured_media":{"alt":null,"id":27983511519331,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1610d6760727e24e6493b2d268f9f1a51fcee16_44b7a804-eec8-4d8a-adf8-a23da6f5ebaf.webp?v=1785840152"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43884171231331,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129852-XU01","requires_shipping":true,"taxable":true,"featured_image":{"id":36480191299683,"product_id":7937857978467,"position":16,"created_at":"2026-08-04T18:42:27+08:00","updated_at":"2026-08-04T18:42:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90ef32eaaec26e90e602b1188c7d8fd14b8b7b83_ff6c633a-2910-421e-9bbf-460e7849663d.webp?v=1785840149","variant_ids":[43884171231331]},"available":true,"name":"iPhone 15 Pro Max SolidX 進擊的巨人 Attack on Titan 自由之翼 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129852-XU01","featured_media":{"alt":null,"id":27983510241379,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90ef32eaaec26e90e602b1188c7d8fd14b8b7b83_ff6c633a-2910-421e-9bbf-460e7849663d.webp?v=1785840149"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null; $brand_handle = null; $type = ""; var sellingStatus // 只有設計款(SKU 含 '-')才需要合圖 if ($isMerge && $defaultVariant.sku.includes('-')) { $(document).ready(function() { var productImg = $product.images[0]; var bumperImg = window.getProductImageUrl($defaultVariant.sku.split('-')[0]); var layers = ($type === 'mod-nx-backplate' || $type === 'mod-backplate') ? [productImg, bumperImg] : [bumperImg, productImg]; window.mergeProductImages(layers).then(function (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: "停產" }