$product = {"id":7868461219939,"title":"iPhone 17 Pro Max SolidX 咻咻熊 大咻熊與小紅帽","handle":"iphone-17-pro-max-solidx-fw20","description":null,"published_at":"2025-09-10T01:13:56+08:00","created_at":"2025-08-26T16:47:38+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-xiuxiubear","device-iPhone 17 Pro Max","merge","reseller-xiuxiubear"],"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":43635207045219,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135352-FW20","requires_shipping":true,"taxable":true,"featured_image":{"id":36196875862115,"product_id":7868461219939,"position":14,"created_at":"2026-07-07T15:24:12+08:00","updated_at":"2026-07-07T15:24:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52842959f6e45535b09f6a489a83acfceb143184.webp?v=1783409054","variant_ids":[43635207045219]},"available":true,"name":"iPhone 17 Pro Max SolidX 咻咻熊 大咻熊與小紅帽 - 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-FW20","featured_media":{"alt":null,"id":27701684732003,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52842959f6e45535b09f6a489a83acfceb143184.webp?v=1783409054"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43635209601123,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013534H-FW20","requires_shipping":true,"taxable":true,"featured_image":{"id":36196868587619,"product_id":7868461219939,"position":4,"created_at":"2026-07-07T15:24:04+08:00","updated_at":"2026-07-07T15:24:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7141c0a46a02d5fee1382b55fc9ee695a09c2d9.webp?v=1783409047","variant_ids":[43635209601123]},"available":true,"name":"iPhone 17 Pro Max SolidX 咻咻熊 大咻熊與小紅帽 - 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-FW20","featured_media":{"alt":null,"id":27701677457507,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7141c0a46a02d5fee1382b55fc9ee695a09c2d9.webp?v=1783409047"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43635209633891,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013530B-FW20","requires_shipping":true,"taxable":true,"featured_image":{"id":36196871635043,"product_id":7868461219939,"position":10,"created_at":"2026-07-07T15:24:08+08:00","updated_at":"2026-07-07T15:24:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2798b7f6f6a1b305dab744bd533cfa1e14ed21c8.webp?v=1783409050","variant_ids":[43635209633891]},"available":true,"name":"iPhone 17 Pro Max SolidX 咻咻熊 大咻熊與小紅帽 - 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-FW20","featured_media":{"alt":null,"id":27701680537699,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2798b7f6f6a1b305dab744bd533cfa1e14ed21c8.webp?v=1783409050"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43635209666659,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013534I-FW20","requires_shipping":true,"taxable":true,"featured_image":{"id":36196872781923,"product_id":7868461219939,"position":11,"created_at":"2026-07-07T15:24:09+08:00","updated_at":"2026-07-07T15:24:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84d65dc9a3e9c28f6f9d4543aa0e13d0004a3548.webp?v=1783409051","variant_ids":[43635209666659]},"available":true,"name":"iPhone 17 Pro Max SolidX 咻咻熊 大咻熊與小紅帽 - 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-FW20","featured_media":{"alt":null,"id":27701681651811,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84d65dc9a3e9c28f6f9d4543aa0e13d0004a3548.webp?v=1783409051"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43635209699427,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135353-FW20","requires_shipping":true,"taxable":true,"featured_image":{"id":36196870914147,"product_id":7868461219939,"position":9,"created_at":"2026-07-07T15:24:07+08:00","updated_at":"2026-07-07T15:24:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d73204d9141c7eeb56022ede9c1e64275d0aa622.webp?v=1783409049","variant_ids":[43635209699427]},"available":true,"name":"iPhone 17 Pro Max SolidX 咻咻熊 大咻熊與小紅帽 - 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-FW20","featured_media":{"alt":null,"id":27701679784035,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d73204d9141c7eeb56022ede9c1e64275d0aa622.webp?v=1783409049"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43635209732195,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01353O8-FW20","requires_shipping":true,"taxable":true,"featured_image":{"id":36196870520931,"product_id":7868461219939,"position":8,"created_at":"2026-07-07T15:24:07+08:00","updated_at":"2026-07-07T15:24:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4539b4515f4872db89b1dddc03abc489fafe703.webp?v=1783409049","variant_ids":[43635209732195]},"available":true,"name":"iPhone 17 Pro Max SolidX 咻咻熊 大咻熊與小紅帽 - 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-FW20","featured_media":{"alt":null,"id":27701679128675,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4539b4515f4872db89b1dddc03abc489fafe703.webp?v=1783409049"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43799568384099,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013530F-FW20","requires_shipping":true,"taxable":true,"featured_image":{"id":36196867702883,"product_id":7868461219939,"position":2,"created_at":"2026-07-07T15:24:03+08:00","updated_at":"2026-07-07T15:24:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93df6ea0196033db82478b1405b888dda8ace2c3.webp?v=1783409045","variant_ids":[43799568384099]},"available":true,"name":"iPhone 17 Pro Max SolidX 咻咻熊 大咻熊與小紅帽 - 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-FW20","featured_media":{"alt":null,"id":27701676605539,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93df6ea0196033db82478b1405b888dda8ace2c3.webp?v=1783409045"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43799568416867,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013533O-FW20","requires_shipping":true,"taxable":true,"featured_image":{"id":36196869439587,"product_id":7868461219939,"position":6,"created_at":"2026-07-07T15:24:06+08:00","updated_at":"2026-07-07T15:24:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2039706f72e15bd388dd22fb1b40616ac8ef19f.webp?v=1783409047","variant_ids":[43799568416867]},"available":true,"name":"iPhone 17 Pro Max SolidX 咻咻熊 大咻熊與小紅帽 - 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-FW20","featured_media":{"alt":null,"id":27701678342243,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2039706f72e15bd388dd22fb1b40616ac8ef19f.webp?v=1783409047"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44199513227363,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013536A-FW20","requires_shipping":true,"taxable":true,"featured_image":{"id":36196869111907,"product_id":7868461219939,"position":5,"created_at":"2026-07-07T15:24:05+08:00","updated_at":"2026-07-07T15:24:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70827d81ffcd5643f4fcc3ceffc4378558abc248.webp?v=1783409047","variant_ids":[44199513227363]},"available":true,"name":"iPhone 17 Pro Max SolidX 咻咻熊 大咻熊與小紅帽 - 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-FW20","featured_media":{"alt":null,"id":27701678014563,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70827d81ffcd5643f4fcc3ceffc4378558abc248.webp?v=1783409047"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44199513849955,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013535X-FW20","requires_shipping":true,"taxable":true,"featured_image":{"id":36196869996643,"product_id":7868461219939,"position":7,"created_at":"2026-07-07T15:24:06+08:00","updated_at":"2026-07-07T15:24:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0ebf5eada33b5225bf92891014a745d33105b39.webp?v=1783409048","variant_ids":[44199513849955]},"available":true,"name":"iPhone 17 Pro Max SolidX 咻咻熊 大咻熊與小紅帽 - 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-FW20","featured_media":{"alt":null,"id":27701678899299,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0ebf5eada33b5225bf92891014a745d33105b39.webp?v=1783409048"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44199514832995,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013535Y-FW20","requires_shipping":true,"taxable":true,"featured_image":{"id":36196874649699,"product_id":7868461219939,"position":13,"created_at":"2026-07-07T15:24:11+08:00","updated_at":"2026-07-07T15:24:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/211d463a373474702835eff0669721ff661a5349.webp?v=1783409053","variant_ids":[44199514832995]},"available":true,"name":"iPhone 17 Pro Max SolidX 咻咻熊 大咻熊與小紅帽 - 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-FW20","featured_media":{"alt":null,"id":27701683552355,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/211d463a373474702835eff0669721ff661a5349.webp?v=1783409053"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44199516143715,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013535Z-FW20","requires_shipping":true,"taxable":true,"featured_image":{"id":36196867997795,"product_id":7868461219939,"position":3,"created_at":"2026-07-07T15:24:04+08:00","updated_at":"2026-07-07T15:24:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ff7b367763f0a48a20bdc546900def56d07aad7.webp?v=1783409046","variant_ids":[44199516143715]},"available":true,"name":"iPhone 17 Pro Max SolidX 咻咻熊 大咻熊與小紅帽 - 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-FW20","featured_media":{"alt":null,"id":27701676900451,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ff7b367763f0a48a20bdc546900def56d07aad7.webp?v=1783409046"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263808860259,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013535H-FW20","requires_shipping":true,"taxable":true,"featured_image":{"id":36196873568355,"product_id":7868461219939,"position":12,"created_at":"2026-07-07T15:24:10+08:00","updated_at":"2026-07-07T15:24:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bba61148613a8349d91a88bdcbde2bcb8ffcf68c.webp?v=1783409052","variant_ids":[44263808860259]},"available":true,"name":"iPhone 17 Pro Max SolidX 咻咻熊 大咻熊與小紅帽 - 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-FW20","featured_media":{"alt":null,"id":27701682438243,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bba61148613a8349d91a88bdcbde2bcb8ffcf68c.webp?v=1783409052"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-353-FW20.png?v=1756198061","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93df6ea0196033db82478b1405b888dda8ace2c3.webp?v=1783409045","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ff7b367763f0a48a20bdc546900def56d07aad7.webp?v=1783409046","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7141c0a46a02d5fee1382b55fc9ee695a09c2d9.webp?v=1783409047","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70827d81ffcd5643f4fcc3ceffc4378558abc248.webp?v=1783409047","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2039706f72e15bd388dd22fb1b40616ac8ef19f.webp?v=1783409047","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0ebf5eada33b5225bf92891014a745d33105b39.webp?v=1783409048","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4539b4515f4872db89b1dddc03abc489fafe703.webp?v=1783409049","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d73204d9141c7eeb56022ede9c1e64275d0aa622.webp?v=1783409049","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2798b7f6f6a1b305dab744bd533cfa1e14ed21c8.webp?v=1783409050","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84d65dc9a3e9c28f6f9d4543aa0e13d0004a3548.webp?v=1783409051","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bba61148613a8349d91a88bdcbde2bcb8ffcf68c.webp?v=1783409052","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/211d463a373474702835eff0669721ff661a5349.webp?v=1783409053","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52842959f6e45535b09f6a489a83acfceb143184.webp?v=1783409054"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-353-FW20.png?v=1756198061","options":["color"],"media":[{"alt":null,"id":25961314517091,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-353-FW20.png?v=1756198061"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-353-FW20.png?v=1756198061","width":2000},{"alt":null,"id":27701676605539,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93df6ea0196033db82478b1405b888dda8ace2c3.webp?v=1783409045"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93df6ea0196033db82478b1405b888dda8ace2c3.webp?v=1783409045","width":2000},{"alt":null,"id":27701676900451,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ff7b367763f0a48a20bdc546900def56d07aad7.webp?v=1783409046"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ff7b367763f0a48a20bdc546900def56d07aad7.webp?v=1783409046","width":2000},{"alt":null,"id":27701677457507,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7141c0a46a02d5fee1382b55fc9ee695a09c2d9.webp?v=1783409047"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7141c0a46a02d5fee1382b55fc9ee695a09c2d9.webp?v=1783409047","width":2000},{"alt":null,"id":27701678014563,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70827d81ffcd5643f4fcc3ceffc4378558abc248.webp?v=1783409047"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70827d81ffcd5643f4fcc3ceffc4378558abc248.webp?v=1783409047","width":2000},{"alt":null,"id":27701678342243,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2039706f72e15bd388dd22fb1b40616ac8ef19f.webp?v=1783409047"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2039706f72e15bd388dd22fb1b40616ac8ef19f.webp?v=1783409047","width":2000},{"alt":null,"id":27701678899299,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0ebf5eada33b5225bf92891014a745d33105b39.webp?v=1783409048"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0ebf5eada33b5225bf92891014a745d33105b39.webp?v=1783409048","width":2000},{"alt":null,"id":27701679128675,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4539b4515f4872db89b1dddc03abc489fafe703.webp?v=1783409049"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4539b4515f4872db89b1dddc03abc489fafe703.webp?v=1783409049","width":2000},{"alt":null,"id":27701679784035,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d73204d9141c7eeb56022ede9c1e64275d0aa622.webp?v=1783409049"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d73204d9141c7eeb56022ede9c1e64275d0aa622.webp?v=1783409049","width":2000},{"alt":null,"id":27701680537699,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2798b7f6f6a1b305dab744bd533cfa1e14ed21c8.webp?v=1783409050"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2798b7f6f6a1b305dab744bd533cfa1e14ed21c8.webp?v=1783409050","width":2000},{"alt":null,"id":27701681651811,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84d65dc9a3e9c28f6f9d4543aa0e13d0004a3548.webp?v=1783409051"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84d65dc9a3e9c28f6f9d4543aa0e13d0004a3548.webp?v=1783409051","width":2000},{"alt":null,"id":27701682438243,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bba61148613a8349d91a88bdcbde2bcb8ffcf68c.webp?v=1783409052"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bba61148613a8349d91a88bdcbde2bcb8ffcf68c.webp?v=1783409052","width":2000},{"alt":null,"id":27701683552355,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/211d463a373474702835eff0669721ff661a5349.webp?v=1783409053"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/211d463a373474702835eff0669721ff661a5349.webp?v=1783409053","width":2000},{"alt":null,"id":27701684732003,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52842959f6e45535b09f6a489a83acfceb143184.webp?v=1783409054"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52842959f6e45535b09f6a489a83acfceb143184.webp?v=1783409054","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43635207045219,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135352-FW20","requires_shipping":true,"taxable":true,"featured_image":{"id":36196875862115,"product_id":7868461219939,"position":14,"created_at":"2026-07-07T15:24:12+08:00","updated_at":"2026-07-07T15:24:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52842959f6e45535b09f6a489a83acfceb143184.webp?v=1783409054","variant_ids":[43635207045219]},"available":true,"name":"iPhone 17 Pro Max SolidX 咻咻熊 大咻熊與小紅帽 - 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-FW20","featured_media":{"alt":null,"id":27701684732003,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52842959f6e45535b09f6a489a83acfceb143184.webp?v=1783409054"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43635209601123,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013534H-FW20","requires_shipping":true,"taxable":true,"featured_image":{"id":36196868587619,"product_id":7868461219939,"position":4,"created_at":"2026-07-07T15:24:04+08:00","updated_at":"2026-07-07T15:24:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7141c0a46a02d5fee1382b55fc9ee695a09c2d9.webp?v=1783409047","variant_ids":[43635209601123]},"available":true,"name":"iPhone 17 Pro Max SolidX 咻咻熊 大咻熊與小紅帽 - 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-FW20","featured_media":{"alt":null,"id":27701677457507,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7141c0a46a02d5fee1382b55fc9ee695a09c2d9.webp?v=1783409047"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43635209633891,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013530B-FW20","requires_shipping":true,"taxable":true,"featured_image":{"id":36196871635043,"product_id":7868461219939,"position":10,"created_at":"2026-07-07T15:24:08+08:00","updated_at":"2026-07-07T15:24:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2798b7f6f6a1b305dab744bd533cfa1e14ed21c8.webp?v=1783409050","variant_ids":[43635209633891]},"available":true,"name":"iPhone 17 Pro Max SolidX 咻咻熊 大咻熊與小紅帽 - 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-FW20","featured_media":{"alt":null,"id":27701680537699,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2798b7f6f6a1b305dab744bd533cfa1e14ed21c8.webp?v=1783409050"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43635209666659,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013534I-FW20","requires_shipping":true,"taxable":true,"featured_image":{"id":36196872781923,"product_id":7868461219939,"position":11,"created_at":"2026-07-07T15:24:09+08:00","updated_at":"2026-07-07T15:24:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84d65dc9a3e9c28f6f9d4543aa0e13d0004a3548.webp?v=1783409051","variant_ids":[43635209666659]},"available":true,"name":"iPhone 17 Pro Max SolidX 咻咻熊 大咻熊與小紅帽 - 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-FW20","featured_media":{"alt":null,"id":27701681651811,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84d65dc9a3e9c28f6f9d4543aa0e13d0004a3548.webp?v=1783409051"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43635209699427,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135353-FW20","requires_shipping":true,"taxable":true,"featured_image":{"id":36196870914147,"product_id":7868461219939,"position":9,"created_at":"2026-07-07T15:24:07+08:00","updated_at":"2026-07-07T15:24:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d73204d9141c7eeb56022ede9c1e64275d0aa622.webp?v=1783409049","variant_ids":[43635209699427]},"available":true,"name":"iPhone 17 Pro Max SolidX 咻咻熊 大咻熊與小紅帽 - 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-FW20","featured_media":{"alt":null,"id":27701679784035,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d73204d9141c7eeb56022ede9c1e64275d0aa622.webp?v=1783409049"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43635209732195,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01353O8-FW20","requires_shipping":true,"taxable":true,"featured_image":{"id":36196870520931,"product_id":7868461219939,"position":8,"created_at":"2026-07-07T15:24:07+08:00","updated_at":"2026-07-07T15:24:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4539b4515f4872db89b1dddc03abc489fafe703.webp?v=1783409049","variant_ids":[43635209732195]},"available":true,"name":"iPhone 17 Pro Max SolidX 咻咻熊 大咻熊與小紅帽 - 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-FW20","featured_media":{"alt":null,"id":27701679128675,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4539b4515f4872db89b1dddc03abc489fafe703.webp?v=1783409049"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43799568384099,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013530F-FW20","requires_shipping":true,"taxable":true,"featured_image":{"id":36196867702883,"product_id":7868461219939,"position":2,"created_at":"2026-07-07T15:24:03+08:00","updated_at":"2026-07-07T15:24:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93df6ea0196033db82478b1405b888dda8ace2c3.webp?v=1783409045","variant_ids":[43799568384099]},"available":true,"name":"iPhone 17 Pro Max SolidX 咻咻熊 大咻熊與小紅帽 - 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-FW20","featured_media":{"alt":null,"id":27701676605539,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93df6ea0196033db82478b1405b888dda8ace2c3.webp?v=1783409045"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43799568416867,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013533O-FW20","requires_shipping":true,"taxable":true,"featured_image":{"id":36196869439587,"product_id":7868461219939,"position":6,"created_at":"2026-07-07T15:24:06+08:00","updated_at":"2026-07-07T15:24:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2039706f72e15bd388dd22fb1b40616ac8ef19f.webp?v=1783409047","variant_ids":[43799568416867]},"available":true,"name":"iPhone 17 Pro Max SolidX 咻咻熊 大咻熊與小紅帽 - 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-FW20","featured_media":{"alt":null,"id":27701678342243,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2039706f72e15bd388dd22fb1b40616ac8ef19f.webp?v=1783409047"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44199513227363,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013536A-FW20","requires_shipping":true,"taxable":true,"featured_image":{"id":36196869111907,"product_id":7868461219939,"position":5,"created_at":"2026-07-07T15:24:05+08:00","updated_at":"2026-07-07T15:24:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70827d81ffcd5643f4fcc3ceffc4378558abc248.webp?v=1783409047","variant_ids":[44199513227363]},"available":true,"name":"iPhone 17 Pro Max SolidX 咻咻熊 大咻熊與小紅帽 - 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-FW20","featured_media":{"alt":null,"id":27701678014563,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70827d81ffcd5643f4fcc3ceffc4378558abc248.webp?v=1783409047"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44199513849955,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013535X-FW20","requires_shipping":true,"taxable":true,"featured_image":{"id":36196869996643,"product_id":7868461219939,"position":7,"created_at":"2026-07-07T15:24:06+08:00","updated_at":"2026-07-07T15:24:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0ebf5eada33b5225bf92891014a745d33105b39.webp?v=1783409048","variant_ids":[44199513849955]},"available":true,"name":"iPhone 17 Pro Max SolidX 咻咻熊 大咻熊與小紅帽 - 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-FW20","featured_media":{"alt":null,"id":27701678899299,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0ebf5eada33b5225bf92891014a745d33105b39.webp?v=1783409048"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44199514832995,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013535Y-FW20","requires_shipping":true,"taxable":true,"featured_image":{"id":36196874649699,"product_id":7868461219939,"position":13,"created_at":"2026-07-07T15:24:11+08:00","updated_at":"2026-07-07T15:24:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/211d463a373474702835eff0669721ff661a5349.webp?v=1783409053","variant_ids":[44199514832995]},"available":true,"name":"iPhone 17 Pro Max SolidX 咻咻熊 大咻熊與小紅帽 - 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-FW20","featured_media":{"alt":null,"id":27701683552355,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/211d463a373474702835eff0669721ff661a5349.webp?v=1783409053"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44199516143715,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013535Z-FW20","requires_shipping":true,"taxable":true,"featured_image":{"id":36196867997795,"product_id":7868461219939,"position":3,"created_at":"2026-07-07T15:24:04+08:00","updated_at":"2026-07-07T15:24:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ff7b367763f0a48a20bdc546900def56d07aad7.webp?v=1783409046","variant_ids":[44199516143715]},"available":true,"name":"iPhone 17 Pro Max SolidX 咻咻熊 大咻熊與小紅帽 - 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-FW20","featured_media":{"alt":null,"id":27701676900451,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ff7b367763f0a48a20bdc546900def56d07aad7.webp?v=1783409046"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263808860259,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013535H-FW20","requires_shipping":true,"taxable":true,"featured_image":{"id":36196873568355,"product_id":7868461219939,"position":12,"created_at":"2026-07-07T15:24:10+08:00","updated_at":"2026-07-07T15:24:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bba61148613a8349d91a88bdcbde2bcb8ffcf68c.webp?v=1783409052","variant_ids":[44263808860259]},"available":true,"name":"iPhone 17 Pro Max SolidX 咻咻熊 大咻熊與小紅帽 - 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-FW20","featured_media":{"alt":null,"id":27701682438243,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bba61148613a8349d91a88bdcbde2bcb8ffcf68c.webp?v=1783409052"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43635207045219,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135352-FW20","requires_shipping":true,"taxable":true,"featured_image":{"id":36196875862115,"product_id":7868461219939,"position":14,"created_at":"2026-07-07T15:24:12+08:00","updated_at":"2026-07-07T15:24:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52842959f6e45535b09f6a489a83acfceb143184.webp?v=1783409054","variant_ids":[43635207045219]},"available":true,"name":"iPhone 17 Pro Max SolidX 咻咻熊 大咻熊與小紅帽 - 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-FW20","featured_media":{"alt":null,"id":27701684732003,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52842959f6e45535b09f6a489a83acfceb143184.webp?v=1783409054"}},"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: "停產" }