$product = {"id":8099895378019,"title":"iPhone 17 Pro SolidX 【獨家設計】 Pattern Play 棋盤圓點","handle":"iphone-17-pro-solidx-bg16","description":null,"published_at":"2026-08-10T09:59:17+08:00","created_at":"2026-08-06T14:12:03+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer-pattern-play","device-iPhone 17 Pro","discountable-item","merge","original-design","reseller-pattern-play"],"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":44451239460963,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013520B-BG16","requires_shipping":true,"taxable":true,"featured_image":{"id":36496872046691,"product_id":8099895378019,"position":9,"created_at":"2026-08-06T14:12:52+08:00","updated_at":"2026-08-06T14:12:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e6eaa24bdca8f31fefeac7f06ad072d7d38beba.webp?v=1785996773","variant_ids":[44451239460963]},"available":true,"name":"iPhone 17 Pro SolidX 【獨家設計】 Pattern Play 棋盤圓點 - 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-BG16","featured_media":{"alt":null,"id":28000155336803,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e6eaa24bdca8f31fefeac7f06ad072d7d38beba.webp?v=1785996773"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451251945571,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013526A-BG16","requires_shipping":true,"taxable":true,"featured_image":{"id":36496873357411,"product_id":8099895378019,"position":12,"created_at":"2026-08-06T14:12:53+08:00","updated_at":"2026-08-06T14:12:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5cce2957530d021abd0af33f86020576ae118ae.webp?v=1785996775","variant_ids":[44451251945571]},"available":true,"name":"iPhone 17 Pro SolidX 【獨家設計】 Pattern Play 棋盤圓點 - 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-BG16","featured_media":{"alt":null,"id":28000156549219,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5cce2957530d021abd0af33f86020576ae118ae.webp?v=1785996775"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451252306019,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013525Z-BG16","requires_shipping":true,"taxable":true,"featured_image":{"id":36496871587939,"product_id":8099895378019,"position":8,"created_at":"2026-08-06T14:12:51+08:00","updated_at":"2026-08-06T14:12:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25239def38809ccaa3546b0432a32e9bf5b72894.webp?v=1785996773","variant_ids":[44451252306019]},"available":true,"name":"iPhone 17 Pro SolidX 【獨家設計】 Pattern Play 棋盤圓點 - 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-BG16","featured_media":{"alt":null,"id":28000154878051,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25239def38809ccaa3546b0432a32e9bf5b72894.webp?v=1785996773"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451252535395,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013525Y-BG16","requires_shipping":true,"taxable":true,"featured_image":{"id":36496872996963,"product_id":8099895378019,"position":11,"created_at":"2026-08-06T14:12:53+08:00","updated_at":"2026-08-06T14:12:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/283da9d20b092f84a9229049eebd0409f9d704d5.webp?v=1785996774","variant_ids":[44451252535395]},"available":true,"name":"iPhone 17 Pro SolidX 【獨家設計】 Pattern Play 棋盤圓點 - 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-BG16","featured_media":{"alt":null,"id":28000156188771,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/283da9d20b092f84a9229049eebd0409f9d704d5.webp?v=1785996774"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451253223523,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013525X-BG16","requires_shipping":true,"taxable":true,"featured_image":{"id":36496872570979,"product_id":8099895378019,"position":10,"created_at":"2026-08-06T14:12:52+08:00","updated_at":"2026-08-06T14:12:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8fd1a2769b7ccf6483c550904fa21ffb36b15291.webp?v=1785996774","variant_ids":[44451253223523]},"available":true,"name":"iPhone 17 Pro SolidX 【獨家設計】 Pattern Play 棋盤圓點 - 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-BG16","featured_media":{"alt":null,"id":28000155828323,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8fd1a2769b7ccf6483c550904fa21ffb36b15291.webp?v=1785996774"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451253551203,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013525H-BG16","requires_shipping":true,"taxable":true,"featured_image":{"id":36496871161955,"product_id":8099895378019,"position":7,"created_at":"2026-08-06T14:12:50+08:00","updated_at":"2026-08-06T14:12:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/105a9dfd01b6c07cf4b65f4be2330c997a01f78c.webp?v=1785996772","variant_ids":[44451253551203]},"available":true,"name":"iPhone 17 Pro SolidX 【獨家設計】 Pattern Play 棋盤圓點 - 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-BG16","featured_media":{"alt":null,"id":28000154320995,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/105a9dfd01b6c07cf4b65f4be2330c997a01f78c.webp?v=1785996772"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451254075491,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013524I-BG16","requires_shipping":true,"taxable":true,"featured_image":{"id":36496869032035,"product_id":8099895378019,"position":2,"created_at":"2026-08-06T14:12:48+08:00","updated_at":"2026-08-06T14:12:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d70497b4e3afdfc8a158e1be9d7a66620bd83a0a.webp?v=1785996770","variant_ids":[44451254075491]},"available":true,"name":"iPhone 17 Pro SolidX 【獨家設計】 Pattern Play 棋盤圓點 - 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-BG16","featured_media":{"alt":null,"id":28000152322147,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d70497b4e3afdfc8a158e1be9d7a66620bd83a0a.webp?v=1785996770"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451254403171,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013524H-BG16","requires_shipping":true,"taxable":true,"featured_image":{"id":36496869556323,"product_id":8099895378019,"position":3,"created_at":"2026-08-06T14:12:48+08:00","updated_at":"2026-08-06T14:12:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99c117a988d31a77de8eb8ea84b70b9832fd5d22.webp?v=1785996770","variant_ids":[44451254403171]},"available":true,"name":"iPhone 17 Pro SolidX 【獨家設計】 Pattern Play 棋盤圓點 - 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-BG16","featured_media":{"alt":null,"id":28000152748131,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99c117a988d31a77de8eb8ea84b70b9832fd5d22.webp?v=1785996770"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451254927459,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013523O-BG16","requires_shipping":true,"taxable":true,"featured_image":{"id":36496873717859,"product_id":8099895378019,"position":13,"created_at":"2026-08-06T14:12:54+08:00","updated_at":"2026-08-06T14:12:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07f7173e66b5e0e50615833374bc079248df7530.webp?v=1785996775","variant_ids":[44451254927459]},"available":true,"name":"iPhone 17 Pro SolidX 【獨家設計】 Pattern Play 棋盤圓點 - 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-BG16","featured_media":{"alt":null,"id":28000156909667,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07f7173e66b5e0e50615833374bc079248df7530.webp?v=1785996775"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451255287907,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013520F-BG16","requires_shipping":true,"taxable":true,"featured_image":{"id":36496870768739,"product_id":8099895378019,"position":6,"created_at":"2026-08-06T14:12:50+08:00","updated_at":"2026-08-06T14:12:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5871875a32d95a7805fca6c03512f8fe7647780.webp?v=1785996772","variant_ids":[44451255287907]},"available":true,"name":"iPhone 17 Pro SolidX 【獨家設計】 Pattern Play 棋盤圓點 - 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-BG16","featured_media":{"alt":null,"id":28000153993315,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5871875a32d95a7805fca6c03512f8fe7647780.webp?v=1785996772"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451255615587,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135252-BG16","requires_shipping":true,"taxable":true,"featured_image":{"id":36496868540515,"product_id":8099895378019,"position":1,"created_at":"2026-08-06T14:12:47+08:00","updated_at":"2026-08-06T14:12:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22322bbb1188eae9b05c7afb8b6a342049f806ba.webp?v=1785996769","variant_ids":[44451255615587]},"available":true,"name":"iPhone 17 Pro SolidX 【獨家設計】 Pattern Play 棋盤圓點 - 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-BG16","featured_media":{"alt":null,"id":28000151765091,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22322bbb1188eae9b05c7afb8b6a342049f806ba.webp?v=1785996769"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451255779427,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01352O8-BG16","requires_shipping":true,"taxable":true,"featured_image":{"id":36496869949539,"product_id":8099895378019,"position":4,"created_at":"2026-08-06T14:12:49+08:00","updated_at":"2026-08-06T14:12:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be644a286548ff64216e138a5934c48991b099ce.webp?v=1785996771","variant_ids":[44451255779427]},"available":true,"name":"iPhone 17 Pro SolidX 【獨家設計】 Pattern Play 棋盤圓點 - 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-BG16","featured_media":{"alt":null,"id":28000153206883,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be644a286548ff64216e138a5934c48991b099ce.webp?v=1785996771"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451256107107,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135253-BG16","requires_shipping":true,"taxable":true,"featured_image":{"id":36496870441059,"product_id":8099895378019,"position":5,"created_at":"2026-08-06T14:12:49+08:00","updated_at":"2026-08-06T14:12:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edd328ce1c7fd6ead9fcacdd85f3ee7a392d2af7.webp?v=1785996771","variant_ids":[44451256107107]},"available":true,"name":"iPhone 17 Pro SolidX 【獨家設計】 Pattern Play 棋盤圓點 - 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-BG16","featured_media":{"alt":null,"id":28000153698403,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edd328ce1c7fd6ead9fcacdd85f3ee7a392d2af7.webp?v=1785996771"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22322bbb1188eae9b05c7afb8b6a342049f806ba.webp?v=1785996769","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d70497b4e3afdfc8a158e1be9d7a66620bd83a0a.webp?v=1785996770","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99c117a988d31a77de8eb8ea84b70b9832fd5d22.webp?v=1785996770","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be644a286548ff64216e138a5934c48991b099ce.webp?v=1785996771","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edd328ce1c7fd6ead9fcacdd85f3ee7a392d2af7.webp?v=1785996771","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5871875a32d95a7805fca6c03512f8fe7647780.webp?v=1785996772","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/105a9dfd01b6c07cf4b65f4be2330c997a01f78c.webp?v=1785996772","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25239def38809ccaa3546b0432a32e9bf5b72894.webp?v=1785996773","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e6eaa24bdca8f31fefeac7f06ad072d7d38beba.webp?v=1785996773","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8fd1a2769b7ccf6483c550904fa21ffb36b15291.webp?v=1785996774","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/283da9d20b092f84a9229049eebd0409f9d704d5.webp?v=1785996774","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5cce2957530d021abd0af33f86020576ae118ae.webp?v=1785996775","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07f7173e66b5e0e50615833374bc079248df7530.webp?v=1785996775"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22322bbb1188eae9b05c7afb8b6a342049f806ba.webp?v=1785996769","options":["color"],"media":[{"alt":null,"id":28000151765091,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22322bbb1188eae9b05c7afb8b6a342049f806ba.webp?v=1785996769"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22322bbb1188eae9b05c7afb8b6a342049f806ba.webp?v=1785996769","width":2000},{"alt":null,"id":28000152322147,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d70497b4e3afdfc8a158e1be9d7a66620bd83a0a.webp?v=1785996770"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d70497b4e3afdfc8a158e1be9d7a66620bd83a0a.webp?v=1785996770","width":2000},{"alt":null,"id":28000152748131,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99c117a988d31a77de8eb8ea84b70b9832fd5d22.webp?v=1785996770"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99c117a988d31a77de8eb8ea84b70b9832fd5d22.webp?v=1785996770","width":2000},{"alt":null,"id":28000153206883,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be644a286548ff64216e138a5934c48991b099ce.webp?v=1785996771"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be644a286548ff64216e138a5934c48991b099ce.webp?v=1785996771","width":2000},{"alt":null,"id":28000153698403,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edd328ce1c7fd6ead9fcacdd85f3ee7a392d2af7.webp?v=1785996771"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edd328ce1c7fd6ead9fcacdd85f3ee7a392d2af7.webp?v=1785996771","width":2000},{"alt":null,"id":28000153993315,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5871875a32d95a7805fca6c03512f8fe7647780.webp?v=1785996772"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5871875a32d95a7805fca6c03512f8fe7647780.webp?v=1785996772","width":2000},{"alt":null,"id":28000154320995,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/105a9dfd01b6c07cf4b65f4be2330c997a01f78c.webp?v=1785996772"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/105a9dfd01b6c07cf4b65f4be2330c997a01f78c.webp?v=1785996772","width":2000},{"alt":null,"id":28000154878051,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25239def38809ccaa3546b0432a32e9bf5b72894.webp?v=1785996773"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25239def38809ccaa3546b0432a32e9bf5b72894.webp?v=1785996773","width":2000},{"alt":null,"id":28000155336803,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e6eaa24bdca8f31fefeac7f06ad072d7d38beba.webp?v=1785996773"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e6eaa24bdca8f31fefeac7f06ad072d7d38beba.webp?v=1785996773","width":2000},{"alt":null,"id":28000155828323,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8fd1a2769b7ccf6483c550904fa21ffb36b15291.webp?v=1785996774"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8fd1a2769b7ccf6483c550904fa21ffb36b15291.webp?v=1785996774","width":2000},{"alt":null,"id":28000156188771,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/283da9d20b092f84a9229049eebd0409f9d704d5.webp?v=1785996774"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/283da9d20b092f84a9229049eebd0409f9d704d5.webp?v=1785996774","width":2000},{"alt":null,"id":28000156549219,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5cce2957530d021abd0af33f86020576ae118ae.webp?v=1785996775"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5cce2957530d021abd0af33f86020576ae118ae.webp?v=1785996775","width":2000},{"alt":null,"id":28000156909667,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07f7173e66b5e0e50615833374bc079248df7530.webp?v=1785996775"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07f7173e66b5e0e50615833374bc079248df7530.webp?v=1785996775","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":44451239460963,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013520B-BG16","requires_shipping":true,"taxable":true,"featured_image":{"id":36496872046691,"product_id":8099895378019,"position":9,"created_at":"2026-08-06T14:12:52+08:00","updated_at":"2026-08-06T14:12:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e6eaa24bdca8f31fefeac7f06ad072d7d38beba.webp?v=1785996773","variant_ids":[44451239460963]},"available":true,"name":"iPhone 17 Pro SolidX 【獨家設計】 Pattern Play 棋盤圓點 - 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-BG16","featured_media":{"alt":null,"id":28000155336803,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e6eaa24bdca8f31fefeac7f06ad072d7d38beba.webp?v=1785996773"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451251945571,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013526A-BG16","requires_shipping":true,"taxable":true,"featured_image":{"id":36496873357411,"product_id":8099895378019,"position":12,"created_at":"2026-08-06T14:12:53+08:00","updated_at":"2026-08-06T14:12:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5cce2957530d021abd0af33f86020576ae118ae.webp?v=1785996775","variant_ids":[44451251945571]},"available":true,"name":"iPhone 17 Pro SolidX 【獨家設計】 Pattern Play 棋盤圓點 - 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-BG16","featured_media":{"alt":null,"id":28000156549219,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5cce2957530d021abd0af33f86020576ae118ae.webp?v=1785996775"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451252306019,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013525Z-BG16","requires_shipping":true,"taxable":true,"featured_image":{"id":36496871587939,"product_id":8099895378019,"position":8,"created_at":"2026-08-06T14:12:51+08:00","updated_at":"2026-08-06T14:12:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25239def38809ccaa3546b0432a32e9bf5b72894.webp?v=1785996773","variant_ids":[44451252306019]},"available":true,"name":"iPhone 17 Pro SolidX 【獨家設計】 Pattern Play 棋盤圓點 - 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-BG16","featured_media":{"alt":null,"id":28000154878051,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25239def38809ccaa3546b0432a32e9bf5b72894.webp?v=1785996773"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451252535395,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013525Y-BG16","requires_shipping":true,"taxable":true,"featured_image":{"id":36496872996963,"product_id":8099895378019,"position":11,"created_at":"2026-08-06T14:12:53+08:00","updated_at":"2026-08-06T14:12:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/283da9d20b092f84a9229049eebd0409f9d704d5.webp?v=1785996774","variant_ids":[44451252535395]},"available":true,"name":"iPhone 17 Pro SolidX 【獨家設計】 Pattern Play 棋盤圓點 - 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-BG16","featured_media":{"alt":null,"id":28000156188771,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/283da9d20b092f84a9229049eebd0409f9d704d5.webp?v=1785996774"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451253223523,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013525X-BG16","requires_shipping":true,"taxable":true,"featured_image":{"id":36496872570979,"product_id":8099895378019,"position":10,"created_at":"2026-08-06T14:12:52+08:00","updated_at":"2026-08-06T14:12:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8fd1a2769b7ccf6483c550904fa21ffb36b15291.webp?v=1785996774","variant_ids":[44451253223523]},"available":true,"name":"iPhone 17 Pro SolidX 【獨家設計】 Pattern Play 棋盤圓點 - 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-BG16","featured_media":{"alt":null,"id":28000155828323,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8fd1a2769b7ccf6483c550904fa21ffb36b15291.webp?v=1785996774"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451253551203,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013525H-BG16","requires_shipping":true,"taxable":true,"featured_image":{"id":36496871161955,"product_id":8099895378019,"position":7,"created_at":"2026-08-06T14:12:50+08:00","updated_at":"2026-08-06T14:12:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/105a9dfd01b6c07cf4b65f4be2330c997a01f78c.webp?v=1785996772","variant_ids":[44451253551203]},"available":true,"name":"iPhone 17 Pro SolidX 【獨家設計】 Pattern Play 棋盤圓點 - 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-BG16","featured_media":{"alt":null,"id":28000154320995,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/105a9dfd01b6c07cf4b65f4be2330c997a01f78c.webp?v=1785996772"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451254075491,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013524I-BG16","requires_shipping":true,"taxable":true,"featured_image":{"id":36496869032035,"product_id":8099895378019,"position":2,"created_at":"2026-08-06T14:12:48+08:00","updated_at":"2026-08-06T14:12:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d70497b4e3afdfc8a158e1be9d7a66620bd83a0a.webp?v=1785996770","variant_ids":[44451254075491]},"available":true,"name":"iPhone 17 Pro SolidX 【獨家設計】 Pattern Play 棋盤圓點 - 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-BG16","featured_media":{"alt":null,"id":28000152322147,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d70497b4e3afdfc8a158e1be9d7a66620bd83a0a.webp?v=1785996770"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451254403171,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013524H-BG16","requires_shipping":true,"taxable":true,"featured_image":{"id":36496869556323,"product_id":8099895378019,"position":3,"created_at":"2026-08-06T14:12:48+08:00","updated_at":"2026-08-06T14:12:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99c117a988d31a77de8eb8ea84b70b9832fd5d22.webp?v=1785996770","variant_ids":[44451254403171]},"available":true,"name":"iPhone 17 Pro SolidX 【獨家設計】 Pattern Play 棋盤圓點 - 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-BG16","featured_media":{"alt":null,"id":28000152748131,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99c117a988d31a77de8eb8ea84b70b9832fd5d22.webp?v=1785996770"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451254927459,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013523O-BG16","requires_shipping":true,"taxable":true,"featured_image":{"id":36496873717859,"product_id":8099895378019,"position":13,"created_at":"2026-08-06T14:12:54+08:00","updated_at":"2026-08-06T14:12:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07f7173e66b5e0e50615833374bc079248df7530.webp?v=1785996775","variant_ids":[44451254927459]},"available":true,"name":"iPhone 17 Pro SolidX 【獨家設計】 Pattern Play 棋盤圓點 - 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-BG16","featured_media":{"alt":null,"id":28000156909667,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07f7173e66b5e0e50615833374bc079248df7530.webp?v=1785996775"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451255287907,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013520F-BG16","requires_shipping":true,"taxable":true,"featured_image":{"id":36496870768739,"product_id":8099895378019,"position":6,"created_at":"2026-08-06T14:12:50+08:00","updated_at":"2026-08-06T14:12:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5871875a32d95a7805fca6c03512f8fe7647780.webp?v=1785996772","variant_ids":[44451255287907]},"available":true,"name":"iPhone 17 Pro SolidX 【獨家設計】 Pattern Play 棋盤圓點 - 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-BG16","featured_media":{"alt":null,"id":28000153993315,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5871875a32d95a7805fca6c03512f8fe7647780.webp?v=1785996772"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451255615587,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135252-BG16","requires_shipping":true,"taxable":true,"featured_image":{"id":36496868540515,"product_id":8099895378019,"position":1,"created_at":"2026-08-06T14:12:47+08:00","updated_at":"2026-08-06T14:12:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22322bbb1188eae9b05c7afb8b6a342049f806ba.webp?v=1785996769","variant_ids":[44451255615587]},"available":true,"name":"iPhone 17 Pro SolidX 【獨家設計】 Pattern Play 棋盤圓點 - 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-BG16","featured_media":{"alt":null,"id":28000151765091,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22322bbb1188eae9b05c7afb8b6a342049f806ba.webp?v=1785996769"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451255779427,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01352O8-BG16","requires_shipping":true,"taxable":true,"featured_image":{"id":36496869949539,"product_id":8099895378019,"position":4,"created_at":"2026-08-06T14:12:49+08:00","updated_at":"2026-08-06T14:12:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be644a286548ff64216e138a5934c48991b099ce.webp?v=1785996771","variant_ids":[44451255779427]},"available":true,"name":"iPhone 17 Pro SolidX 【獨家設計】 Pattern Play 棋盤圓點 - 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-BG16","featured_media":{"alt":null,"id":28000153206883,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be644a286548ff64216e138a5934c48991b099ce.webp?v=1785996771"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451256107107,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135253-BG16","requires_shipping":true,"taxable":true,"featured_image":{"id":36496870441059,"product_id":8099895378019,"position":5,"created_at":"2026-08-06T14:12:49+08:00","updated_at":"2026-08-06T14:12:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edd328ce1c7fd6ead9fcacdd85f3ee7a392d2af7.webp?v=1785996771","variant_ids":[44451256107107]},"available":true,"name":"iPhone 17 Pro SolidX 【獨家設計】 Pattern Play 棋盤圓點 - 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-BG16","featured_media":{"alt":null,"id":28000153698403,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edd328ce1c7fd6ead9fcacdd85f3ee7a392d2af7.webp?v=1785996771"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":44451239460963,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013520B-BG16","requires_shipping":true,"taxable":true,"featured_image":{"id":36496872046691,"product_id":8099895378019,"position":9,"created_at":"2026-08-06T14:12:52+08:00","updated_at":"2026-08-06T14:12:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e6eaa24bdca8f31fefeac7f06ad072d7d38beba.webp?v=1785996773","variant_ids":[44451239460963]},"available":true,"name":"iPhone 17 Pro SolidX 【獨家設計】 Pattern Play 棋盤圓點 - 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-BG16","featured_media":{"alt":null,"id":28000155336803,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e6eaa24bdca8f31fefeac7f06ad072d7d38beba.webp?v=1785996773"}},"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: "停產"
}