$product = {"id":6987975491683,"title":"iPhone 13 mini SolidSuit 涼丰 窯花","handle":"iphone-13-mini-solidsuit-classic-gd14","description":null,"published_at":"2023-08-11T11:12:50+08:00","created_at":"2023-07-30T19:56:44+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師SolidSuit專區哈利波特 Harry Potter","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-liang-feng","device-iPhone 13 Mini","merge","reseller-liang-feng"],"price":83000,"price_min":83000,"price_max":83000,"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":43102647025763,"title":"Black \/ Classic","option1":"Black","option2":"Classic","option3":null,"sku":"SST0122852-GD14","requires_shipping":true,"taxable":true,"featured_image":{"id":30313555263587,"product_id":6987975491683,"position":1,"created_at":"2023-08-10T17:08:39+08:00","updated_at":"2023-08-10T17:08:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-GD14_762773ea-bec7-41a6-b696-26be5affb3d6.png?v=1691658519","variant_ids":[43102647025763,43102647091299,43102647156835,43102647189603]},"available":true,"name":"iPhone 13 mini SolidSuit 涼丰 窯花 - Black \/ Classic","public_title":"Black \/ Classic","options":["Black","Classic"],"price":83000,"weight":830,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0122852-GD14","featured_media":{"alt":null,"id":22672474177635,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-GD14_762773ea-bec7-41a6-b696-26be5affb3d6.png?v=1691658519"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102647091299,"title":"Ash Grey \/ Classic","option1":"Ash Grey","option2":"Classic","option3":null,"sku":"SST01228O8-GD14","requires_shipping":true,"taxable":true,"featured_image":{"id":30313555263587,"product_id":6987975491683,"position":1,"created_at":"2023-08-10T17:08:39+08:00","updated_at":"2023-08-10T17:08:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-GD14_762773ea-bec7-41a6-b696-26be5affb3d6.png?v=1691658519","variant_ids":[43102647025763,43102647091299,43102647156835,43102647189603]},"available":true,"name":"iPhone 13 mini SolidSuit 涼丰 窯花 - Ash Grey \/ Classic","public_title":"Ash Grey \/ Classic","options":["Ash Grey","Classic"],"price":83000,"weight":830,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01228O8-GD14","featured_media":{"alt":null,"id":22672474177635,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-GD14_762773ea-bec7-41a6-b696-26be5affb3d6.png?v=1691658519"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102647156835,"title":"Seaweed Green \/ Classic","option1":"Seaweed Green","option2":"Classic","option3":null,"sku":"SST01228Z8-GD14","requires_shipping":true,"taxable":true,"featured_image":{"id":30313555263587,"product_id":6987975491683,"position":1,"created_at":"2023-08-10T17:08:39+08:00","updated_at":"2023-08-10T17:08:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-GD14_762773ea-bec7-41a6-b696-26be5affb3d6.png?v=1691658519","variant_ids":[43102647025763,43102647091299,43102647156835,43102647189603]},"available":true,"name":"iPhone 13 mini SolidSuit 涼丰 窯花 - Seaweed Green \/ Classic","public_title":"Seaweed Green \/ Classic","options":["Seaweed Green","Classic"],"price":83000,"weight":830,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01228Z8-GD14","featured_media":{"alt":null,"id":22672474177635,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-GD14_762773ea-bec7-41a6-b696-26be5affb3d6.png?v=1691658519"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102647189603,"title":"Tide Blue \/ Classic","option1":"Tide Blue","option2":"Classic","option3":null,"sku":"SST01228Z9-GD14","requires_shipping":true,"taxable":true,"featured_image":{"id":30313555263587,"product_id":6987975491683,"position":1,"created_at":"2023-08-10T17:08:39+08:00","updated_at":"2023-08-10T17:08:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-GD14_762773ea-bec7-41a6-b696-26be5affb3d6.png?v=1691658519","variant_ids":[43102647025763,43102647091299,43102647156835,43102647189603]},"available":true,"name":"iPhone 13 mini SolidSuit 涼丰 窯花 - Tide Blue \/ Classic","public_title":"Tide Blue \/ Classic","options":["Tide Blue","Classic"],"price":83000,"weight":830,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01228Z9-GD14","featured_media":{"alt":null,"id":22672474177635,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-GD14_762773ea-bec7-41a6-b696-26be5affb3d6.png?v=1691658519"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-GD14_762773ea-bec7-41a6-b696-26be5affb3d6.png?v=1691658519","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb8e8a7cc0abb2c0dbc947aadcac6d70e6b8e799.webp?v=1784014335","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c770ae54a80577ca11221688e3e0032b18a9dec7.webp?v=1784014335","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3aad229813de3e163129074a77ea5b88368d276a.webp?v=1784014336","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cd40a7738f07a04b5daa8eb1f0633d46227f830.webp?v=1784014336","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb8e8a7cc0abb2c0dbc947aadcac6d70e6b8e799_c1a2b240-647a-4a59-9202-0e3943fb0a23.webp?v=1784018314","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c770ae54a80577ca11221688e3e0032b18a9dec7_16953618-5aab-4f4d-9bff-34ae544626d8.webp?v=1784018319","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3aad229813de3e163129074a77ea5b88368d276a_69925c49-9c65-4408-adc8-e3b6210d3e6c.webp?v=1784018320","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cd40a7738f07a04b5daa8eb1f0633d46227f830_22e3fa7f-7695-4480-bc1b-c6f6cc03cfaf.webp?v=1784018323","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb8e8a7cc0abb2c0dbc947aadcac6d70e6b8e799_cb4d2eb9-4c24-4a5c-882e-d50c04cf50c0.webp?v=1784018617","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c770ae54a80577ca11221688e3e0032b18a9dec7_a564e119-7200-4b91-b13e-08a5ddded6e6.webp?v=1784018617","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3aad229813de3e163129074a77ea5b88368d276a_dc7a339b-3694-47a7-a29a-bad9543d1734.webp?v=1784018618","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cd40a7738f07a04b5daa8eb1f0633d46227f830_dfffb640-6f09-49a6-9373-e04b3aacced6.webp?v=1784018619","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb8e8a7cc0abb2c0dbc947aadcac6d70e6b8e799_05f0b828-fa36-4abd-9f69-8f4065f48c51.webp?v=1784018711","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c770ae54a80577ca11221688e3e0032b18a9dec7_c82eac9b-ed37-428b-a2d5-f812b4bd8ea3.webp?v=1784018711","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3aad229813de3e163129074a77ea5b88368d276a_0e05f9c9-e03b-403a-a992-c2ca53928a57.webp?v=1784018712","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cd40a7738f07a04b5daa8eb1f0633d46227f830_07ea2f58-c0fa-4712-91b9-da0c4f937643.webp?v=1784018713"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-GD14_762773ea-bec7-41a6-b696-26be5affb3d6.png?v=1691658519","options":["color","Types"],"media":[{"alt":null,"id":22672474177635,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-GD14_762773ea-bec7-41a6-b696-26be5affb3d6.png?v=1691658519"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-GD14_762773ea-bec7-41a6-b696-26be5affb3d6.png?v=1691658519","width":2000},{"alt":null,"id":27761793957987,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb8e8a7cc0abb2c0dbc947aadcac6d70e6b8e799.webp?v=1784014335"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb8e8a7cc0abb2c0dbc947aadcac6d70e6b8e799.webp?v=1784014335","width":2000},{"alt":null,"id":27761794154595,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c770ae54a80577ca11221688e3e0032b18a9dec7.webp?v=1784014335"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c770ae54a80577ca11221688e3e0032b18a9dec7.webp?v=1784014335","width":2000},{"alt":null,"id":27761794383971,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3aad229813de3e163129074a77ea5b88368d276a.webp?v=1784014336"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3aad229813de3e163129074a77ea5b88368d276a.webp?v=1784014336","width":2000},{"alt":null,"id":27761794580579,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cd40a7738f07a04b5daa8eb1f0633d46227f830.webp?v=1784014336"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cd40a7738f07a04b5daa8eb1f0633d46227f830.webp?v=1784014336","width":2000},{"alt":null,"id":27762600542307,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb8e8a7cc0abb2c0dbc947aadcac6d70e6b8e799_c1a2b240-647a-4a59-9202-0e3943fb0a23.webp?v=1784018314"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb8e8a7cc0abb2c0dbc947aadcac6d70e6b8e799_c1a2b240-647a-4a59-9202-0e3943fb0a23.webp?v=1784018314","width":2000},{"alt":null,"id":27762601427043,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c770ae54a80577ca11221688e3e0032b18a9dec7_16953618-5aab-4f4d-9bff-34ae544626d8.webp?v=1784018319"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c770ae54a80577ca11221688e3e0032b18a9dec7_16953618-5aab-4f4d-9bff-34ae544626d8.webp?v=1784018319","width":2000},{"alt":null,"id":27762601820259,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3aad229813de3e163129074a77ea5b88368d276a_69925c49-9c65-4408-adc8-e3b6210d3e6c.webp?v=1784018320"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3aad229813de3e163129074a77ea5b88368d276a_69925c49-9c65-4408-adc8-e3b6210d3e6c.webp?v=1784018320","width":2000},{"alt":null,"id":27762602180707,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cd40a7738f07a04b5daa8eb1f0633d46227f830_22e3fa7f-7695-4480-bc1b-c6f6cc03cfaf.webp?v=1784018323"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cd40a7738f07a04b5daa8eb1f0633d46227f830_22e3fa7f-7695-4480-bc1b-c6f6cc03cfaf.webp?v=1784018323","width":2000},{"alt":null,"id":27762629607523,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb8e8a7cc0abb2c0dbc947aadcac6d70e6b8e799_cb4d2eb9-4c24-4a5c-882e-d50c04cf50c0.webp?v=1784018617"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb8e8a7cc0abb2c0dbc947aadcac6d70e6b8e799_cb4d2eb9-4c24-4a5c-882e-d50c04cf50c0.webp?v=1784018617","width":2000},{"alt":null,"id":27762629869667,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c770ae54a80577ca11221688e3e0032b18a9dec7_a564e119-7200-4b91-b13e-08a5ddded6e6.webp?v=1784018617"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c770ae54a80577ca11221688e3e0032b18a9dec7_a564e119-7200-4b91-b13e-08a5ddded6e6.webp?v=1784018617","width":2000},{"alt":null,"id":27762630131811,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3aad229813de3e163129074a77ea5b88368d276a_dc7a339b-3694-47a7-a29a-bad9543d1734.webp?v=1784018618"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3aad229813de3e163129074a77ea5b88368d276a_dc7a339b-3694-47a7-a29a-bad9543d1734.webp?v=1784018618","width":2000},{"alt":null,"id":27762630262883,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cd40a7738f07a04b5daa8eb1f0633d46227f830_dfffb640-6f09-49a6-9373-e04b3aacced6.webp?v=1784018619"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cd40a7738f07a04b5daa8eb1f0633d46227f830_dfffb640-6f09-49a6-9373-e04b3aacced6.webp?v=1784018619","width":2000},{"alt":null,"id":27762651234403,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb8e8a7cc0abb2c0dbc947aadcac6d70e6b8e799_05f0b828-fa36-4abd-9f69-8f4065f48c51.webp?v=1784018711"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb8e8a7cc0abb2c0dbc947aadcac6d70e6b8e799_05f0b828-fa36-4abd-9f69-8f4065f48c51.webp?v=1784018711","width":2000},{"alt":null,"id":27762651431011,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c770ae54a80577ca11221688e3e0032b18a9dec7_c82eac9b-ed37-428b-a2d5-f812b4bd8ea3.webp?v=1784018711"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c770ae54a80577ca11221688e3e0032b18a9dec7_c82eac9b-ed37-428b-a2d5-f812b4bd8ea3.webp?v=1784018711","width":2000},{"alt":null,"id":27762651725923,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3aad229813de3e163129074a77ea5b88368d276a_0e05f9c9-e03b-403a-a992-c2ca53928a57.webp?v=1784018712"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3aad229813de3e163129074a77ea5b88368d276a_0e05f9c9-e03b-403a-a992-c2ca53928a57.webp?v=1784018712","width":2000},{"alt":null,"id":27762651955299,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cd40a7738f07a04b5daa8eb1f0633d46227f830_07ea2f58-c0fa-4712-91b9-da0c4f937643.webp?v=1784018713"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cd40a7738f07a04b5daa8eb1f0633d46227f830_07ea2f58-c0fa-4712-91b9-da0c4f937643.webp?v=1784018713","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43102647025763,"title":"Black \/ Classic","option1":"Black","option2":"Classic","option3":null,"sku":"SST0122852-GD14","requires_shipping":true,"taxable":true,"featured_image":{"id":30313555263587,"product_id":6987975491683,"position":1,"created_at":"2023-08-10T17:08:39+08:00","updated_at":"2023-08-10T17:08:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-GD14_762773ea-bec7-41a6-b696-26be5affb3d6.png?v=1691658519","variant_ids":[43102647025763,43102647091299,43102647156835,43102647189603]},"available":true,"name":"iPhone 13 mini SolidSuit 涼丰 窯花 - Black \/ Classic","public_title":"Black \/ Classic","options":["Black","Classic"],"price":83000,"weight":830,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0122852-GD14","featured_media":{"alt":null,"id":22672474177635,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-GD14_762773ea-bec7-41a6-b696-26be5affb3d6.png?v=1691658519"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102647091299,"title":"Ash Grey \/ Classic","option1":"Ash Grey","option2":"Classic","option3":null,"sku":"SST01228O8-GD14","requires_shipping":true,"taxable":true,"featured_image":{"id":30313555263587,"product_id":6987975491683,"position":1,"created_at":"2023-08-10T17:08:39+08:00","updated_at":"2023-08-10T17:08:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-GD14_762773ea-bec7-41a6-b696-26be5affb3d6.png?v=1691658519","variant_ids":[43102647025763,43102647091299,43102647156835,43102647189603]},"available":true,"name":"iPhone 13 mini SolidSuit 涼丰 窯花 - Ash Grey \/ Classic","public_title":"Ash Grey \/ Classic","options":["Ash Grey","Classic"],"price":83000,"weight":830,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01228O8-GD14","featured_media":{"alt":null,"id":22672474177635,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-GD14_762773ea-bec7-41a6-b696-26be5affb3d6.png?v=1691658519"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102647156835,"title":"Seaweed Green \/ Classic","option1":"Seaweed Green","option2":"Classic","option3":null,"sku":"SST01228Z8-GD14","requires_shipping":true,"taxable":true,"featured_image":{"id":30313555263587,"product_id":6987975491683,"position":1,"created_at":"2023-08-10T17:08:39+08:00","updated_at":"2023-08-10T17:08:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-GD14_762773ea-bec7-41a6-b696-26be5affb3d6.png?v=1691658519","variant_ids":[43102647025763,43102647091299,43102647156835,43102647189603]},"available":true,"name":"iPhone 13 mini SolidSuit 涼丰 窯花 - Seaweed Green \/ Classic","public_title":"Seaweed Green \/ Classic","options":["Seaweed Green","Classic"],"price":83000,"weight":830,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01228Z8-GD14","featured_media":{"alt":null,"id":22672474177635,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-GD14_762773ea-bec7-41a6-b696-26be5affb3d6.png?v=1691658519"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102647189603,"title":"Tide Blue \/ Classic","option1":"Tide Blue","option2":"Classic","option3":null,"sku":"SST01228Z9-GD14","requires_shipping":true,"taxable":true,"featured_image":{"id":30313555263587,"product_id":6987975491683,"position":1,"created_at":"2023-08-10T17:08:39+08:00","updated_at":"2023-08-10T17:08:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-GD14_762773ea-bec7-41a6-b696-26be5affb3d6.png?v=1691658519","variant_ids":[43102647025763,43102647091299,43102647156835,43102647189603]},"available":true,"name":"iPhone 13 mini SolidSuit 涼丰 窯花 - Tide Blue \/ Classic","public_title":"Tide Blue \/ Classic","options":["Tide Blue","Classic"],"price":83000,"weight":830,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01228Z9-GD14","featured_media":{"alt":null,"id":22672474177635,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-GD14_762773ea-bec7-41a6-b696-26be5affb3d6.png?v=1691658519"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43102647025763,"title":"Black \/ Classic","option1":"Black","option2":"Classic","option3":null,"sku":"SST0122852-GD14","requires_shipping":true,"taxable":true,"featured_image":{"id":30313555263587,"product_id":6987975491683,"position":1,"created_at":"2023-08-10T17:08:39+08:00","updated_at":"2023-08-10T17:08:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-GD14_762773ea-bec7-41a6-b696-26be5affb3d6.png?v=1691658519","variant_ids":[43102647025763,43102647091299,43102647156835,43102647189603]},"available":true,"name":"iPhone 13 mini SolidSuit 涼丰 窯花 - Black \/ Classic","public_title":"Black \/ Classic","options":["Black","Classic"],"price":83000,"weight":830,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0122852-GD14","featured_media":{"alt":null,"id":22672474177635,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-GD14_762773ea-bec7-41a6-b696-26be5affb3d6.png?v=1691658519"}},"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: "停產"
}