$product = {"id":8104420311139,"title":"iPhone 18 Pro AirX 方坊 Square Studio 喜怒哀樂製夢工廠","handle":"iphone-18-pro-airx-magsafe-rk37","description":null,"published_at":"2026-09-15T14:04:14+08:00","created_at":"2026-08-11T12:04:42+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-squarestudio","device-iPhone 18 Pro","merge","reseller-squarestudio"],"price":195000,"price_min":195000,"price_max":195000,"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":44463909437539,"title":"Ashen Violet","option1":"Ashen Violet","option2":null,"option3":null,"sku":"MAR013946C-RK37","requires_shipping":true,"taxable":true,"featured_image":{"id":36540416589923,"product_id":8104420311139,"position":2,"created_at":"2026-08-11T12:05:08+08:00","updated_at":"2026-08-11T12:05:09+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/58429b5a3263ec9ca2bdd855d4225c09e7df0554_8de9cd5c-2fe0-4e43-a34a-0e4392c0fb20.webp?v=1786421109","variant_ids":[44463909437539]},"available":true,"name":"iPhone 18 Pro AirX 方坊 Square Studio 喜怒哀樂製夢工廠 - Ashen Violet","public_title":"Ashen Violet","options":["Ashen Violet"],"price":195000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MAR013946C-RK37","featured_media":{"alt":null,"id":28043606360163,"position":2,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/58429b5a3263ec9ca2bdd855d4225c09e7df0554_8de9cd5c-2fe0-4e43-a34a-0e4392c0fb20.webp?v=1786421109"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44463918350435,"title":"Vero Black","option1":"Vero Black","option2":null,"option3":null,"sku":"MAR013944E-RK37","requires_shipping":true,"taxable":true,"featured_image":{"id":36540419047523,"product_id":8104420311139,"position":5,"created_at":"2026-08-11T12:05:20+08:00","updated_at":"2026-08-11T12:05:21+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57455a0edf2d1036c65af93f84afabe134cb80e8.webp?v=1786421121","variant_ids":[44463918350435]},"available":true,"name":"iPhone 18 Pro AirX 方坊 Square Studio 喜怒哀樂製夢工廠 - Vero Black","public_title":"Vero Black","options":["Vero Black"],"price":195000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MAR013944E-RK37","featured_media":{"alt":null,"id":28043608817763,"position":5,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57455a0edf2d1036c65af93f84afabe134cb80e8.webp?v=1786421121"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44463918809187,"title":"Flux Gray","option1":"Flux Gray","option2":null,"option3":null,"sku":"MAR013944F-RK37","requires_shipping":true,"taxable":true,"featured_image":{"id":36540417605731,"product_id":8104420311139,"position":4,"created_at":"2026-08-11T12:05:13+08:00","updated_at":"2026-08-11T12:05:14+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/327b8ef9ccfc40d1487a88de9af1cd55212a9be9.webp?v=1786421114","variant_ids":[44463918809187]},"available":true,"name":"iPhone 18 Pro AirX 方坊 Square Studio 喜怒哀樂製夢工廠 - Flux Gray","public_title":"Flux Gray","options":["Flux Gray"],"price":195000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MAR013944F-RK37","featured_media":{"alt":null,"id":28043607375971,"position":4,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/327b8ef9ccfc40d1487a88de9af1cd55212a9be9.webp?v=1786421114"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44463919366243,"title":"Ridgeline Gray","option1":"Ridgeline Gray","option2":null,"option3":null,"sku":"MAR013946D-RK37","requires_shipping":true,"taxable":true,"featured_image":{"id":36540417081443,"product_id":8104420311139,"position":3,"created_at":"2026-08-11T12:05:10+08:00","updated_at":"2026-08-11T12:05:12+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9bfe51048eefa1bc9dacddbbd78fd386595752a6_62a73cf9-f8c7-40f8-8539-1e079ec73d7d.webp?v=1786421112","variant_ids":[44463919366243]},"available":true,"name":"iPhone 18 Pro AirX 方坊 Square Studio 喜怒哀樂製夢工廠 - Ridgeline Gray","public_title":"Ridgeline Gray","options":["Ridgeline Gray"],"price":195000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MAR013946D-RK37","featured_media":{"alt":null,"id":28043606851683,"position":3,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9bfe51048eefa1bc9dacddbbd78fd386595752a6_62a73cf9-f8c7-40f8-8539-1e079ec73d7d.webp?v=1786421112"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44463919792227,"title":"Trailhead Green","option1":"Trailhead Green","option2":null,"option3":null,"sku":"MAR013946E-RK37","requires_shipping":true,"taxable":true,"featured_image":{"id":36540416065635,"product_id":8104420311139,"position":1,"created_at":"2026-08-11T12:05:05+08:00","updated_at":"2026-08-11T12:05:07+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95435d8c0c90de9744f952adfdf1cda13216ead5_3e4f8fb0-c717-4140-a49d-4403816aa6b9.webp?v=1786421107","variant_ids":[44463919792227]},"available":true,"name":"iPhone 18 Pro AirX 方坊 Square Studio 喜怒哀樂製夢工廠 - Trailhead Green","public_title":"Trailhead Green","options":["Trailhead Green"],"price":195000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MAR013946E-RK37","featured_media":{"alt":null,"id":28043605835875,"position":1,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95435d8c0c90de9744f952adfdf1cda13216ead5_3e4f8fb0-c717-4140-a49d-4403816aa6b9.webp?v=1786421107"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":67605361197155,"title":"Misted Gray","option1":"Misted Gray","option2":null,"option3":null,"sku":"MAR013947G-RK37","requires_shipping":true,"taxable":true,"featured_image":{"id":43138542567523,"product_id":8104420311139,"position":6,"created_at":"2026-09-30T11:04:02+08:00","updated_at":"2026-09-30T11:04:04+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/MAR013947G-RK37_b11dc315-4302-41ce-9f14-9b184b1ec95c.webp?v=1790737444","variant_ids":[67605361197155]},"available":true,"name":"iPhone 18 Pro AirX 方坊 Square Studio 喜怒哀樂製夢工廠 - Misted Gray","public_title":"Misted Gray","options":["Misted Gray"],"price":195000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MAR013947G-RK37","featured_media":{"alt":null,"id":46254041923683,"position":6,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/MAR013947G-RK37_b11dc315-4302-41ce-9f14-9b184b1ec95c.webp?v=1790737444"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95435d8c0c90de9744f952adfdf1cda13216ead5_3e4f8fb0-c717-4140-a49d-4403816aa6b9.webp?v=1786421107","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/58429b5a3263ec9ca2bdd855d4225c09e7df0554_8de9cd5c-2fe0-4e43-a34a-0e4392c0fb20.webp?v=1786421109","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9bfe51048eefa1bc9dacddbbd78fd386595752a6_62a73cf9-f8c7-40f8-8539-1e079ec73d7d.webp?v=1786421112","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/327b8ef9ccfc40d1487a88de9af1cd55212a9be9.webp?v=1786421114","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57455a0edf2d1036c65af93f84afabe134cb80e8.webp?v=1786421121","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/MAR013947G-RK37_b11dc315-4302-41ce-9f14-9b184b1ec95c.webp?v=1790737444"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95435d8c0c90de9744f952adfdf1cda13216ead5_3e4f8fb0-c717-4140-a49d-4403816aa6b9.webp?v=1786421107","options":["color"],"media":[{"alt":null,"id":28043605835875,"position":1,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95435d8c0c90de9744f952adfdf1cda13216ead5_3e4f8fb0-c717-4140-a49d-4403816aa6b9.webp?v=1786421107"},"aspect_ratio":1.0,"height":550,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95435d8c0c90de9744f952adfdf1cda13216ead5_3e4f8fb0-c717-4140-a49d-4403816aa6b9.webp?v=1786421107","width":550},{"alt":null,"id":28043606360163,"position":2,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/58429b5a3263ec9ca2bdd855d4225c09e7df0554_8de9cd5c-2fe0-4e43-a34a-0e4392c0fb20.webp?v=1786421109"},"aspect_ratio":1.0,"height":550,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/58429b5a3263ec9ca2bdd855d4225c09e7df0554_8de9cd5c-2fe0-4e43-a34a-0e4392c0fb20.webp?v=1786421109","width":550},{"alt":null,"id":28043606851683,"position":3,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9bfe51048eefa1bc9dacddbbd78fd386595752a6_62a73cf9-f8c7-40f8-8539-1e079ec73d7d.webp?v=1786421112"},"aspect_ratio":1.0,"height":550,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9bfe51048eefa1bc9dacddbbd78fd386595752a6_62a73cf9-f8c7-40f8-8539-1e079ec73d7d.webp?v=1786421112","width":550},{"alt":null,"id":28043607375971,"position":4,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/327b8ef9ccfc40d1487a88de9af1cd55212a9be9.webp?v=1786421114"},"aspect_ratio":1.0,"height":550,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/327b8ef9ccfc40d1487a88de9af1cd55212a9be9.webp?v=1786421114","width":550},{"alt":null,"id":28043608817763,"position":5,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57455a0edf2d1036c65af93f84afabe134cb80e8.webp?v=1786421121"},"aspect_ratio":1.0,"height":550,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57455a0edf2d1036c65af93f84afabe134cb80e8.webp?v=1786421121","width":550},{"alt":null,"id":46254041923683,"position":6,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/MAR013947G-RK37_b11dc315-4302-41ce-9f14-9b184b1ec95c.webp?v=1790737444"},"aspect_ratio":1.0,"height":550,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/MAR013947G-RK37_b11dc315-4302-41ce-9f14-9b184b1ec95c.webp?v=1790737444","width":550}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":44463909437539,"title":"Ashen Violet","option1":"Ashen Violet","option2":null,"option3":null,"sku":"MAR013946C-RK37","requires_shipping":true,"taxable":true,"featured_image":{"id":36540416589923,"product_id":8104420311139,"position":2,"created_at":"2026-08-11T12:05:08+08:00","updated_at":"2026-08-11T12:05:09+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/58429b5a3263ec9ca2bdd855d4225c09e7df0554_8de9cd5c-2fe0-4e43-a34a-0e4392c0fb20.webp?v=1786421109","variant_ids":[44463909437539]},"available":true,"name":"iPhone 18 Pro AirX 方坊 Square Studio 喜怒哀樂製夢工廠 - Ashen Violet","public_title":"Ashen Violet","options":["Ashen Violet"],"price":195000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MAR013946C-RK37","featured_media":{"alt":null,"id":28043606360163,"position":2,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/58429b5a3263ec9ca2bdd855d4225c09e7df0554_8de9cd5c-2fe0-4e43-a34a-0e4392c0fb20.webp?v=1786421109"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44463918350435,"title":"Vero Black","option1":"Vero Black","option2":null,"option3":null,"sku":"MAR013944E-RK37","requires_shipping":true,"taxable":true,"featured_image":{"id":36540419047523,"product_id":8104420311139,"position":5,"created_at":"2026-08-11T12:05:20+08:00","updated_at":"2026-08-11T12:05:21+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57455a0edf2d1036c65af93f84afabe134cb80e8.webp?v=1786421121","variant_ids":[44463918350435]},"available":true,"name":"iPhone 18 Pro AirX 方坊 Square Studio 喜怒哀樂製夢工廠 - Vero Black","public_title":"Vero Black","options":["Vero Black"],"price":195000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MAR013944E-RK37","featured_media":{"alt":null,"id":28043608817763,"position":5,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57455a0edf2d1036c65af93f84afabe134cb80e8.webp?v=1786421121"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44463918809187,"title":"Flux Gray","option1":"Flux Gray","option2":null,"option3":null,"sku":"MAR013944F-RK37","requires_shipping":true,"taxable":true,"featured_image":{"id":36540417605731,"product_id":8104420311139,"position":4,"created_at":"2026-08-11T12:05:13+08:00","updated_at":"2026-08-11T12:05:14+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/327b8ef9ccfc40d1487a88de9af1cd55212a9be9.webp?v=1786421114","variant_ids":[44463918809187]},"available":true,"name":"iPhone 18 Pro AirX 方坊 Square Studio 喜怒哀樂製夢工廠 - Flux Gray","public_title":"Flux Gray","options":["Flux Gray"],"price":195000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MAR013944F-RK37","featured_media":{"alt":null,"id":28043607375971,"position":4,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/327b8ef9ccfc40d1487a88de9af1cd55212a9be9.webp?v=1786421114"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44463919366243,"title":"Ridgeline Gray","option1":"Ridgeline Gray","option2":null,"option3":null,"sku":"MAR013946D-RK37","requires_shipping":true,"taxable":true,"featured_image":{"id":36540417081443,"product_id":8104420311139,"position":3,"created_at":"2026-08-11T12:05:10+08:00","updated_at":"2026-08-11T12:05:12+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9bfe51048eefa1bc9dacddbbd78fd386595752a6_62a73cf9-f8c7-40f8-8539-1e079ec73d7d.webp?v=1786421112","variant_ids":[44463919366243]},"available":true,"name":"iPhone 18 Pro AirX 方坊 Square Studio 喜怒哀樂製夢工廠 - Ridgeline Gray","public_title":"Ridgeline Gray","options":["Ridgeline Gray"],"price":195000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MAR013946D-RK37","featured_media":{"alt":null,"id":28043606851683,"position":3,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9bfe51048eefa1bc9dacddbbd78fd386595752a6_62a73cf9-f8c7-40f8-8539-1e079ec73d7d.webp?v=1786421112"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44463919792227,"title":"Trailhead Green","option1":"Trailhead Green","option2":null,"option3":null,"sku":"MAR013946E-RK37","requires_shipping":true,"taxable":true,"featured_image":{"id":36540416065635,"product_id":8104420311139,"position":1,"created_at":"2026-08-11T12:05:05+08:00","updated_at":"2026-08-11T12:05:07+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95435d8c0c90de9744f952adfdf1cda13216ead5_3e4f8fb0-c717-4140-a49d-4403816aa6b9.webp?v=1786421107","variant_ids":[44463919792227]},"available":true,"name":"iPhone 18 Pro AirX 方坊 Square Studio 喜怒哀樂製夢工廠 - Trailhead Green","public_title":"Trailhead Green","options":["Trailhead Green"],"price":195000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MAR013946E-RK37","featured_media":{"alt":null,"id":28043605835875,"position":1,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95435d8c0c90de9744f952adfdf1cda13216ead5_3e4f8fb0-c717-4140-a49d-4403816aa6b9.webp?v=1786421107"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":67605361197155,"title":"Misted Gray","option1":"Misted Gray","option2":null,"option3":null,"sku":"MAR013947G-RK37","requires_shipping":true,"taxable":true,"featured_image":{"id":43138542567523,"product_id":8104420311139,"position":6,"created_at":"2026-09-30T11:04:02+08:00","updated_at":"2026-09-30T11:04:04+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/MAR013947G-RK37_b11dc315-4302-41ce-9f14-9b184b1ec95c.webp?v=1790737444","variant_ids":[67605361197155]},"available":true,"name":"iPhone 18 Pro AirX 方坊 Square Studio 喜怒哀樂製夢工廠 - Misted Gray","public_title":"Misted Gray","options":["Misted Gray"],"price":195000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MAR013947G-RK37","featured_media":{"alt":null,"id":46254041923683,"position":6,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/MAR013947G-RK37_b11dc315-4302-41ce-9f14-9b184b1ec95c.webp?v=1790737444"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":44463909437539,"title":"Ashen Violet","option1":"Ashen Violet","option2":null,"option3":null,"sku":"MAR013946C-RK37","requires_shipping":true,"taxable":true,"featured_image":{"id":36540416589923,"product_id":8104420311139,"position":2,"created_at":"2026-08-11T12:05:08+08:00","updated_at":"2026-08-11T12:05:09+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/58429b5a3263ec9ca2bdd855d4225c09e7df0554_8de9cd5c-2fe0-4e43-a34a-0e4392c0fb20.webp?v=1786421109","variant_ids":[44463909437539]},"available":true,"name":"iPhone 18 Pro AirX 方坊 Square Studio 喜怒哀樂製夢工廠 - Ashen Violet","public_title":"Ashen Violet","options":["Ashen Violet"],"price":195000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MAR013946C-RK37","featured_media":{"alt":null,"id":28043606360163,"position":2,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/58429b5a3263ec9ca2bdd855d4225c09e7df0554_8de9cd5c-2fe0-4e43-a34a-0e4392c0fb20.webp?v=1786421109"}},"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: "停產" }