$product = {"id":8077272973411,"title":"iPhone 17 Pro Max SolidX Looney Tunes 崔弟的反擊","handle":"iphone-17-pro-max-solidx-pq29","description":null,"published_at":"2026-08-17T15:14:46+08:00","created_at":"2026-07-21T23:39:55+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-looney-tunes","device-iPhone 17 Pro Max","merge","reseller-looney-tunes"],"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":44384057000035,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013535Y-PQ29","requires_shipping":true,"taxable":true,"featured_image":{"id":36337936236643,"product_id":8077272973411,"position":11,"created_at":"2026-07-21T23:41:45+08:00","updated_at":"2026-07-21T23:41:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/755fb4981486a0419dbcadc48b1f7f882e8d8c48.webp?v=1784648507","variant_ids":[44384057000035]},"available":true,"name":"iPhone 17 Pro Max SolidX Looney Tunes 崔弟的反擊 - Field Green","public_title":"Field Green","options":["Field Green"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013535Y-PQ29","featured_media":{"alt":null,"id":27841811382371,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/755fb4981486a0419dbcadc48b1f7f882e8d8c48.webp?v=1784648507"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44384066633827,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135353-PQ29","requires_shipping":true,"taxable":true,"featured_image":{"id":36337933910115,"product_id":8077272973411,"position":10,"created_at":"2026-07-21T23:41:42+08:00","updated_at":"2026-07-21T23:41:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0f6ef7b95d1e8f0afeae0beffa2cd7d5fabec76.webp?v=1784648504","variant_ids":[44384066633827]},"available":true,"name":"iPhone 17 Pro Max SolidX Looney Tunes 崔弟的反擊 - White","public_title":"White","options":["White"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0135353-PQ29","featured_media":{"alt":null,"id":27841810071651,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0f6ef7b95d1e8f0afeae0beffa2cd7d5fabec76.webp?v=1784648504"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44384066961507,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01353O8-PQ29","requires_shipping":true,"taxable":true,"featured_image":{"id":36337932173411,"product_id":8077272973411,"position":7,"created_at":"2026-07-21T23:41:40+08:00","updated_at":"2026-07-21T23:41:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e298f20ba5ca80a42007715ad43adab7dc78e54.webp?v=1784648502","variant_ids":[44384066961507]},"available":true,"name":"iPhone 17 Pro Max SolidX Looney Tunes 崔弟的反擊 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST01353O8-PQ29","featured_media":{"alt":null,"id":27841808334947,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e298f20ba5ca80a42007715ad43adab7dc78e54.webp?v=1784648502"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44384067158115,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135352-PQ29","requires_shipping":true,"taxable":true,"featured_image":{"id":36337930666083,"product_id":8077272973411,"position":3,"created_at":"2026-07-21T23:41:38+08:00","updated_at":"2026-07-21T23:41:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d4dc41e8bb0cba43a99c905c150f1bf5e95eaea.webp?v=1784648500","variant_ids":[44384067158115]},"available":true,"name":"iPhone 17 Pro Max SolidX Looney Tunes 崔弟的反擊 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0135352-PQ29","featured_media":{"alt":null,"id":27841806827619,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d4dc41e8bb0cba43a99c905c150f1bf5e95eaea.webp?v=1784648500"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44384067321955,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013530B-PQ29","requires_shipping":true,"taxable":true,"featured_image":{"id":36337929814115,"product_id":8077272973411,"position":1,"created_at":"2026-07-21T23:41:36+08:00","updated_at":"2026-07-21T23:41:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cd6e2453d558715badb9d5e22e5da3875e7cf1f.webp?v=1784648498","variant_ids":[44384067321955]},"available":true,"name":"iPhone 17 Pro Max SolidX Looney Tunes 崔弟的反擊 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013530B-PQ29","featured_media":{"alt":null,"id":27841805975651,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cd6e2453d558715badb9d5e22e5da3875e7cf1f.webp?v=1784648498"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44384067649635,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013530F-PQ29","requires_shipping":true,"taxable":true,"featured_image":{"id":36337933418595,"product_id":8077272973411,"position":8,"created_at":"2026-07-21T23:41:41+08:00","updated_at":"2026-07-21T23:41:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39e6e6bb5d3a40a3f3f0a849a7a4dce61c5bb35c.webp?v=1784648503","variant_ids":[44384067649635]},"available":true,"name":"iPhone 17 Pro Max SolidX Looney Tunes 崔弟的反擊 - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013530F-PQ29","featured_media":{"alt":null,"id":27841808564323,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39e6e6bb5d3a40a3f3f0a849a7a4dce61c5bb35c.webp?v=1784648503"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44384067911779,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013533O-PQ29","requires_shipping":true,"taxable":true,"featured_image":{"id":36337936498787,"product_id":8077272973411,"position":12,"created_at":"2026-07-21T23:41:46+08:00","updated_at":"2026-07-21T23:41:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c443ffd4815218043f7a8249f5b209c38689aa6a.webp?v=1784648508","variant_ids":[44384067911779]},"available":true,"name":"iPhone 17 Pro Max SolidX Looney Tunes 崔弟的反擊 - Ultra Marine","public_title":"Ultra Marine","options":["Ultra Marine"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013533O-PQ29","featured_media":{"alt":null,"id":27841812660323,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c443ffd4815218043f7a8249f5b209c38689aa6a.webp?v=1784648508"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44384068141155,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013534H-PQ29","requires_shipping":true,"taxable":true,"featured_image":{"id":36337931845731,"product_id":8077272973411,"position":5,"created_at":"2026-07-21T23:41:39+08:00","updated_at":"2026-07-21T23:41:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2650e0b05582fce061478175f1c8d2e881d49283.webp?v=1784648501","variant_ids":[44384068141155]},"available":true,"name":"iPhone 17 Pro Max SolidX Looney Tunes 崔弟的反擊 - Dawn Clay","public_title":"Dawn Clay","options":["Dawn Clay"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013534H-PQ29","featured_media":{"alt":null,"id":27841808007267,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2650e0b05582fce061478175f1c8d2e881d49283.webp?v=1784648501"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44384068403299,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013534I-PQ29","requires_shipping":true,"taxable":true,"featured_image":{"id":36337933647971,"product_id":8077272973411,"position":9,"created_at":"2026-07-21T23:41:41+08:00","updated_at":"2026-07-21T23:41:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9bfdd70e8fd19ea9f4919e685edf762c985d7d5c.webp?v=1784648503","variant_ids":[44384068403299]},"available":true,"name":"iPhone 17 Pro Max SolidX Looney Tunes 崔弟的反擊 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013534I-PQ29","featured_media":{"alt":null,"id":27841809809507,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9bfdd70e8fd19ea9f4919e685edf762c985d7d5c.webp?v=1784648503"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44384068567139,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013535H-PQ29","requires_shipping":true,"taxable":true,"featured_image":{"id":36337936695395,"product_id":8077272973411,"position":13,"created_at":"2026-07-21T23:41:46+08:00","updated_at":"2026-07-21T23:41:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/424b59790713c161965ad2ae59fc0ccb4a4ee03a.webp?v=1784648508","variant_ids":[44384068567139]},"available":true,"name":"iPhone 17 Pro Max SolidX Looney Tunes 崔弟的反擊 - Translucent Matte","public_title":"Translucent Matte","options":["Translucent Matte"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013535H-PQ29","featured_media":{"alt":null,"id":27841812856931,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/424b59790713c161965ad2ae59fc0ccb4a4ee03a.webp?v=1784648508"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44384068698211,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013535X-PQ29","requires_shipping":true,"taxable":true,"featured_image":{"id":36337932009571,"product_id":8077272973411,"position":6,"created_at":"2026-07-21T23:41:39+08:00","updated_at":"2026-07-21T23:41:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/599ae938b0914fb1119576c7b1c7bbfcb50e8b06.webp?v=1784648502","variant_ids":[44384068698211]},"available":true,"name":"iPhone 17 Pro Max SolidX Looney Tunes 崔弟的反擊 - Sky Blue","public_title":"Sky Blue","options":["Sky Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013535X-PQ29","featured_media":{"alt":null,"id":27841808171107,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/599ae938b0914fb1119576c7b1c7bbfcb50e8b06.webp?v=1784648502"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44384068960355,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013535Z-PQ29","requires_shipping":true,"taxable":true,"featured_image":{"id":36337930043491,"product_id":8077272973411,"position":2,"created_at":"2026-07-21T23:41:37+08:00","updated_at":"2026-07-21T23:41:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08f36e2c916c3a1b672dca1555399cdf1b17b865.webp?v=1784648499","variant_ids":[44384068960355]},"available":true,"name":"iPhone 17 Pro Max SolidX Looney Tunes 崔弟的反擊 - Blossom Pink","public_title":"Blossom Pink","options":["Blossom Pink"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013535Z-PQ29","featured_media":{"alt":null,"id":27841806205027,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08f36e2c916c3a1b672dca1555399cdf1b17b865.webp?v=1784648499"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44384069124195,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013536A-PQ29","requires_shipping":true,"taxable":true,"featured_image":{"id":36337931518051,"product_id":8077272973411,"position":4,"created_at":"2026-07-21T23:41:38+08:00","updated_at":"2026-07-21T23:41:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09076e3f671179d7e8c6aab430e77799c4764eb3.webp?v=1784648500","variant_ids":[44384069124195]},"available":true,"name":"iPhone 17 Pro Max SolidX Looney Tunes 崔弟的反擊 - Sunflower Yellow","public_title":"Sunflower Yellow","options":["Sunflower Yellow"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013536A-PQ29","featured_media":{"alt":null,"id":27841807024227,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09076e3f671179d7e8c6aab430e77799c4764eb3.webp?v=1784648500"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cd6e2453d558715badb9d5e22e5da3875e7cf1f.webp?v=1784648498","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08f36e2c916c3a1b672dca1555399cdf1b17b865.webp?v=1784648499","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d4dc41e8bb0cba43a99c905c150f1bf5e95eaea.webp?v=1784648500","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09076e3f671179d7e8c6aab430e77799c4764eb3.webp?v=1784648500","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2650e0b05582fce061478175f1c8d2e881d49283.webp?v=1784648501","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/599ae938b0914fb1119576c7b1c7bbfcb50e8b06.webp?v=1784648502","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e298f20ba5ca80a42007715ad43adab7dc78e54.webp?v=1784648502","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39e6e6bb5d3a40a3f3f0a849a7a4dce61c5bb35c.webp?v=1784648503","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9bfdd70e8fd19ea9f4919e685edf762c985d7d5c.webp?v=1784648503","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0f6ef7b95d1e8f0afeae0beffa2cd7d5fabec76.webp?v=1784648504","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/755fb4981486a0419dbcadc48b1f7f882e8d8c48.webp?v=1784648507","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c443ffd4815218043f7a8249f5b209c38689aa6a.webp?v=1784648508","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/424b59790713c161965ad2ae59fc0ccb4a4ee03a.webp?v=1784648508"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cd6e2453d558715badb9d5e22e5da3875e7cf1f.webp?v=1784648498","options":["color"],"media":[{"alt":null,"id":27841805975651,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cd6e2453d558715badb9d5e22e5da3875e7cf1f.webp?v=1784648498"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cd6e2453d558715badb9d5e22e5da3875e7cf1f.webp?v=1784648498","width":2000},{"alt":null,"id":27841806205027,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08f36e2c916c3a1b672dca1555399cdf1b17b865.webp?v=1784648499"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08f36e2c916c3a1b672dca1555399cdf1b17b865.webp?v=1784648499","width":2000},{"alt":null,"id":27841806827619,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d4dc41e8bb0cba43a99c905c150f1bf5e95eaea.webp?v=1784648500"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d4dc41e8bb0cba43a99c905c150f1bf5e95eaea.webp?v=1784648500","width":2000},{"alt":null,"id":27841807024227,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09076e3f671179d7e8c6aab430e77799c4764eb3.webp?v=1784648500"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09076e3f671179d7e8c6aab430e77799c4764eb3.webp?v=1784648500","width":2000},{"alt":null,"id":27841808007267,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2650e0b05582fce061478175f1c8d2e881d49283.webp?v=1784648501"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2650e0b05582fce061478175f1c8d2e881d49283.webp?v=1784648501","width":2000},{"alt":null,"id":27841808171107,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/599ae938b0914fb1119576c7b1c7bbfcb50e8b06.webp?v=1784648502"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/599ae938b0914fb1119576c7b1c7bbfcb50e8b06.webp?v=1784648502","width":2000},{"alt":null,"id":27841808334947,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e298f20ba5ca80a42007715ad43adab7dc78e54.webp?v=1784648502"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e298f20ba5ca80a42007715ad43adab7dc78e54.webp?v=1784648502","width":2000},{"alt":null,"id":27841808564323,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39e6e6bb5d3a40a3f3f0a849a7a4dce61c5bb35c.webp?v=1784648503"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39e6e6bb5d3a40a3f3f0a849a7a4dce61c5bb35c.webp?v=1784648503","width":2000},{"alt":null,"id":27841809809507,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9bfdd70e8fd19ea9f4919e685edf762c985d7d5c.webp?v=1784648503"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9bfdd70e8fd19ea9f4919e685edf762c985d7d5c.webp?v=1784648503","width":2000},{"alt":null,"id":27841810071651,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0f6ef7b95d1e8f0afeae0beffa2cd7d5fabec76.webp?v=1784648504"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0f6ef7b95d1e8f0afeae0beffa2cd7d5fabec76.webp?v=1784648504","width":2000},{"alt":null,"id":27841811382371,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/755fb4981486a0419dbcadc48b1f7f882e8d8c48.webp?v=1784648507"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/755fb4981486a0419dbcadc48b1f7f882e8d8c48.webp?v=1784648507","width":2000},{"alt":null,"id":27841812660323,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c443ffd4815218043f7a8249f5b209c38689aa6a.webp?v=1784648508"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c443ffd4815218043f7a8249f5b209c38689aa6a.webp?v=1784648508","width":2000},{"alt":null,"id":27841812856931,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/424b59790713c161965ad2ae59fc0ccb4a4ee03a.webp?v=1784648508"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/424b59790713c161965ad2ae59fc0ccb4a4ee03a.webp?v=1784648508","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":44384057000035,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013535Y-PQ29","requires_shipping":true,"taxable":true,"featured_image":{"id":36337936236643,"product_id":8077272973411,"position":11,"created_at":"2026-07-21T23:41:45+08:00","updated_at":"2026-07-21T23:41:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/755fb4981486a0419dbcadc48b1f7f882e8d8c48.webp?v=1784648507","variant_ids":[44384057000035]},"available":true,"name":"iPhone 17 Pro Max SolidX Looney Tunes 崔弟的反擊 - Field Green","public_title":"Field Green","options":["Field Green"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013535Y-PQ29","featured_media":{"alt":null,"id":27841811382371,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/755fb4981486a0419dbcadc48b1f7f882e8d8c48.webp?v=1784648507"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44384066633827,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135353-PQ29","requires_shipping":true,"taxable":true,"featured_image":{"id":36337933910115,"product_id":8077272973411,"position":10,"created_at":"2026-07-21T23:41:42+08:00","updated_at":"2026-07-21T23:41:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0f6ef7b95d1e8f0afeae0beffa2cd7d5fabec76.webp?v=1784648504","variant_ids":[44384066633827]},"available":true,"name":"iPhone 17 Pro Max SolidX Looney Tunes 崔弟的反擊 - White","public_title":"White","options":["White"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0135353-PQ29","featured_media":{"alt":null,"id":27841810071651,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0f6ef7b95d1e8f0afeae0beffa2cd7d5fabec76.webp?v=1784648504"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44384066961507,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01353O8-PQ29","requires_shipping":true,"taxable":true,"featured_image":{"id":36337932173411,"product_id":8077272973411,"position":7,"created_at":"2026-07-21T23:41:40+08:00","updated_at":"2026-07-21T23:41:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e298f20ba5ca80a42007715ad43adab7dc78e54.webp?v=1784648502","variant_ids":[44384066961507]},"available":true,"name":"iPhone 17 Pro Max SolidX Looney Tunes 崔弟的反擊 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST01353O8-PQ29","featured_media":{"alt":null,"id":27841808334947,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e298f20ba5ca80a42007715ad43adab7dc78e54.webp?v=1784648502"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44384067158115,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135352-PQ29","requires_shipping":true,"taxable":true,"featured_image":{"id":36337930666083,"product_id":8077272973411,"position":3,"created_at":"2026-07-21T23:41:38+08:00","updated_at":"2026-07-21T23:41:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d4dc41e8bb0cba43a99c905c150f1bf5e95eaea.webp?v=1784648500","variant_ids":[44384067158115]},"available":true,"name":"iPhone 17 Pro Max SolidX Looney Tunes 崔弟的反擊 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0135352-PQ29","featured_media":{"alt":null,"id":27841806827619,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d4dc41e8bb0cba43a99c905c150f1bf5e95eaea.webp?v=1784648500"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44384067321955,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013530B-PQ29","requires_shipping":true,"taxable":true,"featured_image":{"id":36337929814115,"product_id":8077272973411,"position":1,"created_at":"2026-07-21T23:41:36+08:00","updated_at":"2026-07-21T23:41:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cd6e2453d558715badb9d5e22e5da3875e7cf1f.webp?v=1784648498","variant_ids":[44384067321955]},"available":true,"name":"iPhone 17 Pro Max SolidX Looney Tunes 崔弟的反擊 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013530B-PQ29","featured_media":{"alt":null,"id":27841805975651,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cd6e2453d558715badb9d5e22e5da3875e7cf1f.webp?v=1784648498"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44384067649635,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013530F-PQ29","requires_shipping":true,"taxable":true,"featured_image":{"id":36337933418595,"product_id":8077272973411,"position":8,"created_at":"2026-07-21T23:41:41+08:00","updated_at":"2026-07-21T23:41:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39e6e6bb5d3a40a3f3f0a849a7a4dce61c5bb35c.webp?v=1784648503","variant_ids":[44384067649635]},"available":true,"name":"iPhone 17 Pro Max SolidX Looney Tunes 崔弟的反擊 - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013530F-PQ29","featured_media":{"alt":null,"id":27841808564323,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39e6e6bb5d3a40a3f3f0a849a7a4dce61c5bb35c.webp?v=1784648503"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44384067911779,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013533O-PQ29","requires_shipping":true,"taxable":true,"featured_image":{"id":36337936498787,"product_id":8077272973411,"position":12,"created_at":"2026-07-21T23:41:46+08:00","updated_at":"2026-07-21T23:41:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c443ffd4815218043f7a8249f5b209c38689aa6a.webp?v=1784648508","variant_ids":[44384067911779]},"available":true,"name":"iPhone 17 Pro Max SolidX Looney Tunes 崔弟的反擊 - Ultra Marine","public_title":"Ultra Marine","options":["Ultra Marine"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013533O-PQ29","featured_media":{"alt":null,"id":27841812660323,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c443ffd4815218043f7a8249f5b209c38689aa6a.webp?v=1784648508"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44384068141155,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013534H-PQ29","requires_shipping":true,"taxable":true,"featured_image":{"id":36337931845731,"product_id":8077272973411,"position":5,"created_at":"2026-07-21T23:41:39+08:00","updated_at":"2026-07-21T23:41:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2650e0b05582fce061478175f1c8d2e881d49283.webp?v=1784648501","variant_ids":[44384068141155]},"available":true,"name":"iPhone 17 Pro Max SolidX Looney Tunes 崔弟的反擊 - Dawn Clay","public_title":"Dawn Clay","options":["Dawn Clay"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013534H-PQ29","featured_media":{"alt":null,"id":27841808007267,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2650e0b05582fce061478175f1c8d2e881d49283.webp?v=1784648501"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44384068403299,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013534I-PQ29","requires_shipping":true,"taxable":true,"featured_image":{"id":36337933647971,"product_id":8077272973411,"position":9,"created_at":"2026-07-21T23:41:41+08:00","updated_at":"2026-07-21T23:41:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9bfdd70e8fd19ea9f4919e685edf762c985d7d5c.webp?v=1784648503","variant_ids":[44384068403299]},"available":true,"name":"iPhone 17 Pro Max SolidX Looney Tunes 崔弟的反擊 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013534I-PQ29","featured_media":{"alt":null,"id":27841809809507,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9bfdd70e8fd19ea9f4919e685edf762c985d7d5c.webp?v=1784648503"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44384068567139,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013535H-PQ29","requires_shipping":true,"taxable":true,"featured_image":{"id":36337936695395,"product_id":8077272973411,"position":13,"created_at":"2026-07-21T23:41:46+08:00","updated_at":"2026-07-21T23:41:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/424b59790713c161965ad2ae59fc0ccb4a4ee03a.webp?v=1784648508","variant_ids":[44384068567139]},"available":true,"name":"iPhone 17 Pro Max SolidX Looney Tunes 崔弟的反擊 - Translucent Matte","public_title":"Translucent Matte","options":["Translucent Matte"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013535H-PQ29","featured_media":{"alt":null,"id":27841812856931,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/424b59790713c161965ad2ae59fc0ccb4a4ee03a.webp?v=1784648508"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44384068698211,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013535X-PQ29","requires_shipping":true,"taxable":true,"featured_image":{"id":36337932009571,"product_id":8077272973411,"position":6,"created_at":"2026-07-21T23:41:39+08:00","updated_at":"2026-07-21T23:41:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/599ae938b0914fb1119576c7b1c7bbfcb50e8b06.webp?v=1784648502","variant_ids":[44384068698211]},"available":true,"name":"iPhone 17 Pro Max SolidX Looney Tunes 崔弟的反擊 - Sky Blue","public_title":"Sky Blue","options":["Sky Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013535X-PQ29","featured_media":{"alt":null,"id":27841808171107,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/599ae938b0914fb1119576c7b1c7bbfcb50e8b06.webp?v=1784648502"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44384068960355,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013535Z-PQ29","requires_shipping":true,"taxable":true,"featured_image":{"id":36337930043491,"product_id":8077272973411,"position":2,"created_at":"2026-07-21T23:41:37+08:00","updated_at":"2026-07-21T23:41:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08f36e2c916c3a1b672dca1555399cdf1b17b865.webp?v=1784648499","variant_ids":[44384068960355]},"available":true,"name":"iPhone 17 Pro Max SolidX Looney Tunes 崔弟的反擊 - Blossom Pink","public_title":"Blossom Pink","options":["Blossom Pink"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013535Z-PQ29","featured_media":{"alt":null,"id":27841806205027,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08f36e2c916c3a1b672dca1555399cdf1b17b865.webp?v=1784648499"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44384069124195,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013536A-PQ29","requires_shipping":true,"taxable":true,"featured_image":{"id":36337931518051,"product_id":8077272973411,"position":4,"created_at":"2026-07-21T23:41:38+08:00","updated_at":"2026-07-21T23:41:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09076e3f671179d7e8c6aab430e77799c4764eb3.webp?v=1784648500","variant_ids":[44384069124195]},"available":true,"name":"iPhone 17 Pro Max SolidX Looney Tunes 崔弟的反擊 - Sunflower Yellow","public_title":"Sunflower Yellow","options":["Sunflower Yellow"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013536A-PQ29","featured_media":{"alt":null,"id":27841807024227,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09076e3f671179d7e8c6aab430e77799c4764eb3.webp?v=1784648500"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":44384057000035,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013535Y-PQ29","requires_shipping":true,"taxable":true,"featured_image":{"id":36337936236643,"product_id":8077272973411,"position":11,"created_at":"2026-07-21T23:41:45+08:00","updated_at":"2026-07-21T23:41:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/755fb4981486a0419dbcadc48b1f7f882e8d8c48.webp?v=1784648507","variant_ids":[44384057000035]},"available":true,"name":"iPhone 17 Pro Max SolidX Looney Tunes 崔弟的反擊 - Field Green","public_title":"Field Green","options":["Field Green"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013535Y-PQ29","featured_media":{"alt":null,"id":27841811382371,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/755fb4981486a0419dbcadc48b1f7f882e8d8c48.webp?v=1784648507"}},"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: "停產"
}