$product = {"id":7868198256739,"title":"iPhone 17 Pro SolidX 老屋顏 日常馬賽克 - 糕餅舖","handle":"iphone-17-pro-solidx-kf10","description":null,"published_at":"2025-09-10T02:20:07+08:00","created_at":"2025-08-26T16:01:42+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-oldhouseface","device-iPhone 17 Pro","merge","reseller-oldhouseface"],"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":43633643847779,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135252-KF10","requires_shipping":true,"taxable":true,"featured_image":{"id":36157059891299,"product_id":7868198256739,"position":8,"created_at":"2026-07-02T17:51:27+08:00","updated_at":"2026-07-02T17:51:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a37ef148674f22486da92e33404aaf531e74d968.webp?v=1782985890","variant_ids":[43633643847779]},"available":true,"name":"iPhone 17 Pro 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":"NST0135252-KF10","featured_media":{"alt":null,"id":27661927612515,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a37ef148674f22486da92e33404aaf531e74d968.webp?v=1782985890"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43633645682787,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01352O8-KF10","requires_shipping":true,"taxable":true,"featured_image":{"id":36157060972643,"product_id":7868198256739,"position":10,"created_at":"2026-07-02T17:51:29+08:00","updated_at":"2026-07-02T17:51:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca7ca15473d244e109beef9b2615efbde026d31d.webp?v=1782985891","variant_ids":[43633645682787]},"available":true,"name":"iPhone 17 Pro 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":"NST01352O8-KF10","featured_media":{"alt":null,"id":27661928693859,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca7ca15473d244e109beef9b2615efbde026d31d.webp?v=1782985891"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43633645715555,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013520B-KF10","requires_shipping":true,"taxable":true,"featured_image":{"id":36157061824611,"product_id":7868198256739,"position":11,"created_at":"2026-07-02T17:51:29+08:00","updated_at":"2026-07-02T17:51:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3470498785097dfc170aca29c5c0065ce4910b08.webp?v=1782985891","variant_ids":[43633645715555]},"available":true,"name":"iPhone 17 Pro 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":"NST013520B-KF10","featured_media":{"alt":null,"id":27661929119843,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3470498785097dfc170aca29c5c0065ce4910b08.webp?v=1782985891"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43633645748323,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013524I-KF10","requires_shipping":true,"taxable":true,"featured_image":{"id":36157060382819,"product_id":7868198256739,"position":9,"created_at":"2026-07-02T17:51:28+08:00","updated_at":"2026-07-02T17:51:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6580b93e6098a3419f317a58d66ed9a6c67aa3f.webp?v=1782985890","variant_ids":[43633645748323]},"available":true,"name":"iPhone 17 Pro 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":"NST013524I-KF10","featured_media":{"alt":null,"id":27661928104035,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6580b93e6098a3419f317a58d66ed9a6c67aa3f.webp?v=1782985890"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43633645781091,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013524H-KF10","requires_shipping":true,"taxable":true,"featured_image":{"id":36157058089059,"product_id":7868198256739,"position":3,"created_at":"2026-07-02T17:51:24+08:00","updated_at":"2026-07-02T17:51:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd37f29dcbee9a77643acf30a481b5bfa2a3927a.webp?v=1782985887","variant_ids":[43633645781091]},"available":true,"name":"iPhone 17 Pro 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":"NST013524H-KF10","featured_media":{"alt":null,"id":27661925810275,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd37f29dcbee9a77643acf30a481b5bfa2a3927a.webp?v=1782985887"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43633645813859,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135253-KF10","requires_shipping":true,"taxable":true,"featured_image":{"id":36157059498083,"product_id":7868198256739,"position":7,"created_at":"2026-07-02T17:51:27+08:00","updated_at":"2026-07-02T17:51:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ab27343c07310f0658e60138a0b8c23c95a8c6a.webp?v=1782985889","variant_ids":[43633645813859]},"available":true,"name":"iPhone 17 Pro 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":"NST0135253-KF10","featured_media":{"alt":null,"id":27661927219299,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ab27343c07310f0658e60138a0b8c23c95a8c6a.webp?v=1782985889"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43797917401187,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013523O-KF10","requires_shipping":true,"taxable":true,"featured_image":{"id":36157063069795,"product_id":7868198256739,"position":13,"created_at":"2026-07-02T17:51:31+08:00","updated_at":"2026-07-02T17:51:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7449eaf678d7c2870de52b2dad9d23084a58b7de.webp?v=1782985893","variant_ids":[43797917401187]},"available":true,"name":"iPhone 17 Pro 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":"NST013523O-KF10","featured_media":{"alt":null,"id":27661930594403,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7449eaf678d7c2870de52b2dad9d23084a58b7de.webp?v=1782985893"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43797917433955,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013520F-KF10","requires_shipping":true,"taxable":true,"featured_image":{"id":36157059072099,"product_id":7868198256739,"position":6,"created_at":"2026-07-02T17:51:26+08:00","updated_at":"2026-07-02T17:51:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ab02a599d579edcec788664ed9d801b0efaa261.webp?v=1782985888","variant_ids":[43797917433955]},"available":true,"name":"iPhone 17 Pro 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":"NST013520F-KF10","featured_media":{"alt":null,"id":27661926793315,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ab02a599d579edcec788664ed9d801b0efaa261.webp?v=1782985888"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44198426148963,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013526A-KF10","requires_shipping":true,"taxable":true,"featured_image":{"id":36157057892451,"product_id":7868198256739,"position":2,"created_at":"2026-07-02T17:51:24+08:00","updated_at":"2026-07-02T17:51:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f48eec711a1dd9edb3aa65809a017e650c923fff.webp?v=1782985886","variant_ids":[44198426148963]},"available":true,"name":"iPhone 17 Pro 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":"NST013526A-KF10","featured_media":{"alt":null,"id":27661925613667,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f48eec711a1dd9edb3aa65809a017e650c923fff.webp?v=1782985886"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44198426706019,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013525X-KF10","requires_shipping":true,"taxable":true,"featured_image":{"id":36157063626851,"product_id":7868198256739,"position":14,"created_at":"2026-07-02T17:51:31+08:00","updated_at":"2026-07-02T17:51:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/294a333122de885c2ed19ced5283bc092da5791a.webp?v=1782985894","variant_ids":[44198426706019]},"available":true,"name":"iPhone 17 Pro 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":"NST013525X-KF10","featured_media":{"alt":null,"id":27661930987619,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/294a333122de885c2ed19ced5283bc092da5791a.webp?v=1782985894"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44198427263075,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013525Y-KF10","requires_shipping":true,"taxable":true,"featured_image":{"id":36157062348899,"product_id":7868198256739,"position":12,"created_at":"2026-07-02T17:51:30+08:00","updated_at":"2026-07-02T17:51:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38fd89f11110e82f5b4013c29f85a9626bf3493a.webp?v=1782985892","variant_ids":[44198427263075]},"available":true,"name":"iPhone 17 Pro 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":"NST013525Y-KF10","featured_media":{"alt":null,"id":27661929644131,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38fd89f11110e82f5b4013c29f85a9626bf3493a.webp?v=1782985892"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44198428016739,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013525Z-KF10","requires_shipping":true,"taxable":true,"featured_image":{"id":36157058351203,"product_id":7868198256739,"position":4,"created_at":"2026-07-02T17:51:25+08:00","updated_at":"2026-07-02T17:51:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2244d0abd7ed6dffa72314cbb9c5a1ce2a44a5c0.webp?v=1782985887","variant_ids":[44198428016739]},"available":true,"name":"iPhone 17 Pro 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":"NST013525Z-KF10","featured_media":{"alt":null,"id":27661926072419,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2244d0abd7ed6dffa72314cbb9c5a1ce2a44a5c0.webp?v=1782985887"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44264091713635,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013525H-KF10","requires_shipping":true,"taxable":true,"featured_image":{"id":36157058711651,"product_id":7868198256739,"position":5,"created_at":"2026-07-02T17:51:26+08:00","updated_at":"2026-07-02T17:51:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30f685268c7429ee933ead103438d42229f16220.webp?v=1782985888","variant_ids":[44264091713635]},"available":true,"name":"iPhone 17 Pro 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":"NST013525H-KF10","featured_media":{"alt":null,"id":27661926432867,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30f685268c7429ee933ead103438d42229f16220.webp?v=1782985888"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-352-KF10.png?v=1756195305","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f48eec711a1dd9edb3aa65809a017e650c923fff.webp?v=1782985886","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd37f29dcbee9a77643acf30a481b5bfa2a3927a.webp?v=1782985887","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2244d0abd7ed6dffa72314cbb9c5a1ce2a44a5c0.webp?v=1782985887","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30f685268c7429ee933ead103438d42229f16220.webp?v=1782985888","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ab02a599d579edcec788664ed9d801b0efaa261.webp?v=1782985888","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ab27343c07310f0658e60138a0b8c23c95a8c6a.webp?v=1782985889","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a37ef148674f22486da92e33404aaf531e74d968.webp?v=1782985890","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6580b93e6098a3419f317a58d66ed9a6c67aa3f.webp?v=1782985890","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca7ca15473d244e109beef9b2615efbde026d31d.webp?v=1782985891","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3470498785097dfc170aca29c5c0065ce4910b08.webp?v=1782985891","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38fd89f11110e82f5b4013c29f85a9626bf3493a.webp?v=1782985892","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7449eaf678d7c2870de52b2dad9d23084a58b7de.webp?v=1782985893","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/294a333122de885c2ed19ced5283bc092da5791a.webp?v=1782985894"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-352-KF10.png?v=1756195305","options":["color"],"media":[{"alt":null,"id":25960969273443,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-352-KF10.png?v=1756195305"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-352-KF10.png?v=1756195305","width":2000},{"alt":null,"id":27661925613667,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f48eec711a1dd9edb3aa65809a017e650c923fff.webp?v=1782985886"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f48eec711a1dd9edb3aa65809a017e650c923fff.webp?v=1782985886","width":2000},{"alt":null,"id":27661925810275,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd37f29dcbee9a77643acf30a481b5bfa2a3927a.webp?v=1782985887"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd37f29dcbee9a77643acf30a481b5bfa2a3927a.webp?v=1782985887","width":2000},{"alt":null,"id":27661926072419,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2244d0abd7ed6dffa72314cbb9c5a1ce2a44a5c0.webp?v=1782985887"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2244d0abd7ed6dffa72314cbb9c5a1ce2a44a5c0.webp?v=1782985887","width":2000},{"alt":null,"id":27661926432867,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30f685268c7429ee933ead103438d42229f16220.webp?v=1782985888"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30f685268c7429ee933ead103438d42229f16220.webp?v=1782985888","width":2000},{"alt":null,"id":27661926793315,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ab02a599d579edcec788664ed9d801b0efaa261.webp?v=1782985888"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ab02a599d579edcec788664ed9d801b0efaa261.webp?v=1782985888","width":2000},{"alt":null,"id":27661927219299,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ab27343c07310f0658e60138a0b8c23c95a8c6a.webp?v=1782985889"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ab27343c07310f0658e60138a0b8c23c95a8c6a.webp?v=1782985889","width":2000},{"alt":null,"id":27661927612515,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a37ef148674f22486da92e33404aaf531e74d968.webp?v=1782985890"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a37ef148674f22486da92e33404aaf531e74d968.webp?v=1782985890","width":2000},{"alt":null,"id":27661928104035,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6580b93e6098a3419f317a58d66ed9a6c67aa3f.webp?v=1782985890"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6580b93e6098a3419f317a58d66ed9a6c67aa3f.webp?v=1782985890","width":2000},{"alt":null,"id":27661928693859,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca7ca15473d244e109beef9b2615efbde026d31d.webp?v=1782985891"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca7ca15473d244e109beef9b2615efbde026d31d.webp?v=1782985891","width":2000},{"alt":null,"id":27661929119843,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3470498785097dfc170aca29c5c0065ce4910b08.webp?v=1782985891"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3470498785097dfc170aca29c5c0065ce4910b08.webp?v=1782985891","width":2000},{"alt":null,"id":27661929644131,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38fd89f11110e82f5b4013c29f85a9626bf3493a.webp?v=1782985892"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38fd89f11110e82f5b4013c29f85a9626bf3493a.webp?v=1782985892","width":2000},{"alt":null,"id":27661930594403,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7449eaf678d7c2870de52b2dad9d23084a58b7de.webp?v=1782985893"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7449eaf678d7c2870de52b2dad9d23084a58b7de.webp?v=1782985893","width":2000},{"alt":null,"id":27661930987619,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/294a333122de885c2ed19ced5283bc092da5791a.webp?v=1782985894"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/294a333122de885c2ed19ced5283bc092da5791a.webp?v=1782985894","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43633643847779,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135252-KF10","requires_shipping":true,"taxable":true,"featured_image":{"id":36157059891299,"product_id":7868198256739,"position":8,"created_at":"2026-07-02T17:51:27+08:00","updated_at":"2026-07-02T17:51:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a37ef148674f22486da92e33404aaf531e74d968.webp?v=1782985890","variant_ids":[43633643847779]},"available":true,"name":"iPhone 17 Pro 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":"NST0135252-KF10","featured_media":{"alt":null,"id":27661927612515,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a37ef148674f22486da92e33404aaf531e74d968.webp?v=1782985890"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43633645682787,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01352O8-KF10","requires_shipping":true,"taxable":true,"featured_image":{"id":36157060972643,"product_id":7868198256739,"position":10,"created_at":"2026-07-02T17:51:29+08:00","updated_at":"2026-07-02T17:51:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca7ca15473d244e109beef9b2615efbde026d31d.webp?v=1782985891","variant_ids":[43633645682787]},"available":true,"name":"iPhone 17 Pro 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":"NST01352O8-KF10","featured_media":{"alt":null,"id":27661928693859,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca7ca15473d244e109beef9b2615efbde026d31d.webp?v=1782985891"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43633645715555,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013520B-KF10","requires_shipping":true,"taxable":true,"featured_image":{"id":36157061824611,"product_id":7868198256739,"position":11,"created_at":"2026-07-02T17:51:29+08:00","updated_at":"2026-07-02T17:51:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3470498785097dfc170aca29c5c0065ce4910b08.webp?v=1782985891","variant_ids":[43633645715555]},"available":true,"name":"iPhone 17 Pro 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":"NST013520B-KF10","featured_media":{"alt":null,"id":27661929119843,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3470498785097dfc170aca29c5c0065ce4910b08.webp?v=1782985891"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43633645748323,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013524I-KF10","requires_shipping":true,"taxable":true,"featured_image":{"id":36157060382819,"product_id":7868198256739,"position":9,"created_at":"2026-07-02T17:51:28+08:00","updated_at":"2026-07-02T17:51:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6580b93e6098a3419f317a58d66ed9a6c67aa3f.webp?v=1782985890","variant_ids":[43633645748323]},"available":true,"name":"iPhone 17 Pro 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":"NST013524I-KF10","featured_media":{"alt":null,"id":27661928104035,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6580b93e6098a3419f317a58d66ed9a6c67aa3f.webp?v=1782985890"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43633645781091,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013524H-KF10","requires_shipping":true,"taxable":true,"featured_image":{"id":36157058089059,"product_id":7868198256739,"position":3,"created_at":"2026-07-02T17:51:24+08:00","updated_at":"2026-07-02T17:51:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd37f29dcbee9a77643acf30a481b5bfa2a3927a.webp?v=1782985887","variant_ids":[43633645781091]},"available":true,"name":"iPhone 17 Pro 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":"NST013524H-KF10","featured_media":{"alt":null,"id":27661925810275,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd37f29dcbee9a77643acf30a481b5bfa2a3927a.webp?v=1782985887"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43633645813859,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135253-KF10","requires_shipping":true,"taxable":true,"featured_image":{"id":36157059498083,"product_id":7868198256739,"position":7,"created_at":"2026-07-02T17:51:27+08:00","updated_at":"2026-07-02T17:51:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ab27343c07310f0658e60138a0b8c23c95a8c6a.webp?v=1782985889","variant_ids":[43633645813859]},"available":true,"name":"iPhone 17 Pro 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":"NST0135253-KF10","featured_media":{"alt":null,"id":27661927219299,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ab27343c07310f0658e60138a0b8c23c95a8c6a.webp?v=1782985889"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43797917401187,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013523O-KF10","requires_shipping":true,"taxable":true,"featured_image":{"id":36157063069795,"product_id":7868198256739,"position":13,"created_at":"2026-07-02T17:51:31+08:00","updated_at":"2026-07-02T17:51:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7449eaf678d7c2870de52b2dad9d23084a58b7de.webp?v=1782985893","variant_ids":[43797917401187]},"available":true,"name":"iPhone 17 Pro 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":"NST013523O-KF10","featured_media":{"alt":null,"id":27661930594403,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7449eaf678d7c2870de52b2dad9d23084a58b7de.webp?v=1782985893"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43797917433955,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013520F-KF10","requires_shipping":true,"taxable":true,"featured_image":{"id":36157059072099,"product_id":7868198256739,"position":6,"created_at":"2026-07-02T17:51:26+08:00","updated_at":"2026-07-02T17:51:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ab02a599d579edcec788664ed9d801b0efaa261.webp?v=1782985888","variant_ids":[43797917433955]},"available":true,"name":"iPhone 17 Pro 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":"NST013520F-KF10","featured_media":{"alt":null,"id":27661926793315,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ab02a599d579edcec788664ed9d801b0efaa261.webp?v=1782985888"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44198426148963,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013526A-KF10","requires_shipping":true,"taxable":true,"featured_image":{"id":36157057892451,"product_id":7868198256739,"position":2,"created_at":"2026-07-02T17:51:24+08:00","updated_at":"2026-07-02T17:51:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f48eec711a1dd9edb3aa65809a017e650c923fff.webp?v=1782985886","variant_ids":[44198426148963]},"available":true,"name":"iPhone 17 Pro 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":"NST013526A-KF10","featured_media":{"alt":null,"id":27661925613667,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f48eec711a1dd9edb3aa65809a017e650c923fff.webp?v=1782985886"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44198426706019,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013525X-KF10","requires_shipping":true,"taxable":true,"featured_image":{"id":36157063626851,"product_id":7868198256739,"position":14,"created_at":"2026-07-02T17:51:31+08:00","updated_at":"2026-07-02T17:51:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/294a333122de885c2ed19ced5283bc092da5791a.webp?v=1782985894","variant_ids":[44198426706019]},"available":true,"name":"iPhone 17 Pro 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":"NST013525X-KF10","featured_media":{"alt":null,"id":27661930987619,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/294a333122de885c2ed19ced5283bc092da5791a.webp?v=1782985894"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44198427263075,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013525Y-KF10","requires_shipping":true,"taxable":true,"featured_image":{"id":36157062348899,"product_id":7868198256739,"position":12,"created_at":"2026-07-02T17:51:30+08:00","updated_at":"2026-07-02T17:51:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38fd89f11110e82f5b4013c29f85a9626bf3493a.webp?v=1782985892","variant_ids":[44198427263075]},"available":true,"name":"iPhone 17 Pro 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":"NST013525Y-KF10","featured_media":{"alt":null,"id":27661929644131,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38fd89f11110e82f5b4013c29f85a9626bf3493a.webp?v=1782985892"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44198428016739,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013525Z-KF10","requires_shipping":true,"taxable":true,"featured_image":{"id":36157058351203,"product_id":7868198256739,"position":4,"created_at":"2026-07-02T17:51:25+08:00","updated_at":"2026-07-02T17:51:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2244d0abd7ed6dffa72314cbb9c5a1ce2a44a5c0.webp?v=1782985887","variant_ids":[44198428016739]},"available":true,"name":"iPhone 17 Pro 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":"NST013525Z-KF10","featured_media":{"alt":null,"id":27661926072419,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2244d0abd7ed6dffa72314cbb9c5a1ce2a44a5c0.webp?v=1782985887"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44264091713635,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013525H-KF10","requires_shipping":true,"taxable":true,"featured_image":{"id":36157058711651,"product_id":7868198256739,"position":5,"created_at":"2026-07-02T17:51:26+08:00","updated_at":"2026-07-02T17:51:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30f685268c7429ee933ead103438d42229f16220.webp?v=1782985888","variant_ids":[44264091713635]},"available":true,"name":"iPhone 17 Pro 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":"NST013525H-KF10","featured_media":{"alt":null,"id":27661926432867,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30f685268c7429ee933ead103438d42229f16220.webp?v=1782985888"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43633643847779,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135252-KF10","requires_shipping":true,"taxable":true,"featured_image":{"id":36157059891299,"product_id":7868198256739,"position":8,"created_at":"2026-07-02T17:51:27+08:00","updated_at":"2026-07-02T17:51:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a37ef148674f22486da92e33404aaf531e74d968.webp?v=1782985890","variant_ids":[43633643847779]},"available":true,"name":"iPhone 17 Pro 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":"NST0135252-KF10","featured_media":{"alt":null,"id":27661927612515,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a37ef148674f22486da92e33404aaf531e74d968.webp?v=1782985890"}},"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: "停產" }