$product = {"id":7937922138211,"title":"iPhone 15 Pro Max SolidX 進擊的巨人 Attack on Titan Q版巨人","handle":"iphone-15-pro-max-solidx-xu17","description":null,"published_at":"2025-12-12T10:32:00+08:00","created_at":"2025-12-11T15:58:50+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":43884422332515,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129852-XU17","requires_shipping":true,"taxable":true,"featured_image":{"id":36480192282723,"product_id":7937922138211,"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\/32c33254f865e3a3be6e8e9f0a9af96ce33dbba0_56b14737-502b-4906-842e-fdb9e56be6b1.webp?v=1785840152","variant_ids":[43884422332515]},"available":true,"name":"iPhone 15 Pro Max SolidX 進擊的巨人 Attack on Titan Q版巨人 - 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-XU17","featured_media":{"alt":null,"id":27983511224419,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/32c33254f865e3a3be6e8e9f0a9af96ce33dbba0_56b14737-502b-4906-842e-fdb9e56be6b1.webp?v=1785840152"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43884422430819,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0129853-XU17","requires_shipping":true,"taxable":true,"featured_image":{"id":36480191070307,"product_id":7937922138211,"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\/0c3435fa46af0fd892fb57219527cadf7cca3564_c3ec9fd2-56ef-4a43-a1be-d64fd00a4416.webp?v=1785840149","variant_ids":[43884422430819]},"available":true,"name":"iPhone 15 Pro Max SolidX 進擊的巨人 Attack on Titan Q版巨人 - 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-XU17","featured_media":{"alt":null,"id":27983509979235,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c3435fa46af0fd892fb57219527cadf7cca3564_c3ec9fd2-56ef-4a43-a1be-d64fd00a4416.webp?v=1785840149"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/32c33254f865e3a3be6e8e9f0a9af96ce33dbba0.webp?v=1765439935","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/832929e6c61ef432374fc057eaa10d9fad9fc266.webp?v=1765439935","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8142fc08cc8c7731926b6b9d6f8d9b57315eb05e.webp?v=1765439936","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4eaf59e78e52b0a92fae136958e37e45349d0822.webp?v=1765439937","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85008ceed6b9a6a9d61e8598f3f4da8d279a0fb9.webp?v=1765439937","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3570fb8be1803eea4a5e653814c89003b80863a.webp?v=1765439938","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb55cecaa84f60d83d268772187e54dd1c962e65.webp?v=1765439938","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83fb10b71159e48160fb50aa134f9946a69fdefb.webp?v=1765439939","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c3435fa46af0fd892fb57219527cadf7cca3564.webp?v=1765439939","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6a641fde853fa88aa5b507ba8ea3738bb6fc6dc.webp?v=1765439940","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/32c33254f865e3a3be6e8e9f0a9af96ce33dbba0_15e12f37-fd65-406a-9e67-53d7c7b9e797.webp?v=1783561821","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4eaf59e78e52b0a92fae136958e37e45349d0822_b4ba15a0-f6a9-4c8d-a275-b2f22862f213.webp?v=1783561822","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb55cecaa84f60d83d268772187e54dd1c962e65_a7d5bf6e-1668-47c8-a430-c0844bab199b.webp?v=1783561822","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83fb10b71159e48160fb50aa134f9946a69fdefb_b9206a95-30fe-4439-a960-d611c2b24297.webp?v=1783561823","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c3435fa46af0fd892fb57219527cadf7cca3564_17dd8cfc-f7d6-41ed-9f4f-af822d75e00b.webp?v=1783561824","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c3435fa46af0fd892fb57219527cadf7cca3564_c3ec9fd2-56ef-4a43-a1be-d64fd00a4416.webp?v=1785840149","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4eaf59e78e52b0a92fae136958e37e45349d0822_b87b8994-e726-4f60-82f2-082829bfeaf0.webp?v=1785840150","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/32c33254f865e3a3be6e8e9f0a9af96ce33dbba0_56b14737-502b-4906-842e-fdb9e56be6b1.webp?v=1785840152","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83fb10b71159e48160fb50aa134f9946a69fdefb_3b4d01e7-ddf1-47cf-b047-915a6862bf23.webp?v=1785840153","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb55cecaa84f60d83d268772187e54dd1c962e65_36f7bc5b-9e8f-4a90-aea3-51b5dd52b431.webp?v=1785840155"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/32c33254f865e3a3be6e8e9f0a9af96ce33dbba0.webp?v=1765439935","options":["color"],"media":[{"alt":null,"id":26495471714403,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/32c33254f865e3a3be6e8e9f0a9af96ce33dbba0.webp?v=1765439935"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/32c33254f865e3a3be6e8e9f0a9af96ce33dbba0.webp?v=1765439935","width":2000},{"alt":null,"id":26495471812707,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/832929e6c61ef432374fc057eaa10d9fad9fc266.webp?v=1765439935"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/832929e6c61ef432374fc057eaa10d9fad9fc266.webp?v=1765439935","width":2000},{"alt":null,"id":26495471878243,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8142fc08cc8c7731926b6b9d6f8d9b57315eb05e.webp?v=1765439936"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8142fc08cc8c7731926b6b9d6f8d9b57315eb05e.webp?v=1765439936","width":2000},{"alt":null,"id":26495471976547,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4eaf59e78e52b0a92fae136958e37e45349d0822.webp?v=1765439937"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4eaf59e78e52b0a92fae136958e37e45349d0822.webp?v=1765439937","width":2000},{"alt":null,"id":26495472107619,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85008ceed6b9a6a9d61e8598f3f4da8d279a0fb9.webp?v=1765439937"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85008ceed6b9a6a9d61e8598f3f4da8d279a0fb9.webp?v=1765439937","width":2000},{"alt":null,"id":26495472205923,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3570fb8be1803eea4a5e653814c89003b80863a.webp?v=1765439938"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3570fb8be1803eea4a5e653814c89003b80863a.webp?v=1765439938","width":2000},{"alt":null,"id":26495472304227,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb55cecaa84f60d83d268772187e54dd1c962e65.webp?v=1765439938"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb55cecaa84f60d83d268772187e54dd1c962e65.webp?v=1765439938","width":2000},{"alt":null,"id":26495472631907,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83fb10b71159e48160fb50aa134f9946a69fdefb.webp?v=1765439939"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83fb10b71159e48160fb50aa134f9946a69fdefb.webp?v=1765439939","width":2000},{"alt":null,"id":26495473123427,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c3435fa46af0fd892fb57219527cadf7cca3564.webp?v=1765439939"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c3435fa46af0fd892fb57219527cadf7cca3564.webp?v=1765439939","width":2000},{"alt":null,"id":26495473418339,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6a641fde853fa88aa5b507ba8ea3738bb6fc6dc.webp?v=1765439940"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6a641fde853fa88aa5b507ba8ea3738bb6fc6dc.webp?v=1765439940","width":2000},{"alt":null,"id":27730857590883,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/32c33254f865e3a3be6e8e9f0a9af96ce33dbba0_15e12f37-fd65-406a-9e67-53d7c7b9e797.webp?v=1783561821"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/32c33254f865e3a3be6e8e9f0a9af96ce33dbba0_15e12f37-fd65-406a-9e67-53d7c7b9e797.webp?v=1783561821","width":2000},{"alt":null,"id":27730857951331,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4eaf59e78e52b0a92fae136958e37e45349d0822_b4ba15a0-f6a9-4c8d-a275-b2f22862f213.webp?v=1783561822"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4eaf59e78e52b0a92fae136958e37e45349d0822_b4ba15a0-f6a9-4c8d-a275-b2f22862f213.webp?v=1783561822","width":2000},{"alt":null,"id":27730858344547,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb55cecaa84f60d83d268772187e54dd1c962e65_a7d5bf6e-1668-47c8-a430-c0844bab199b.webp?v=1783561822"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb55cecaa84f60d83d268772187e54dd1c962e65_a7d5bf6e-1668-47c8-a430-c0844bab199b.webp?v=1783561822","width":2000},{"alt":null,"id":27730858639459,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83fb10b71159e48160fb50aa134f9946a69fdefb_b9206a95-30fe-4439-a960-d611c2b24297.webp?v=1783561823"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83fb10b71159e48160fb50aa134f9946a69fdefb_b9206a95-30fe-4439-a960-d611c2b24297.webp?v=1783561823","width":2000},{"alt":null,"id":27730858901603,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c3435fa46af0fd892fb57219527cadf7cca3564_17dd8cfc-f7d6-41ed-9f4f-af822d75e00b.webp?v=1783561824"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c3435fa46af0fd892fb57219527cadf7cca3564_17dd8cfc-f7d6-41ed-9f4f-af822d75e00b.webp?v=1783561824","width":2000},{"alt":null,"id":27983509979235,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c3435fa46af0fd892fb57219527cadf7cca3564_c3ec9fd2-56ef-4a43-a1be-d64fd00a4416.webp?v=1785840149"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c3435fa46af0fd892fb57219527cadf7cca3564_c3ec9fd2-56ef-4a43-a1be-d64fd00a4416.webp?v=1785840149","width":2000},{"alt":null,"id":27983510437987,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4eaf59e78e52b0a92fae136958e37e45349d0822_b87b8994-e726-4f60-82f2-082829bfeaf0.webp?v=1785840150"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4eaf59e78e52b0a92fae136958e37e45349d0822_b87b8994-e726-4f60-82f2-082829bfeaf0.webp?v=1785840150","width":2000},{"alt":null,"id":27983511224419,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/32c33254f865e3a3be6e8e9f0a9af96ce33dbba0_56b14737-502b-4906-842e-fdb9e56be6b1.webp?v=1785840152"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/32c33254f865e3a3be6e8e9f0a9af96ce33dbba0_56b14737-502b-4906-842e-fdb9e56be6b1.webp?v=1785840152","width":2000},{"alt":null,"id":27983511945315,"position":19,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83fb10b71159e48160fb50aa134f9946a69fdefb_3b4d01e7-ddf1-47cf-b047-915a6862bf23.webp?v=1785840153"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83fb10b71159e48160fb50aa134f9946a69fdefb_3b4d01e7-ddf1-47cf-b047-915a6862bf23.webp?v=1785840153","width":2000},{"alt":null,"id":27983512338531,"position":20,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb55cecaa84f60d83d268772187e54dd1c962e65_36f7bc5b-9e8f-4a90-aea3-51b5dd52b431.webp?v=1785840155"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb55cecaa84f60d83d268772187e54dd1c962e65_36f7bc5b-9e8f-4a90-aea3-51b5dd52b431.webp?v=1785840155","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43884422332515,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129852-XU17","requires_shipping":true,"taxable":true,"featured_image":{"id":36480192282723,"product_id":7937922138211,"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\/32c33254f865e3a3be6e8e9f0a9af96ce33dbba0_56b14737-502b-4906-842e-fdb9e56be6b1.webp?v=1785840152","variant_ids":[43884422332515]},"available":true,"name":"iPhone 15 Pro Max SolidX 進擊的巨人 Attack on Titan Q版巨人 - 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-XU17","featured_media":{"alt":null,"id":27983511224419,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/32c33254f865e3a3be6e8e9f0a9af96ce33dbba0_56b14737-502b-4906-842e-fdb9e56be6b1.webp?v=1785840152"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43884422430819,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0129853-XU17","requires_shipping":true,"taxable":true,"featured_image":{"id":36480191070307,"product_id":7937922138211,"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\/0c3435fa46af0fd892fb57219527cadf7cca3564_c3ec9fd2-56ef-4a43-a1be-d64fd00a4416.webp?v=1785840149","variant_ids":[43884422430819]},"available":true,"name":"iPhone 15 Pro Max SolidX 進擊的巨人 Attack on Titan Q版巨人 - 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-XU17","featured_media":{"alt":null,"id":27983509979235,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c3435fa46af0fd892fb57219527cadf7cca3564_c3ec9fd2-56ef-4a43-a1be-d64fd00a4416.webp?v=1785840149"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43884422332515,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129852-XU17","requires_shipping":true,"taxable":true,"featured_image":{"id":36480192282723,"product_id":7937922138211,"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\/32c33254f865e3a3be6e8e9f0a9af96ce33dbba0_56b14737-502b-4906-842e-fdb9e56be6b1.webp?v=1785840152","variant_ids":[43884422332515]},"available":true,"name":"iPhone 15 Pro Max SolidX 進擊的巨人 Attack on Titan Q版巨人 - 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-XU17","featured_media":{"alt":null,"id":27983511224419,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/32c33254f865e3a3be6e8e9f0a9af96ce33dbba0_56b14737-502b-4906-842e-fdb9e56be6b1.webp?v=1785840152"}},"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: "停產" }