$product = {"id":7868409643107,"title":"iPhone 17 Pro Max SolidX Harry Potter Sticker - 魁地奇","handle":"iphone-17-pro-max-solidx-oo61","description":null,"published_at":"2025-09-10T01:26:45+08:00","created_at":"2025-08-26T16:42:05+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-harry-potter","device-iPhone 17 Pro Max","merge","reseller-harry-potter"],"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":43634900336739,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135352-OO61","requires_shipping":true,"taxable":true,"featured_image":{"id":36156998254691,"product_id":7868409643107,"position":4,"created_at":"2026-07-02T17:47:59+08:00","updated_at":"2026-07-02T17:48:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3f7ff6679d56e8fd12af7f91611adf63e5065c1.webp?v=1782985681","variant_ids":[43634900336739]},"available":true,"name":"iPhone 17 Pro Max SolidX Harry Potter Sticker - 魁地奇 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0135352-OO61","featured_media":{"alt":null,"id":27661865943139,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3f7ff6679d56e8fd12af7f91611adf63e5065c1.webp?v=1782985681"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634901352547,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013534H-OO61","requires_shipping":true,"taxable":true,"featured_image":{"id":36156998778979,"product_id":7868409643107,"position":9,"created_at":"2026-07-02T17:48:02+08:00","updated_at":"2026-07-02T17:48:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1064f172f4892171a2eafcb984e957cd732ab64e.webp?v=1782985684","variant_ids":[43634901352547]},"available":true,"name":"iPhone 17 Pro Max SolidX Harry Potter Sticker - 魁地奇 - Dawn Clay","public_title":"Dawn Clay","options":["Dawn Clay"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013534H-OO61","featured_media":{"alt":null,"id":27661866500195,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1064f172f4892171a2eafcb984e957cd732ab64e.webp?v=1782985684"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634901385315,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013530B-OO61","requires_shipping":true,"taxable":true,"featured_image":{"id":36156998615139,"product_id":7868409643107,"position":7,"created_at":"2026-07-02T17:48:01+08:00","updated_at":"2026-07-02T17:48:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14c96ebed19510b5f584595a4d3788b1cc884175.webp?v=1782985683","variant_ids":[43634901385315]},"available":true,"name":"iPhone 17 Pro Max SolidX Harry Potter Sticker - 魁地奇 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013530B-OO61","featured_media":{"alt":null,"id":27661866336355,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14c96ebed19510b5f584595a4d3788b1cc884175.webp?v=1782985683"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634901418083,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013534I-OO61","requires_shipping":true,"taxable":true,"featured_image":{"id":36156998090851,"product_id":7868409643107,"position":3,"created_at":"2026-07-02T17:47:59+08:00","updated_at":"2026-07-02T17:48:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6f374c16bd4c227c4758d13f898d0ae5df1227d.webp?v=1782985681","variant_ids":[43634901418083]},"available":true,"name":"iPhone 17 Pro Max SolidX Harry Potter Sticker - 魁地奇 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013534I-OO61","featured_media":{"alt":null,"id":27661865812067,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6f374c16bd4c227c4758d13f898d0ae5df1227d.webp?v=1782985681"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634901450851,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135353-OO61","requires_shipping":true,"taxable":true,"featured_image":{"id":36156998877283,"product_id":7868409643107,"position":10,"created_at":"2026-07-02T17:48:02+08:00","updated_at":"2026-07-02T17:48:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e940b18b006da9400426287a2439aa0e13a3f0a3.webp?v=1782985684","variant_ids":[43634901450851]},"available":true,"name":"iPhone 17 Pro Max SolidX Harry Potter Sticker - 魁地奇 - White","public_title":"White","options":["White"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0135353-OO61","featured_media":{"alt":null,"id":27661866598499,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e940b18b006da9400426287a2439aa0e13a3f0a3.webp?v=1782985684"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634901483619,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01353O8-OO61","requires_shipping":true,"taxable":true,"featured_image":{"id":36156998451299,"product_id":7868409643107,"position":6,"created_at":"2026-07-02T17:48:00+08:00","updated_at":"2026-07-02T17:48:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ac2571c43615550d2b3b1ad754011a234377132.webp?v=1782985682","variant_ids":[43634901483619]},"available":true,"name":"iPhone 17 Pro Max SolidX Harry Potter Sticker - 魁地奇 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST01353O8-OO61","featured_media":{"alt":null,"id":27661866172515,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ac2571c43615550d2b3b1ad754011a234377132.webp?v=1782985682"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43799109337187,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013530F-OO61","requires_shipping":true,"taxable":true,"featured_image":{"id":36156999368803,"product_id":7868409643107,"position":14,"created_at":"2026-07-02T17:48:04+08:00","updated_at":"2026-07-02T17:48:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d83e4f1a6afe1a335fa7a30b27920df7d65275fe.webp?v=1782985686","variant_ids":[43799109337187]},"available":true,"name":"iPhone 17 Pro Max SolidX Harry Potter Sticker - 魁地奇 - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013530F-OO61","featured_media":{"alt":null,"id":27661867090019,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d83e4f1a6afe1a335fa7a30b27920df7d65275fe.webp?v=1782985686"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43799109369955,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013533O-OO61","requires_shipping":true,"taxable":true,"featured_image":{"id":36156999139427,"product_id":7868409643107,"position":12,"created_at":"2026-07-02T17:48:03+08:00","updated_at":"2026-07-02T17:48:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1836dcab31b5370d5d60814beabeeaf099dfbb77.webp?v=1782985685","variant_ids":[43799109369955]},"available":true,"name":"iPhone 17 Pro Max SolidX Harry Potter Sticker - 魁地奇 - Ultra Marine","public_title":"Ultra Marine","options":["Ultra Marine"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013533O-OO61","featured_media":{"alt":null,"id":27661866860643,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1836dcab31b5370d5d60814beabeeaf099dfbb77.webp?v=1782985685"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44199787495523,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013536A-OO61","requires_shipping":true,"taxable":true,"featured_image":{"id":36156998713443,"product_id":7868409643107,"position":8,"created_at":"2026-07-02T17:48:01+08:00","updated_at":"2026-07-02T17:48:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbb3267c927a75daeed065edd1a6438dd5e30d01.webp?v=1782985683","variant_ids":[44199787495523]},"available":true,"name":"iPhone 17 Pro Max SolidX Harry Potter Sticker - 魁地奇 - Sunflower Yellow","public_title":"Sunflower Yellow","options":["Sunflower Yellow"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013536A-OO61","featured_media":{"alt":null,"id":27661866434659,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbb3267c927a75daeed065edd1a6438dd5e30d01.webp?v=1782985683"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44199788052579,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013535X-OO61","requires_shipping":true,"taxable":true,"featured_image":{"id":36156997894243,"product_id":7868409643107,"position":2,"created_at":"2026-07-02T17:47:58+08:00","updated_at":"2026-07-02T17:48:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbae9295502e45ccbf7dd073b79266c467bb6d23.webp?v=1782985680","variant_ids":[44199788052579]},"available":true,"name":"iPhone 17 Pro Max SolidX Harry Potter Sticker - 魁地奇 - Sky Blue","public_title":"Sky Blue","options":["Sky Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013535X-OO61","featured_media":{"alt":null,"id":27661865615459,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbae9295502e45ccbf7dd073b79266c467bb6d23.webp?v=1782985680"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44199788380259,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013535Y-OO61","requires_shipping":true,"taxable":true,"featured_image":{"id":36156998352995,"product_id":7868409643107,"position":5,"created_at":"2026-07-02T17:48:00+08:00","updated_at":"2026-07-02T17:48:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f38283e8044b3cb3aba624f1ce324db6837578ab.webp?v=1782985682","variant_ids":[44199788380259]},"available":true,"name":"iPhone 17 Pro Max SolidX Harry Potter Sticker - 魁地奇 - Field Green","public_title":"Field Green","options":["Field Green"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013535Y-OO61","featured_media":{"alt":null,"id":27661866074211,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f38283e8044b3cb3aba624f1ce324db6837578ab.webp?v=1782985682"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44199788773475,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013535Z-OO61","requires_shipping":true,"taxable":true,"featured_image":{"id":36156998975587,"product_id":7868409643107,"position":11,"created_at":"2026-07-02T17:48:03+08:00","updated_at":"2026-07-02T17:48:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4efaaa2c9f9036daa7e89e1aa0fd7825f34a88c7.webp?v=1782985685","variant_ids":[44199788773475]},"available":true,"name":"iPhone 17 Pro Max SolidX Harry Potter Sticker - 魁地奇 - Blossom Pink","public_title":"Blossom Pink","options":["Blossom Pink"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013535Z-OO61","featured_media":{"alt":null,"id":27661866696803,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4efaaa2c9f9036daa7e89e1aa0fd7825f34a88c7.webp?v=1782985685"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263978139747,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013535H-OO61","requires_shipping":true,"taxable":true,"featured_image":{"id":36156999270499,"product_id":7868409643107,"position":13,"created_at":"2026-07-02T17:48:04+08:00","updated_at":"2026-07-02T17:48:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04d294100dba9a05b7a20515ef08601104dc132b.webp?v=1782985686","variant_ids":[44263978139747]},"available":true,"name":"iPhone 17 Pro Max SolidX Harry Potter Sticker - 魁地奇 - Translucent Matte","public_title":"Translucent Matte","options":["Translucent Matte"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013535H-OO61","featured_media":{"alt":null,"id":27661866991715,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04d294100dba9a05b7a20515ef08601104dc132b.webp?v=1782985686"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-353-OO61.png?v=1756197728","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbae9295502e45ccbf7dd073b79266c467bb6d23.webp?v=1782985680","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6f374c16bd4c227c4758d13f898d0ae5df1227d.webp?v=1782985681","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3f7ff6679d56e8fd12af7f91611adf63e5065c1.webp?v=1782985681","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f38283e8044b3cb3aba624f1ce324db6837578ab.webp?v=1782985682","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ac2571c43615550d2b3b1ad754011a234377132.webp?v=1782985682","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14c96ebed19510b5f584595a4d3788b1cc884175.webp?v=1782985683","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbb3267c927a75daeed065edd1a6438dd5e30d01.webp?v=1782985683","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1064f172f4892171a2eafcb984e957cd732ab64e.webp?v=1782985684","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e940b18b006da9400426287a2439aa0e13a3f0a3.webp?v=1782985684","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4efaaa2c9f9036daa7e89e1aa0fd7825f34a88c7.webp?v=1782985685","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1836dcab31b5370d5d60814beabeeaf099dfbb77.webp?v=1782985685","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04d294100dba9a05b7a20515ef08601104dc132b.webp?v=1782985686","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d83e4f1a6afe1a335fa7a30b27920df7d65275fe.webp?v=1782985686"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-353-OO61.png?v=1756197728","options":["color"],"media":[{"alt":null,"id":25961248948323,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-353-OO61.png?v=1756197728"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-353-OO61.png?v=1756197728","width":2000},{"alt":null,"id":27661865615459,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbae9295502e45ccbf7dd073b79266c467bb6d23.webp?v=1782985680"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbae9295502e45ccbf7dd073b79266c467bb6d23.webp?v=1782985680","width":2000},{"alt":null,"id":27661865812067,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6f374c16bd4c227c4758d13f898d0ae5df1227d.webp?v=1782985681"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6f374c16bd4c227c4758d13f898d0ae5df1227d.webp?v=1782985681","width":2000},{"alt":null,"id":27661865943139,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3f7ff6679d56e8fd12af7f91611adf63e5065c1.webp?v=1782985681"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3f7ff6679d56e8fd12af7f91611adf63e5065c1.webp?v=1782985681","width":2000},{"alt":null,"id":27661866074211,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f38283e8044b3cb3aba624f1ce324db6837578ab.webp?v=1782985682"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f38283e8044b3cb3aba624f1ce324db6837578ab.webp?v=1782985682","width":2000},{"alt":null,"id":27661866172515,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ac2571c43615550d2b3b1ad754011a234377132.webp?v=1782985682"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ac2571c43615550d2b3b1ad754011a234377132.webp?v=1782985682","width":2000},{"alt":null,"id":27661866336355,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14c96ebed19510b5f584595a4d3788b1cc884175.webp?v=1782985683"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14c96ebed19510b5f584595a4d3788b1cc884175.webp?v=1782985683","width":2000},{"alt":null,"id":27661866434659,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbb3267c927a75daeed065edd1a6438dd5e30d01.webp?v=1782985683"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbb3267c927a75daeed065edd1a6438dd5e30d01.webp?v=1782985683","width":2000},{"alt":null,"id":27661866500195,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1064f172f4892171a2eafcb984e957cd732ab64e.webp?v=1782985684"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1064f172f4892171a2eafcb984e957cd732ab64e.webp?v=1782985684","width":2000},{"alt":null,"id":27661866598499,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e940b18b006da9400426287a2439aa0e13a3f0a3.webp?v=1782985684"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e940b18b006da9400426287a2439aa0e13a3f0a3.webp?v=1782985684","width":2000},{"alt":null,"id":27661866696803,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4efaaa2c9f9036daa7e89e1aa0fd7825f34a88c7.webp?v=1782985685"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4efaaa2c9f9036daa7e89e1aa0fd7825f34a88c7.webp?v=1782985685","width":2000},{"alt":null,"id":27661866860643,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1836dcab31b5370d5d60814beabeeaf099dfbb77.webp?v=1782985685"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1836dcab31b5370d5d60814beabeeaf099dfbb77.webp?v=1782985685","width":2000},{"alt":null,"id":27661866991715,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04d294100dba9a05b7a20515ef08601104dc132b.webp?v=1782985686"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04d294100dba9a05b7a20515ef08601104dc132b.webp?v=1782985686","width":2000},{"alt":null,"id":27661867090019,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d83e4f1a6afe1a335fa7a30b27920df7d65275fe.webp?v=1782985686"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d83e4f1a6afe1a335fa7a30b27920df7d65275fe.webp?v=1782985686","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43634900336739,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135352-OO61","requires_shipping":true,"taxable":true,"featured_image":{"id":36156998254691,"product_id":7868409643107,"position":4,"created_at":"2026-07-02T17:47:59+08:00","updated_at":"2026-07-02T17:48:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3f7ff6679d56e8fd12af7f91611adf63e5065c1.webp?v=1782985681","variant_ids":[43634900336739]},"available":true,"name":"iPhone 17 Pro Max SolidX Harry Potter Sticker - 魁地奇 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0135352-OO61","featured_media":{"alt":null,"id":27661865943139,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3f7ff6679d56e8fd12af7f91611adf63e5065c1.webp?v=1782985681"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634901352547,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013534H-OO61","requires_shipping":true,"taxable":true,"featured_image":{"id":36156998778979,"product_id":7868409643107,"position":9,"created_at":"2026-07-02T17:48:02+08:00","updated_at":"2026-07-02T17:48:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1064f172f4892171a2eafcb984e957cd732ab64e.webp?v=1782985684","variant_ids":[43634901352547]},"available":true,"name":"iPhone 17 Pro Max SolidX Harry Potter Sticker - 魁地奇 - Dawn Clay","public_title":"Dawn Clay","options":["Dawn Clay"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013534H-OO61","featured_media":{"alt":null,"id":27661866500195,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1064f172f4892171a2eafcb984e957cd732ab64e.webp?v=1782985684"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634901385315,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013530B-OO61","requires_shipping":true,"taxable":true,"featured_image":{"id":36156998615139,"product_id":7868409643107,"position":7,"created_at":"2026-07-02T17:48:01+08:00","updated_at":"2026-07-02T17:48:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14c96ebed19510b5f584595a4d3788b1cc884175.webp?v=1782985683","variant_ids":[43634901385315]},"available":true,"name":"iPhone 17 Pro Max SolidX Harry Potter Sticker - 魁地奇 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013530B-OO61","featured_media":{"alt":null,"id":27661866336355,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14c96ebed19510b5f584595a4d3788b1cc884175.webp?v=1782985683"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634901418083,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013534I-OO61","requires_shipping":true,"taxable":true,"featured_image":{"id":36156998090851,"product_id":7868409643107,"position":3,"created_at":"2026-07-02T17:47:59+08:00","updated_at":"2026-07-02T17:48:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6f374c16bd4c227c4758d13f898d0ae5df1227d.webp?v=1782985681","variant_ids":[43634901418083]},"available":true,"name":"iPhone 17 Pro Max SolidX Harry Potter Sticker - 魁地奇 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013534I-OO61","featured_media":{"alt":null,"id":27661865812067,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6f374c16bd4c227c4758d13f898d0ae5df1227d.webp?v=1782985681"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634901450851,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135353-OO61","requires_shipping":true,"taxable":true,"featured_image":{"id":36156998877283,"product_id":7868409643107,"position":10,"created_at":"2026-07-02T17:48:02+08:00","updated_at":"2026-07-02T17:48:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e940b18b006da9400426287a2439aa0e13a3f0a3.webp?v=1782985684","variant_ids":[43634901450851]},"available":true,"name":"iPhone 17 Pro Max SolidX Harry Potter Sticker - 魁地奇 - White","public_title":"White","options":["White"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0135353-OO61","featured_media":{"alt":null,"id":27661866598499,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e940b18b006da9400426287a2439aa0e13a3f0a3.webp?v=1782985684"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634901483619,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01353O8-OO61","requires_shipping":true,"taxable":true,"featured_image":{"id":36156998451299,"product_id":7868409643107,"position":6,"created_at":"2026-07-02T17:48:00+08:00","updated_at":"2026-07-02T17:48:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ac2571c43615550d2b3b1ad754011a234377132.webp?v=1782985682","variant_ids":[43634901483619]},"available":true,"name":"iPhone 17 Pro Max SolidX Harry Potter Sticker - 魁地奇 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST01353O8-OO61","featured_media":{"alt":null,"id":27661866172515,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ac2571c43615550d2b3b1ad754011a234377132.webp?v=1782985682"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43799109337187,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013530F-OO61","requires_shipping":true,"taxable":true,"featured_image":{"id":36156999368803,"product_id":7868409643107,"position":14,"created_at":"2026-07-02T17:48:04+08:00","updated_at":"2026-07-02T17:48:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d83e4f1a6afe1a335fa7a30b27920df7d65275fe.webp?v=1782985686","variant_ids":[43799109337187]},"available":true,"name":"iPhone 17 Pro Max SolidX Harry Potter Sticker - 魁地奇 - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013530F-OO61","featured_media":{"alt":null,"id":27661867090019,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d83e4f1a6afe1a335fa7a30b27920df7d65275fe.webp?v=1782985686"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43799109369955,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013533O-OO61","requires_shipping":true,"taxable":true,"featured_image":{"id":36156999139427,"product_id":7868409643107,"position":12,"created_at":"2026-07-02T17:48:03+08:00","updated_at":"2026-07-02T17:48:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1836dcab31b5370d5d60814beabeeaf099dfbb77.webp?v=1782985685","variant_ids":[43799109369955]},"available":true,"name":"iPhone 17 Pro Max SolidX Harry Potter Sticker - 魁地奇 - Ultra Marine","public_title":"Ultra Marine","options":["Ultra Marine"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013533O-OO61","featured_media":{"alt":null,"id":27661866860643,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1836dcab31b5370d5d60814beabeeaf099dfbb77.webp?v=1782985685"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44199787495523,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013536A-OO61","requires_shipping":true,"taxable":true,"featured_image":{"id":36156998713443,"product_id":7868409643107,"position":8,"created_at":"2026-07-02T17:48:01+08:00","updated_at":"2026-07-02T17:48:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbb3267c927a75daeed065edd1a6438dd5e30d01.webp?v=1782985683","variant_ids":[44199787495523]},"available":true,"name":"iPhone 17 Pro Max SolidX Harry Potter Sticker - 魁地奇 - Sunflower Yellow","public_title":"Sunflower Yellow","options":["Sunflower Yellow"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013536A-OO61","featured_media":{"alt":null,"id":27661866434659,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbb3267c927a75daeed065edd1a6438dd5e30d01.webp?v=1782985683"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44199788052579,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013535X-OO61","requires_shipping":true,"taxable":true,"featured_image":{"id":36156997894243,"product_id":7868409643107,"position":2,"created_at":"2026-07-02T17:47:58+08:00","updated_at":"2026-07-02T17:48:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbae9295502e45ccbf7dd073b79266c467bb6d23.webp?v=1782985680","variant_ids":[44199788052579]},"available":true,"name":"iPhone 17 Pro Max SolidX Harry Potter Sticker - 魁地奇 - Sky Blue","public_title":"Sky Blue","options":["Sky Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013535X-OO61","featured_media":{"alt":null,"id":27661865615459,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbae9295502e45ccbf7dd073b79266c467bb6d23.webp?v=1782985680"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44199788380259,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013535Y-OO61","requires_shipping":true,"taxable":true,"featured_image":{"id":36156998352995,"product_id":7868409643107,"position":5,"created_at":"2026-07-02T17:48:00+08:00","updated_at":"2026-07-02T17:48:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f38283e8044b3cb3aba624f1ce324db6837578ab.webp?v=1782985682","variant_ids":[44199788380259]},"available":true,"name":"iPhone 17 Pro Max SolidX Harry Potter Sticker - 魁地奇 - Field Green","public_title":"Field Green","options":["Field Green"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013535Y-OO61","featured_media":{"alt":null,"id":27661866074211,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f38283e8044b3cb3aba624f1ce324db6837578ab.webp?v=1782985682"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44199788773475,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013535Z-OO61","requires_shipping":true,"taxable":true,"featured_image":{"id":36156998975587,"product_id":7868409643107,"position":11,"created_at":"2026-07-02T17:48:03+08:00","updated_at":"2026-07-02T17:48:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4efaaa2c9f9036daa7e89e1aa0fd7825f34a88c7.webp?v=1782985685","variant_ids":[44199788773475]},"available":true,"name":"iPhone 17 Pro Max SolidX Harry Potter Sticker - 魁地奇 - Blossom Pink","public_title":"Blossom Pink","options":["Blossom Pink"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013535Z-OO61","featured_media":{"alt":null,"id":27661866696803,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4efaaa2c9f9036daa7e89e1aa0fd7825f34a88c7.webp?v=1782985685"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44263978139747,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013535H-OO61","requires_shipping":true,"taxable":true,"featured_image":{"id":36156999270499,"product_id":7868409643107,"position":13,"created_at":"2026-07-02T17:48:04+08:00","updated_at":"2026-07-02T17:48:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04d294100dba9a05b7a20515ef08601104dc132b.webp?v=1782985686","variant_ids":[44263978139747]},"available":true,"name":"iPhone 17 Pro Max SolidX Harry Potter Sticker - 魁地奇 - Translucent Matte","public_title":"Translucent Matte","options":["Translucent Matte"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013535H-OO61","featured_media":{"alt":null,"id":27661866991715,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04d294100dba9a05b7a20515ef08601104dc132b.webp?v=1782985686"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43634900336739,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135352-OO61","requires_shipping":true,"taxable":true,"featured_image":{"id":36156998254691,"product_id":7868409643107,"position":4,"created_at":"2026-07-02T17:47:59+08:00","updated_at":"2026-07-02T17:48:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3f7ff6679d56e8fd12af7f91611adf63e5065c1.webp?v=1782985681","variant_ids":[43634900336739]},"available":true,"name":"iPhone 17 Pro Max SolidX Harry Potter Sticker - 魁地奇 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0135352-OO61","featured_media":{"alt":null,"id":27661865943139,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3f7ff6679d56e8fd12af7f91611adf63e5065c1.webp?v=1782985681"}},"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: "停產"
}