$product = {"id":8091659632739,"title":"iPhone 17 Pro SolidX 方坊 Square Studio 樂樂中樂透","handle":"iphone-17-pro-solidx-rk47","description":null,"published_at":"2026-08-07T10:33:17+08:00","created_at":"2026-07-30T12:18:39+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-squarestudio","device-iPhone 17 Pro","merge","reseller-squarestudio"],"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":44423411302499,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013525H-RK47","requires_shipping":true,"taxable":true,"featured_image":{"id":36435368935523,"product_id":8091659632739,"position":7,"created_at":"2026-07-30T12:19:22+08:00","updated_at":"2026-07-30T12:19:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b58881681d2c625170a2068aebcbc390eff8d98.webp?v=1785385164","variant_ids":[44423411302499]},"available":true,"name":"iPhone 17 Pro SolidX 方坊 Square Studio 樂樂中樂透 - 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-RK47","featured_media":{"alt":null,"id":27938844672099,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b58881681d2c625170a2068aebcbc390eff8d98.webp?v=1785385164"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44423426539619,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013526A-RK47","requires_shipping":true,"taxable":true,"featured_image":{"id":36435367264355,"product_id":8091659632739,"position":2,"created_at":"2026-07-30T12:19:20+08:00","updated_at":"2026-07-30T12:19:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca27472cac72bd78622df0d44cd5ad29416a91f1.webp?v=1785385162","variant_ids":[44423426539619]},"available":true,"name":"iPhone 17 Pro SolidX 方坊 Square Studio 樂樂中樂透 - 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-RK47","featured_media":{"alt":null,"id":27938842968163,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca27472cac72bd78622df0d44cd5ad29416a91f1.webp?v=1785385162"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44423426736227,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013525Z-RK47","requires_shipping":true,"taxable":true,"featured_image":{"id":36435370508387,"product_id":8091659632739,"position":13,"created_at":"2026-07-30T12:19:27+08:00","updated_at":"2026-07-30T12:19:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54bc21a959ca38dab867b411bd3e7bddc27fc249.webp?v=1785385169","variant_ids":[44423426736227]},"available":true,"name":"iPhone 17 Pro SolidX 方坊 Square Studio 樂樂中樂透 - 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-RK47","featured_media":{"alt":null,"id":27938846212195,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54bc21a959ca38dab867b411bd3e7bddc27fc249.webp?v=1785385169"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44423426998371,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013525Y-RK47","requires_shipping":true,"taxable":true,"featured_image":{"id":36435367919715,"product_id":8091659632739,"position":4,"created_at":"2026-07-30T12:19:21+08:00","updated_at":"2026-07-30T12:19:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e06686f0229a52451de5f32584676512bb51a803.webp?v=1785385163","variant_ids":[44423426998371]},"available":true,"name":"iPhone 17 Pro SolidX 方坊 Square Studio 樂樂中樂透 - 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-RK47","featured_media":{"alt":null,"id":27938843623523,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e06686f0229a52451de5f32584676512bb51a803.webp?v=1785385163"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44423427194979,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013525X-RK47","requires_shipping":true,"taxable":true,"featured_image":{"id":36435367559267,"product_id":8091659632739,"position":3,"created_at":"2026-07-30T12:19:20+08:00","updated_at":"2026-07-30T12:19:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5b9091780d1820b42828a279829b79a631dabb9.webp?v=1785385162","variant_ids":[44423427194979]},"available":true,"name":"iPhone 17 Pro SolidX 方坊 Square Studio 樂樂中樂透 - 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-RK47","featured_media":{"alt":null,"id":27938843263075,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5b9091780d1820b42828a279829b79a631dabb9.webp?v=1785385162"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44423427522659,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013524I-RK47","requires_shipping":true,"taxable":true,"featured_image":{"id":36435370344547,"product_id":8091659632739,"position":12,"created_at":"2026-07-30T12:19:27+08:00","updated_at":"2026-07-30T12:19:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d23b52f921f92d16b41e88e349a7bfbec1b75c4.webp?v=1785385169","variant_ids":[44423427522659]},"available":true,"name":"iPhone 17 Pro SolidX 方坊 Square Studio 樂樂中樂透 - 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-RK47","featured_media":{"alt":null,"id":27938846048355,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d23b52f921f92d16b41e88e349a7bfbec1b75c4.webp?v=1785385169"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44423427883107,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013524H-RK47","requires_shipping":true,"taxable":true,"featured_image":{"id":36435370147939,"product_id":8091659632739,"position":11,"created_at":"2026-07-30T12:19:26+08:00","updated_at":"2026-07-30T12:19:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fedfbd0404b5d533f199410d8af8d98882396d7e.webp?v=1785385168","variant_ids":[44423427883107]},"available":true,"name":"iPhone 17 Pro SolidX 方坊 Square Studio 樂樂中樂透 - 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-RK47","featured_media":{"alt":null,"id":27938845851747,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fedfbd0404b5d533f199410d8af8d98882396d7e.webp?v=1785385168"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44423428210787,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013523O-RK47","requires_shipping":true,"taxable":true,"featured_image":{"id":36435369721955,"product_id":8091659632739,"position":9,"created_at":"2026-07-30T12:19:25+08:00","updated_at":"2026-07-30T12:19:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80571919503d58a810ee531b08aae2e72d9f370b.webp?v=1785385167","variant_ids":[44423428210787]},"available":true,"name":"iPhone 17 Pro SolidX 方坊 Square Studio 樂樂中樂透 - 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-RK47","featured_media":{"alt":null,"id":27938845458531,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80571919503d58a810ee531b08aae2e72d9f370b.webp?v=1785385167"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44423428538467,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013520F-RK47","requires_shipping":true,"taxable":true,"featured_image":{"id":36435368607843,"product_id":8091659632739,"position":6,"created_at":"2026-07-30T12:19:22+08:00","updated_at":"2026-07-30T12:19:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74fc1f710dd686e98216121a687aebc065e83ae1.webp?v=1785385164","variant_ids":[44423428538467]},"available":true,"name":"iPhone 17 Pro SolidX 方坊 Square Studio 樂樂中樂透 - 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-RK47","featured_media":{"alt":null,"id":27938844311651,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74fc1f710dd686e98216121a687aebc065e83ae1.webp?v=1785385164"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44423428833379,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013520B-RK47","requires_shipping":true,"taxable":true,"featured_image":{"id":36435369328739,"product_id":8091659632739,"position":8,"created_at":"2026-07-30T12:19:24+08:00","updated_at":"2026-07-30T12:19:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b04b87a6c6f09cf39270e43a730d1ddc137193b.webp?v=1785385166","variant_ids":[44423428833379]},"available":true,"name":"iPhone 17 Pro SolidX 方坊 Square Studio 樂樂中樂透 - 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-RK47","featured_media":{"alt":null,"id":27938845130851,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b04b87a6c6f09cf39270e43a730d1ddc137193b.webp?v=1785385166"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44423429062755,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135252-RK47","requires_shipping":true,"taxable":true,"featured_image":{"id":36435368280163,"product_id":8091659632739,"position":5,"created_at":"2026-07-30T12:19:21+08:00","updated_at":"2026-07-30T12:19:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09993fd73a1098351409777e51188d99f4663d1b.webp?v=1785385163","variant_ids":[44423429062755]},"available":true,"name":"iPhone 17 Pro SolidX 方坊 Square Studio 樂樂中樂透 - 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-RK47","featured_media":{"alt":null,"id":27938843983971,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09993fd73a1098351409777e51188d99f4663d1b.webp?v=1785385163"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44423429488739,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01352O8-RK47","requires_shipping":true,"taxable":true,"featured_image":{"id":36435366936675,"product_id":8091659632739,"position":1,"created_at":"2026-07-30T12:19:19+08:00","updated_at":"2026-07-30T12:19:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f56ada35f84d37c7ed30a9572272be38ef15e07.webp?v=1785385161","variant_ids":[44423429488739]},"available":true,"name":"iPhone 17 Pro SolidX 方坊 Square Studio 樂樂中樂透 - 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-RK47","featured_media":{"alt":null,"id":27938842640483,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f56ada35f84d37c7ed30a9572272be38ef15e07.webp?v=1785385161"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44423429619811,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135253-RK47","requires_shipping":true,"taxable":true,"featured_image":{"id":36435369951331,"product_id":8091659632739,"position":10,"created_at":"2026-07-30T12:19:26+08:00","updated_at":"2026-07-30T12:19:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7a186de08efaae70fb2cf40a4cc839378abb47a.webp?v=1785385168","variant_ids":[44423429619811]},"available":true,"name":"iPhone 17 Pro SolidX 方坊 Square Studio 樂樂中樂透 - 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-RK47","featured_media":{"alt":null,"id":27938845655139,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7a186de08efaae70fb2cf40a4cc839378abb47a.webp?v=1785385168"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f56ada35f84d37c7ed30a9572272be38ef15e07.webp?v=1785385161","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca27472cac72bd78622df0d44cd5ad29416a91f1.webp?v=1785385162","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5b9091780d1820b42828a279829b79a631dabb9.webp?v=1785385162","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e06686f0229a52451de5f32584676512bb51a803.webp?v=1785385163","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09993fd73a1098351409777e51188d99f4663d1b.webp?v=1785385163","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74fc1f710dd686e98216121a687aebc065e83ae1.webp?v=1785385164","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b58881681d2c625170a2068aebcbc390eff8d98.webp?v=1785385164","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b04b87a6c6f09cf39270e43a730d1ddc137193b.webp?v=1785385166","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80571919503d58a810ee531b08aae2e72d9f370b.webp?v=1785385167","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7a186de08efaae70fb2cf40a4cc839378abb47a.webp?v=1785385168","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fedfbd0404b5d533f199410d8af8d98882396d7e.webp?v=1785385168","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d23b52f921f92d16b41e88e349a7bfbec1b75c4.webp?v=1785385169","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54bc21a959ca38dab867b411bd3e7bddc27fc249.webp?v=1785385169"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f56ada35f84d37c7ed30a9572272be38ef15e07.webp?v=1785385161","options":["color"],"media":[{"alt":null,"id":27938842640483,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f56ada35f84d37c7ed30a9572272be38ef15e07.webp?v=1785385161"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f56ada35f84d37c7ed30a9572272be38ef15e07.webp?v=1785385161","width":2000},{"alt":null,"id":27938842968163,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca27472cac72bd78622df0d44cd5ad29416a91f1.webp?v=1785385162"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca27472cac72bd78622df0d44cd5ad29416a91f1.webp?v=1785385162","width":2000},{"alt":null,"id":27938843263075,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5b9091780d1820b42828a279829b79a631dabb9.webp?v=1785385162"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5b9091780d1820b42828a279829b79a631dabb9.webp?v=1785385162","width":2000},{"alt":null,"id":27938843623523,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e06686f0229a52451de5f32584676512bb51a803.webp?v=1785385163"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e06686f0229a52451de5f32584676512bb51a803.webp?v=1785385163","width":2000},{"alt":null,"id":27938843983971,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09993fd73a1098351409777e51188d99f4663d1b.webp?v=1785385163"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09993fd73a1098351409777e51188d99f4663d1b.webp?v=1785385163","width":2000},{"alt":null,"id":27938844311651,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74fc1f710dd686e98216121a687aebc065e83ae1.webp?v=1785385164"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74fc1f710dd686e98216121a687aebc065e83ae1.webp?v=1785385164","width":2000},{"alt":null,"id":27938844672099,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b58881681d2c625170a2068aebcbc390eff8d98.webp?v=1785385164"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b58881681d2c625170a2068aebcbc390eff8d98.webp?v=1785385164","width":2000},{"alt":null,"id":27938845130851,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b04b87a6c6f09cf39270e43a730d1ddc137193b.webp?v=1785385166"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b04b87a6c6f09cf39270e43a730d1ddc137193b.webp?v=1785385166","width":2000},{"alt":null,"id":27938845458531,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80571919503d58a810ee531b08aae2e72d9f370b.webp?v=1785385167"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80571919503d58a810ee531b08aae2e72d9f370b.webp?v=1785385167","width":2000},{"alt":null,"id":27938845655139,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7a186de08efaae70fb2cf40a4cc839378abb47a.webp?v=1785385168"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7a186de08efaae70fb2cf40a4cc839378abb47a.webp?v=1785385168","width":2000},{"alt":null,"id":27938845851747,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fedfbd0404b5d533f199410d8af8d98882396d7e.webp?v=1785385168"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fedfbd0404b5d533f199410d8af8d98882396d7e.webp?v=1785385168","width":2000},{"alt":null,"id":27938846048355,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d23b52f921f92d16b41e88e349a7bfbec1b75c4.webp?v=1785385169"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d23b52f921f92d16b41e88e349a7bfbec1b75c4.webp?v=1785385169","width":2000},{"alt":null,"id":27938846212195,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54bc21a959ca38dab867b411bd3e7bddc27fc249.webp?v=1785385169"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54bc21a959ca38dab867b411bd3e7bddc27fc249.webp?v=1785385169","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":44423411302499,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013525H-RK47","requires_shipping":true,"taxable":true,"featured_image":{"id":36435368935523,"product_id":8091659632739,"position":7,"created_at":"2026-07-30T12:19:22+08:00","updated_at":"2026-07-30T12:19:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b58881681d2c625170a2068aebcbc390eff8d98.webp?v=1785385164","variant_ids":[44423411302499]},"available":true,"name":"iPhone 17 Pro SolidX 方坊 Square Studio 樂樂中樂透 - 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-RK47","featured_media":{"alt":null,"id":27938844672099,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b58881681d2c625170a2068aebcbc390eff8d98.webp?v=1785385164"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44423426539619,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013526A-RK47","requires_shipping":true,"taxable":true,"featured_image":{"id":36435367264355,"product_id":8091659632739,"position":2,"created_at":"2026-07-30T12:19:20+08:00","updated_at":"2026-07-30T12:19:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca27472cac72bd78622df0d44cd5ad29416a91f1.webp?v=1785385162","variant_ids":[44423426539619]},"available":true,"name":"iPhone 17 Pro SolidX 方坊 Square Studio 樂樂中樂透 - 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-RK47","featured_media":{"alt":null,"id":27938842968163,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca27472cac72bd78622df0d44cd5ad29416a91f1.webp?v=1785385162"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44423426736227,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013525Z-RK47","requires_shipping":true,"taxable":true,"featured_image":{"id":36435370508387,"product_id":8091659632739,"position":13,"created_at":"2026-07-30T12:19:27+08:00","updated_at":"2026-07-30T12:19:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54bc21a959ca38dab867b411bd3e7bddc27fc249.webp?v=1785385169","variant_ids":[44423426736227]},"available":true,"name":"iPhone 17 Pro SolidX 方坊 Square Studio 樂樂中樂透 - 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-RK47","featured_media":{"alt":null,"id":27938846212195,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54bc21a959ca38dab867b411bd3e7bddc27fc249.webp?v=1785385169"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44423426998371,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013525Y-RK47","requires_shipping":true,"taxable":true,"featured_image":{"id":36435367919715,"product_id":8091659632739,"position":4,"created_at":"2026-07-30T12:19:21+08:00","updated_at":"2026-07-30T12:19:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e06686f0229a52451de5f32584676512bb51a803.webp?v=1785385163","variant_ids":[44423426998371]},"available":true,"name":"iPhone 17 Pro SolidX 方坊 Square Studio 樂樂中樂透 - 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-RK47","featured_media":{"alt":null,"id":27938843623523,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e06686f0229a52451de5f32584676512bb51a803.webp?v=1785385163"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44423427194979,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013525X-RK47","requires_shipping":true,"taxable":true,"featured_image":{"id":36435367559267,"product_id":8091659632739,"position":3,"created_at":"2026-07-30T12:19:20+08:00","updated_at":"2026-07-30T12:19:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5b9091780d1820b42828a279829b79a631dabb9.webp?v=1785385162","variant_ids":[44423427194979]},"available":true,"name":"iPhone 17 Pro SolidX 方坊 Square Studio 樂樂中樂透 - 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-RK47","featured_media":{"alt":null,"id":27938843263075,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5b9091780d1820b42828a279829b79a631dabb9.webp?v=1785385162"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44423427522659,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013524I-RK47","requires_shipping":true,"taxable":true,"featured_image":{"id":36435370344547,"product_id":8091659632739,"position":12,"created_at":"2026-07-30T12:19:27+08:00","updated_at":"2026-07-30T12:19:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d23b52f921f92d16b41e88e349a7bfbec1b75c4.webp?v=1785385169","variant_ids":[44423427522659]},"available":true,"name":"iPhone 17 Pro SolidX 方坊 Square Studio 樂樂中樂透 - 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-RK47","featured_media":{"alt":null,"id":27938846048355,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d23b52f921f92d16b41e88e349a7bfbec1b75c4.webp?v=1785385169"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44423427883107,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013524H-RK47","requires_shipping":true,"taxable":true,"featured_image":{"id":36435370147939,"product_id":8091659632739,"position":11,"created_at":"2026-07-30T12:19:26+08:00","updated_at":"2026-07-30T12:19:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fedfbd0404b5d533f199410d8af8d98882396d7e.webp?v=1785385168","variant_ids":[44423427883107]},"available":true,"name":"iPhone 17 Pro SolidX 方坊 Square Studio 樂樂中樂透 - 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-RK47","featured_media":{"alt":null,"id":27938845851747,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fedfbd0404b5d533f199410d8af8d98882396d7e.webp?v=1785385168"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44423428210787,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013523O-RK47","requires_shipping":true,"taxable":true,"featured_image":{"id":36435369721955,"product_id":8091659632739,"position":9,"created_at":"2026-07-30T12:19:25+08:00","updated_at":"2026-07-30T12:19:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80571919503d58a810ee531b08aae2e72d9f370b.webp?v=1785385167","variant_ids":[44423428210787]},"available":true,"name":"iPhone 17 Pro SolidX 方坊 Square Studio 樂樂中樂透 - 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-RK47","featured_media":{"alt":null,"id":27938845458531,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80571919503d58a810ee531b08aae2e72d9f370b.webp?v=1785385167"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44423428538467,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013520F-RK47","requires_shipping":true,"taxable":true,"featured_image":{"id":36435368607843,"product_id":8091659632739,"position":6,"created_at":"2026-07-30T12:19:22+08:00","updated_at":"2026-07-30T12:19:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74fc1f710dd686e98216121a687aebc065e83ae1.webp?v=1785385164","variant_ids":[44423428538467]},"available":true,"name":"iPhone 17 Pro SolidX 方坊 Square Studio 樂樂中樂透 - 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-RK47","featured_media":{"alt":null,"id":27938844311651,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74fc1f710dd686e98216121a687aebc065e83ae1.webp?v=1785385164"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44423428833379,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013520B-RK47","requires_shipping":true,"taxable":true,"featured_image":{"id":36435369328739,"product_id":8091659632739,"position":8,"created_at":"2026-07-30T12:19:24+08:00","updated_at":"2026-07-30T12:19:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b04b87a6c6f09cf39270e43a730d1ddc137193b.webp?v=1785385166","variant_ids":[44423428833379]},"available":true,"name":"iPhone 17 Pro SolidX 方坊 Square Studio 樂樂中樂透 - 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-RK47","featured_media":{"alt":null,"id":27938845130851,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b04b87a6c6f09cf39270e43a730d1ddc137193b.webp?v=1785385166"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44423429062755,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135252-RK47","requires_shipping":true,"taxable":true,"featured_image":{"id":36435368280163,"product_id":8091659632739,"position":5,"created_at":"2026-07-30T12:19:21+08:00","updated_at":"2026-07-30T12:19:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09993fd73a1098351409777e51188d99f4663d1b.webp?v=1785385163","variant_ids":[44423429062755]},"available":true,"name":"iPhone 17 Pro SolidX 方坊 Square Studio 樂樂中樂透 - 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-RK47","featured_media":{"alt":null,"id":27938843983971,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09993fd73a1098351409777e51188d99f4663d1b.webp?v=1785385163"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44423429488739,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01352O8-RK47","requires_shipping":true,"taxable":true,"featured_image":{"id":36435366936675,"product_id":8091659632739,"position":1,"created_at":"2026-07-30T12:19:19+08:00","updated_at":"2026-07-30T12:19:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f56ada35f84d37c7ed30a9572272be38ef15e07.webp?v=1785385161","variant_ids":[44423429488739]},"available":true,"name":"iPhone 17 Pro SolidX 方坊 Square Studio 樂樂中樂透 - 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-RK47","featured_media":{"alt":null,"id":27938842640483,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f56ada35f84d37c7ed30a9572272be38ef15e07.webp?v=1785385161"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44423429619811,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135253-RK47","requires_shipping":true,"taxable":true,"featured_image":{"id":36435369951331,"product_id":8091659632739,"position":10,"created_at":"2026-07-30T12:19:26+08:00","updated_at":"2026-07-30T12:19:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7a186de08efaae70fb2cf40a4cc839378abb47a.webp?v=1785385168","variant_ids":[44423429619811]},"available":true,"name":"iPhone 17 Pro SolidX 方坊 Square Studio 樂樂中樂透 - 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-RK47","featured_media":{"alt":null,"id":27938845655139,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7a186de08efaae70fb2cf40a4cc839378abb47a.webp?v=1785385168"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":44423411302499,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013525H-RK47","requires_shipping":true,"taxable":true,"featured_image":{"id":36435368935523,"product_id":8091659632739,"position":7,"created_at":"2026-07-30T12:19:22+08:00","updated_at":"2026-07-30T12:19:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b58881681d2c625170a2068aebcbc390eff8d98.webp?v=1785385164","variant_ids":[44423411302499]},"available":true,"name":"iPhone 17 Pro SolidX 方坊 Square Studio 樂樂中樂透 - 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-RK47","featured_media":{"alt":null,"id":27938844672099,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b58881681d2c625170a2068aebcbc390eff8d98.webp?v=1785385164"}},"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: "停產"
}