$product = {"id":8099895902307,"title":"iPhone 17 Pro SolidX 【獨家設計】 Pattern Play 圓點蕾絲","handle":"iphone-17-pro-solidx-bg23","description":null,"published_at":"2026-08-10T09:59:12+08:00","created_at":"2026-08-06T14:12:15+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":44451241263203,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013520B-BG23","requires_shipping":true,"taxable":true,"featured_image":{"id":36496878731363,"product_id":8099895902307,"position":12,"created_at":"2026-08-06T14:13:20+08:00","updated_at":"2026-08-06T14:13:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f8012be0056d8a8a4efe191fd4e3ba30d9006df3.webp?v=1785996802","variant_ids":[44451241263203]},"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-BG23","featured_media":{"alt":null,"id":28000161988707,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f8012be0056d8a8a4efe191fd4e3ba30d9006df3.webp?v=1785996802"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451260268643,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013526A-BG23","requires_shipping":true,"taxable":true,"featured_image":{"id":36496877486179,"product_id":8099895902307,"position":8,"created_at":"2026-08-06T14:13:16+08:00","updated_at":"2026-08-06T14:13:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79b04102185192f1a99b56baefdfdf027944f0ee.webp?v=1785996798","variant_ids":[44451260268643]},"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-BG23","featured_media":{"alt":null,"id":28000160743523,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79b04102185192f1a99b56baefdfdf027944f0ee.webp?v=1785996798"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451260465251,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013525Z-BG23","requires_shipping":true,"taxable":true,"featured_image":{"id":36496878305379,"product_id":8099895902307,"position":11,"created_at":"2026-08-06T14:13:19+08:00","updated_at":"2026-08-06T14:13:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee10cb31982303ceac762903bacddfe98d7e59e7.webp?v=1785996801","variant_ids":[44451260465251]},"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-BG23","featured_media":{"alt":null,"id":28000161562723,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee10cb31982303ceac762903bacddfe98d7e59e7.webp?v=1785996801"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451260694627,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013525Y-BG23","requires_shipping":true,"taxable":true,"featured_image":{"id":36496877256803,"product_id":8099895902307,"position":7,"created_at":"2026-08-06T14:13:15+08:00","updated_at":"2026-08-06T14:13:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f984596805390c863b222dd41884d384b4592e44.webp?v=1785996797","variant_ids":[44451260694627]},"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-BG23","featured_media":{"alt":null,"id":28000160514147,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f984596805390c863b222dd41884d384b4592e44.webp?v=1785996797"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451260924003,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013525X-BG23","requires_shipping":true,"taxable":true,"featured_image":{"id":36496876765283,"product_id":8099895902307,"position":4,"created_at":"2026-08-06T14:13:14+08:00","updated_at":"2026-08-06T14:13:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff5d6e982bfa3aa42bdcf7d2dde6a2dbb27a29d7.webp?v=1785996796","variant_ids":[44451260924003]},"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-BG23","featured_media":{"alt":null,"id":28000160022627,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff5d6e982bfa3aa42bdcf7d2dde6a2dbb27a29d7.webp?v=1785996796"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451261579363,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013525H-BG23","requires_shipping":true,"taxable":true,"featured_image":{"id":36496877092963,"product_id":8099895902307,"position":6,"created_at":"2026-08-06T14:13:15+08:00","updated_at":"2026-08-06T14:13:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a59faa6ac804e8d569efc06a6a3f93dec4ee950.webp?v=1785996797","variant_ids":[44451261579363]},"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-BG23","featured_media":{"alt":null,"id":28000160350307,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a59faa6ac804e8d569efc06a6a3f93dec4ee950.webp?v=1785996797"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451261775971,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013524I-BG23","requires_shipping":true,"taxable":true,"featured_image":{"id":36496877781091,"product_id":8099895902307,"position":10,"created_at":"2026-08-06T14:13:17+08:00","updated_at":"2026-08-06T14:13:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b66855feb5fd69851c58e011c3fcd5df110f3a60.webp?v=1785996799","variant_ids":[44451261775971]},"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-BG23","featured_media":{"alt":null,"id":28000161038435,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b66855feb5fd69851c58e011c3fcd5df110f3a60.webp?v=1785996799"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451261972579,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013524H-BG23","requires_shipping":true,"taxable":true,"featured_image":{"id":36496876306531,"product_id":8099895902307,"position":2,"created_at":"2026-08-06T14:13:11+08:00","updated_at":"2026-08-06T14:13:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7fcde95a1af411902b5ecf379bb14eecfd3b7af3.webp?v=1785996793","variant_ids":[44451261972579]},"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-BG23","featured_media":{"alt":null,"id":28000159531107,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7fcde95a1af411902b5ecf379bb14eecfd3b7af3.webp?v=1785996793"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451262201955,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013523O-BG23","requires_shipping":true,"taxable":true,"featured_image":{"id":36496879255651,"product_id":8099895902307,"position":13,"created_at":"2026-08-06T14:13:22+08:00","updated_at":"2026-08-06T14:13:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2125f3497dd063a7d67027dacbe831096c411f09.webp?v=1785996804","variant_ids":[44451262201955]},"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-BG23","featured_media":{"alt":null,"id":28000162512995,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2125f3497dd063a7d67027dacbe831096c411f09.webp?v=1785996804"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451262726243,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013520F-BG23","requires_shipping":true,"taxable":true,"featured_image":{"id":36496876929123,"product_id":8099895902307,"position":5,"created_at":"2026-08-06T14:13:14+08:00","updated_at":"2026-08-06T14:13:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b9becc787b06a7421f77f98a16faea0f84602a6.webp?v=1785996796","variant_ids":[44451262726243]},"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-BG23","featured_media":{"alt":null,"id":28000160186467,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b9becc787b06a7421f77f98a16faea0f84602a6.webp?v=1785996796"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451263217763,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135252-BG23","requires_shipping":true,"taxable":true,"featured_image":{"id":36496877682787,"product_id":8099895902307,"position":9,"created_at":"2026-08-06T14:13:17+08:00","updated_at":"2026-08-06T14:13:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c15473c41ef6d780c486c0b84388896e8100dc64.webp?v=1785996799","variant_ids":[44451263217763]},"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-BG23","featured_media":{"alt":null,"id":28000160940131,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c15473c41ef6d780c486c0b84388896e8100dc64.webp?v=1785996799"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451263742051,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01352O8-BG23","requires_shipping":true,"taxable":true,"featured_image":{"id":36496876109923,"product_id":8099895902307,"position":1,"created_at":"2026-08-06T14:13:10+08:00","updated_at":"2026-08-06T14:13:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c50ec9bdfaa8fcaac005a12a2044d6bf10743ec4.webp?v=1785996792","variant_ids":[44451263742051]},"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-BG23","featured_media":{"alt":null,"id":28000159367267,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c50ec9bdfaa8fcaac005a12a2044d6bf10743ec4.webp?v=1785996792"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451264528483,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135253-BG23","requires_shipping":true,"taxable":true,"featured_image":{"id":36496876568675,"product_id":8099895902307,"position":3,"created_at":"2026-08-06T14:13:13+08:00","updated_at":"2026-08-06T14:13:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c91c0d682bb7969be96cfe90214b4cacdb8ceab7.webp?v=1785996795","variant_ids":[44451264528483]},"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-BG23","featured_media":{"alt":null,"id":28000159826019,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c91c0d682bb7969be96cfe90214b4cacdb8ceab7.webp?v=1785996795"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c50ec9bdfaa8fcaac005a12a2044d6bf10743ec4.webp?v=1785996792","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7fcde95a1af411902b5ecf379bb14eecfd3b7af3.webp?v=1785996793","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c91c0d682bb7969be96cfe90214b4cacdb8ceab7.webp?v=1785996795","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff5d6e982bfa3aa42bdcf7d2dde6a2dbb27a29d7.webp?v=1785996796","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b9becc787b06a7421f77f98a16faea0f84602a6.webp?v=1785996796","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a59faa6ac804e8d569efc06a6a3f93dec4ee950.webp?v=1785996797","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f984596805390c863b222dd41884d384b4592e44.webp?v=1785996797","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79b04102185192f1a99b56baefdfdf027944f0ee.webp?v=1785996798","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c15473c41ef6d780c486c0b84388896e8100dc64.webp?v=1785996799","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b66855feb5fd69851c58e011c3fcd5df110f3a60.webp?v=1785996799","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee10cb31982303ceac762903bacddfe98d7e59e7.webp?v=1785996801","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f8012be0056d8a8a4efe191fd4e3ba30d9006df3.webp?v=1785996802","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2125f3497dd063a7d67027dacbe831096c411f09.webp?v=1785996804"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c50ec9bdfaa8fcaac005a12a2044d6bf10743ec4.webp?v=1785996792","options":["color"],"media":[{"alt":null,"id":28000159367267,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c50ec9bdfaa8fcaac005a12a2044d6bf10743ec4.webp?v=1785996792"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c50ec9bdfaa8fcaac005a12a2044d6bf10743ec4.webp?v=1785996792","width":2000},{"alt":null,"id":28000159531107,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7fcde95a1af411902b5ecf379bb14eecfd3b7af3.webp?v=1785996793"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7fcde95a1af411902b5ecf379bb14eecfd3b7af3.webp?v=1785996793","width":2000},{"alt":null,"id":28000159826019,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c91c0d682bb7969be96cfe90214b4cacdb8ceab7.webp?v=1785996795"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c91c0d682bb7969be96cfe90214b4cacdb8ceab7.webp?v=1785996795","width":2000},{"alt":null,"id":28000160022627,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff5d6e982bfa3aa42bdcf7d2dde6a2dbb27a29d7.webp?v=1785996796"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff5d6e982bfa3aa42bdcf7d2dde6a2dbb27a29d7.webp?v=1785996796","width":2000},{"alt":null,"id":28000160186467,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b9becc787b06a7421f77f98a16faea0f84602a6.webp?v=1785996796"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b9becc787b06a7421f77f98a16faea0f84602a6.webp?v=1785996796","width":2000},{"alt":null,"id":28000160350307,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a59faa6ac804e8d569efc06a6a3f93dec4ee950.webp?v=1785996797"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a59faa6ac804e8d569efc06a6a3f93dec4ee950.webp?v=1785996797","width":2000},{"alt":null,"id":28000160514147,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f984596805390c863b222dd41884d384b4592e44.webp?v=1785996797"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f984596805390c863b222dd41884d384b4592e44.webp?v=1785996797","width":2000},{"alt":null,"id":28000160743523,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79b04102185192f1a99b56baefdfdf027944f0ee.webp?v=1785996798"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79b04102185192f1a99b56baefdfdf027944f0ee.webp?v=1785996798","width":2000},{"alt":null,"id":28000160940131,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c15473c41ef6d780c486c0b84388896e8100dc64.webp?v=1785996799"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c15473c41ef6d780c486c0b84388896e8100dc64.webp?v=1785996799","width":2000},{"alt":null,"id":28000161038435,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b66855feb5fd69851c58e011c3fcd5df110f3a60.webp?v=1785996799"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b66855feb5fd69851c58e011c3fcd5df110f3a60.webp?v=1785996799","width":2000},{"alt":null,"id":28000161562723,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee10cb31982303ceac762903bacddfe98d7e59e7.webp?v=1785996801"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee10cb31982303ceac762903bacddfe98d7e59e7.webp?v=1785996801","width":2000},{"alt":null,"id":28000161988707,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f8012be0056d8a8a4efe191fd4e3ba30d9006df3.webp?v=1785996802"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f8012be0056d8a8a4efe191fd4e3ba30d9006df3.webp?v=1785996802","width":2000},{"alt":null,"id":28000162512995,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2125f3497dd063a7d67027dacbe831096c411f09.webp?v=1785996804"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2125f3497dd063a7d67027dacbe831096c411f09.webp?v=1785996804","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":44451241263203,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013520B-BG23","requires_shipping":true,"taxable":true,"featured_image":{"id":36496878731363,"product_id":8099895902307,"position":12,"created_at":"2026-08-06T14:13:20+08:00","updated_at":"2026-08-06T14:13:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f8012be0056d8a8a4efe191fd4e3ba30d9006df3.webp?v=1785996802","variant_ids":[44451241263203]},"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-BG23","featured_media":{"alt":null,"id":28000161988707,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f8012be0056d8a8a4efe191fd4e3ba30d9006df3.webp?v=1785996802"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451260268643,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013526A-BG23","requires_shipping":true,"taxable":true,"featured_image":{"id":36496877486179,"product_id":8099895902307,"position":8,"created_at":"2026-08-06T14:13:16+08:00","updated_at":"2026-08-06T14:13:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79b04102185192f1a99b56baefdfdf027944f0ee.webp?v=1785996798","variant_ids":[44451260268643]},"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-BG23","featured_media":{"alt":null,"id":28000160743523,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79b04102185192f1a99b56baefdfdf027944f0ee.webp?v=1785996798"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451260465251,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013525Z-BG23","requires_shipping":true,"taxable":true,"featured_image":{"id":36496878305379,"product_id":8099895902307,"position":11,"created_at":"2026-08-06T14:13:19+08:00","updated_at":"2026-08-06T14:13:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee10cb31982303ceac762903bacddfe98d7e59e7.webp?v=1785996801","variant_ids":[44451260465251]},"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-BG23","featured_media":{"alt":null,"id":28000161562723,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee10cb31982303ceac762903bacddfe98d7e59e7.webp?v=1785996801"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451260694627,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013525Y-BG23","requires_shipping":true,"taxable":true,"featured_image":{"id":36496877256803,"product_id":8099895902307,"position":7,"created_at":"2026-08-06T14:13:15+08:00","updated_at":"2026-08-06T14:13:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f984596805390c863b222dd41884d384b4592e44.webp?v=1785996797","variant_ids":[44451260694627]},"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-BG23","featured_media":{"alt":null,"id":28000160514147,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f984596805390c863b222dd41884d384b4592e44.webp?v=1785996797"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451260924003,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013525X-BG23","requires_shipping":true,"taxable":true,"featured_image":{"id":36496876765283,"product_id":8099895902307,"position":4,"created_at":"2026-08-06T14:13:14+08:00","updated_at":"2026-08-06T14:13:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff5d6e982bfa3aa42bdcf7d2dde6a2dbb27a29d7.webp?v=1785996796","variant_ids":[44451260924003]},"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-BG23","featured_media":{"alt":null,"id":28000160022627,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff5d6e982bfa3aa42bdcf7d2dde6a2dbb27a29d7.webp?v=1785996796"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451261579363,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013525H-BG23","requires_shipping":true,"taxable":true,"featured_image":{"id":36496877092963,"product_id":8099895902307,"position":6,"created_at":"2026-08-06T14:13:15+08:00","updated_at":"2026-08-06T14:13:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a59faa6ac804e8d569efc06a6a3f93dec4ee950.webp?v=1785996797","variant_ids":[44451261579363]},"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-BG23","featured_media":{"alt":null,"id":28000160350307,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a59faa6ac804e8d569efc06a6a3f93dec4ee950.webp?v=1785996797"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451261775971,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013524I-BG23","requires_shipping":true,"taxable":true,"featured_image":{"id":36496877781091,"product_id":8099895902307,"position":10,"created_at":"2026-08-06T14:13:17+08:00","updated_at":"2026-08-06T14:13:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b66855feb5fd69851c58e011c3fcd5df110f3a60.webp?v=1785996799","variant_ids":[44451261775971]},"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-BG23","featured_media":{"alt":null,"id":28000161038435,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b66855feb5fd69851c58e011c3fcd5df110f3a60.webp?v=1785996799"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451261972579,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013524H-BG23","requires_shipping":true,"taxable":true,"featured_image":{"id":36496876306531,"product_id":8099895902307,"position":2,"created_at":"2026-08-06T14:13:11+08:00","updated_at":"2026-08-06T14:13:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7fcde95a1af411902b5ecf379bb14eecfd3b7af3.webp?v=1785996793","variant_ids":[44451261972579]},"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-BG23","featured_media":{"alt":null,"id":28000159531107,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7fcde95a1af411902b5ecf379bb14eecfd3b7af3.webp?v=1785996793"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451262201955,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013523O-BG23","requires_shipping":true,"taxable":true,"featured_image":{"id":36496879255651,"product_id":8099895902307,"position":13,"created_at":"2026-08-06T14:13:22+08:00","updated_at":"2026-08-06T14:13:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2125f3497dd063a7d67027dacbe831096c411f09.webp?v=1785996804","variant_ids":[44451262201955]},"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-BG23","featured_media":{"alt":null,"id":28000162512995,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2125f3497dd063a7d67027dacbe831096c411f09.webp?v=1785996804"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451262726243,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013520F-BG23","requires_shipping":true,"taxable":true,"featured_image":{"id":36496876929123,"product_id":8099895902307,"position":5,"created_at":"2026-08-06T14:13:14+08:00","updated_at":"2026-08-06T14:13:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b9becc787b06a7421f77f98a16faea0f84602a6.webp?v=1785996796","variant_ids":[44451262726243]},"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-BG23","featured_media":{"alt":null,"id":28000160186467,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b9becc787b06a7421f77f98a16faea0f84602a6.webp?v=1785996796"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451263217763,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135252-BG23","requires_shipping":true,"taxable":true,"featured_image":{"id":36496877682787,"product_id":8099895902307,"position":9,"created_at":"2026-08-06T14:13:17+08:00","updated_at":"2026-08-06T14:13:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c15473c41ef6d780c486c0b84388896e8100dc64.webp?v=1785996799","variant_ids":[44451263217763]},"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-BG23","featured_media":{"alt":null,"id":28000160940131,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c15473c41ef6d780c486c0b84388896e8100dc64.webp?v=1785996799"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451263742051,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01352O8-BG23","requires_shipping":true,"taxable":true,"featured_image":{"id":36496876109923,"product_id":8099895902307,"position":1,"created_at":"2026-08-06T14:13:10+08:00","updated_at":"2026-08-06T14:13:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c50ec9bdfaa8fcaac005a12a2044d6bf10743ec4.webp?v=1785996792","variant_ids":[44451263742051]},"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-BG23","featured_media":{"alt":null,"id":28000159367267,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c50ec9bdfaa8fcaac005a12a2044d6bf10743ec4.webp?v=1785996792"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44451264528483,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135253-BG23","requires_shipping":true,"taxable":true,"featured_image":{"id":36496876568675,"product_id":8099895902307,"position":3,"created_at":"2026-08-06T14:13:13+08:00","updated_at":"2026-08-06T14:13:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c91c0d682bb7969be96cfe90214b4cacdb8ceab7.webp?v=1785996795","variant_ids":[44451264528483]},"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-BG23","featured_media":{"alt":null,"id":28000159826019,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c91c0d682bb7969be96cfe90214b4cacdb8ceab7.webp?v=1785996795"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":44451241263203,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013520B-BG23","requires_shipping":true,"taxable":true,"featured_image":{"id":36496878731363,"product_id":8099895902307,"position":12,"created_at":"2026-08-06T14:13:20+08:00","updated_at":"2026-08-06T14:13:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f8012be0056d8a8a4efe191fd4e3ba30d9006df3.webp?v=1785996802","variant_ids":[44451241263203]},"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-BG23","featured_media":{"alt":null,"id":28000161988707,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f8012be0056d8a8a4efe191fd4e3ba30d9006df3.webp?v=1785996802"}},"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: "停產"
}