$product = {"id":6987353161827,"title":"iPhone 13 mini SolidSuit 老屋顏 老招牌2","handle":"iphone-13-mini-solidsuit-classic-kf69","description":null,"published_at":"2023-08-03T01:37:57+08:00","created_at":"2023-07-30T16:10:12+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師SolidSuit專區哈利波特 Harry Potter","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-oldhouseface","device-iPhone 13 Mini","merge","reseller-oldhouseface"],"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":43102920474723,"title":"Black \/ Classic","option1":"Black","option2":"Classic","option3":null,"sku":"SST0122852-KF69","requires_shipping":true,"taxable":true,"featured_image":{"id":30287165227107,"product_id":6987353161827,"position":1,"created_at":"2023-07-30T18:46:33+08:00","updated_at":"2023-07-30T18:46:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-KF69_51de2d47-105f-4999-8239-199232225f0c.png?v=1690713993","variant_ids":[43102920474723,43102920540259,43102920605795,43102920638563]},"available":true,"name":"iPhone 13 mini SolidSuit 老屋顏 老招牌2 - 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-KF69","featured_media":{"alt":null,"id":22645874983011,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-KF69_51de2d47-105f-4999-8239-199232225f0c.png?v=1690713993"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102920540259,"title":"Ash Grey \/ Classic","option1":"Ash Grey","option2":"Classic","option3":null,"sku":"SST01228O8-KF69","requires_shipping":true,"taxable":true,"featured_image":{"id":30287165227107,"product_id":6987353161827,"position":1,"created_at":"2023-07-30T18:46:33+08:00","updated_at":"2023-07-30T18:46:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-KF69_51de2d47-105f-4999-8239-199232225f0c.png?v=1690713993","variant_ids":[43102920474723,43102920540259,43102920605795,43102920638563]},"available":true,"name":"iPhone 13 mini SolidSuit 老屋顏 老招牌2 - 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-KF69","featured_media":{"alt":null,"id":22645874983011,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-KF69_51de2d47-105f-4999-8239-199232225f0c.png?v=1690713993"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102920605795,"title":"Seaweed Green \/ Classic","option1":"Seaweed Green","option2":"Classic","option3":null,"sku":"SST01228Z8-KF69","requires_shipping":true,"taxable":true,"featured_image":{"id":30287165227107,"product_id":6987353161827,"position":1,"created_at":"2023-07-30T18:46:33+08:00","updated_at":"2023-07-30T18:46:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-KF69_51de2d47-105f-4999-8239-199232225f0c.png?v=1690713993","variant_ids":[43102920474723,43102920540259,43102920605795,43102920638563]},"available":true,"name":"iPhone 13 mini SolidSuit 老屋顏 老招牌2 - 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-KF69","featured_media":{"alt":null,"id":22645874983011,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-KF69_51de2d47-105f-4999-8239-199232225f0c.png?v=1690713993"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102920638563,"title":"Tide Blue \/ Classic","option1":"Tide Blue","option2":"Classic","option3":null,"sku":"SST01228Z9-KF69","requires_shipping":true,"taxable":true,"featured_image":{"id":30287165227107,"product_id":6987353161827,"position":1,"created_at":"2023-07-30T18:46:33+08:00","updated_at":"2023-07-30T18:46:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-KF69_51de2d47-105f-4999-8239-199232225f0c.png?v=1690713993","variant_ids":[43102920474723,43102920540259,43102920605795,43102920638563]},"available":true,"name":"iPhone 13 mini SolidSuit 老屋顏 老招牌2 - 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-KF69","featured_media":{"alt":null,"id":22645874983011,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-KF69_51de2d47-105f-4999-8239-199232225f0c.png?v=1690713993"}},"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-KF69_51de2d47-105f-4999-8239-199232225f0c.png?v=1690713993","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/751afb9a9cc528c25d151a968efa3a34bb19811a.webp?v=1782975250","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c73769f3553cacbedaa0ee0918e21b917fb3ed73.webp?v=1782975251","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78022dc7036dd9652fda7e47ac1b508997f0a6c8.webp?v=1782975252","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ea0514d7a99d3748d0777e06730a6758b49bfab.webp?v=1782975252","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/751afb9a9cc528c25d151a968efa3a34bb19811a_5a513139-b018-4397-9f29-2e183ccd5367.webp?v=1782992580","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c73769f3553cacbedaa0ee0918e21b917fb3ed73_cefeb936-cfb6-4024-b790-7460c03b1f82.webp?v=1782992584","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78022dc7036dd9652fda7e47ac1b508997f0a6c8_f84a3138-caca-4eb7-bbb9-73da45a13382.webp?v=1782992587","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ea0514d7a99d3748d0777e06730a6758b49bfab_04677e6e-c31b-4db9-ab22-93d3201dff50.webp?v=1782992596","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/751afb9a9cc528c25d151a968efa3a34bb19811a_27ad9c44-48eb-4d34-b3eb-f1e3ee04d687.webp?v=1782993056","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c73769f3553cacbedaa0ee0918e21b917fb3ed73_03a8653b-c6fa-4c65-9d96-66be0c419e1d.webp?v=1782993057","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78022dc7036dd9652fda7e47ac1b508997f0a6c8_626262c7-65e1-497c-a7c1-2cc4dd0428f7.webp?v=1782993057","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ea0514d7a99d3748d0777e06730a6758b49bfab_9d9f5b84-c821-480a-aa19-ab651332fda0.webp?v=1782993058","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/751afb9a9cc528c25d151a968efa3a34bb19811a_35a66f2c-6265-4c8f-9d0d-fb86a2d5cb35.webp?v=1782993290","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c73769f3553cacbedaa0ee0918e21b917fb3ed73_68c71b46-ebf7-4f2f-805a-85dc1008a991.webp?v=1782993291","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78022dc7036dd9652fda7e47ac1b508997f0a6c8_679fd946-7816-4030-9edc-5314779c87c5.webp?v=1782993292","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ea0514d7a99d3748d0777e06730a6758b49bfab_ad2a3dbd-15c0-4fa0-95fb-c145c8d17660.webp?v=1782993293"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-KF69_51de2d47-105f-4999-8239-199232225f0c.png?v=1690713993","options":["color","Types"],"media":[{"alt":null,"id":22645874983011,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-KF69_51de2d47-105f-4999-8239-199232225f0c.png?v=1690713993"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-KF69_51de2d47-105f-4999-8239-199232225f0c.png?v=1690713993","width":2000},{"alt":null,"id":27658513449059,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/751afb9a9cc528c25d151a968efa3a34bb19811a.webp?v=1782975250"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/751afb9a9cc528c25d151a968efa3a34bb19811a.webp?v=1782975250","width":2000},{"alt":null,"id":27658513612899,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c73769f3553cacbedaa0ee0918e21b917fb3ed73.webp?v=1782975251"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c73769f3553cacbedaa0ee0918e21b917fb3ed73.webp?v=1782975251","width":2000},{"alt":null,"id":27658513973347,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78022dc7036dd9652fda7e47ac1b508997f0a6c8.webp?v=1782975252"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78022dc7036dd9652fda7e47ac1b508997f0a6c8.webp?v=1782975252","width":2000},{"alt":null,"id":27658514169955,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ea0514d7a99d3748d0777e06730a6758b49bfab.webp?v=1782975252"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ea0514d7a99d3748d0777e06730a6758b49bfab.webp?v=1782975252","width":2000},{"alt":null,"id":27663869640803,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/751afb9a9cc528c25d151a968efa3a34bb19811a_5a513139-b018-4397-9f29-2e183ccd5367.webp?v=1782992580"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/751afb9a9cc528c25d151a968efa3a34bb19811a_5a513139-b018-4397-9f29-2e183ccd5367.webp?v=1782992580","width":2000},{"alt":null,"id":27663870296163,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c73769f3553cacbedaa0ee0918e21b917fb3ed73_cefeb936-cfb6-4024-b790-7460c03b1f82.webp?v=1782992584"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c73769f3553cacbedaa0ee0918e21b917fb3ed73_cefeb936-cfb6-4024-b790-7460c03b1f82.webp?v=1782992584","width":2000},{"alt":null,"id":27663870787683,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78022dc7036dd9652fda7e47ac1b508997f0a6c8_f84a3138-caca-4eb7-bbb9-73da45a13382.webp?v=1782992587"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78022dc7036dd9652fda7e47ac1b508997f0a6c8_f84a3138-caca-4eb7-bbb9-73da45a13382.webp?v=1782992587","width":2000},{"alt":null,"id":27663871672419,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ea0514d7a99d3748d0777e06730a6758b49bfab_04677e6e-c31b-4db9-ab22-93d3201dff50.webp?v=1782992596"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ea0514d7a99d3748d0777e06730a6758b49bfab_04677e6e-c31b-4db9-ab22-93d3201dff50.webp?v=1782992596","width":2000},{"alt":null,"id":27664068608099,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/751afb9a9cc528c25d151a968efa3a34bb19811a_27ad9c44-48eb-4d34-b3eb-f1e3ee04d687.webp?v=1782993056"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/751afb9a9cc528c25d151a968efa3a34bb19811a_27ad9c44-48eb-4d34-b3eb-f1e3ee04d687.webp?v=1782993056","width":2000},{"alt":null,"id":27664068903011,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c73769f3553cacbedaa0ee0918e21b917fb3ed73_03a8653b-c6fa-4c65-9d96-66be0c419e1d.webp?v=1782993057"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c73769f3553cacbedaa0ee0918e21b917fb3ed73_03a8653b-c6fa-4c65-9d96-66be0c419e1d.webp?v=1782993057","width":2000},{"alt":null,"id":27664069132387,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78022dc7036dd9652fda7e47ac1b508997f0a6c8_626262c7-65e1-497c-a7c1-2cc4dd0428f7.webp?v=1782993057"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78022dc7036dd9652fda7e47ac1b508997f0a6c8_626262c7-65e1-497c-a7c1-2cc4dd0428f7.webp?v=1782993057","width":2000},{"alt":null,"id":27664069328995,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ea0514d7a99d3748d0777e06730a6758b49bfab_9d9f5b84-c821-480a-aa19-ab651332fda0.webp?v=1782993058"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ea0514d7a99d3748d0777e06730a6758b49bfab_9d9f5b84-c821-480a-aa19-ab651332fda0.webp?v=1782993058","width":2000},{"alt":null,"id":27664148463715,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/751afb9a9cc528c25d151a968efa3a34bb19811a_35a66f2c-6265-4c8f-9d0d-fb86a2d5cb35.webp?v=1782993290"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/751afb9a9cc528c25d151a968efa3a34bb19811a_35a66f2c-6265-4c8f-9d0d-fb86a2d5cb35.webp?v=1782993290","width":2000},{"alt":null,"id":27664148955235,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c73769f3553cacbedaa0ee0918e21b917fb3ed73_68c71b46-ebf7-4f2f-805a-85dc1008a991.webp?v=1782993291"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c73769f3553cacbedaa0ee0918e21b917fb3ed73_68c71b46-ebf7-4f2f-805a-85dc1008a991.webp?v=1782993291","width":2000},{"alt":null,"id":27664149315683,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78022dc7036dd9652fda7e47ac1b508997f0a6c8_679fd946-7816-4030-9edc-5314779c87c5.webp?v=1782993292"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78022dc7036dd9652fda7e47ac1b508997f0a6c8_679fd946-7816-4030-9edc-5314779c87c5.webp?v=1782993292","width":2000},{"alt":null,"id":27664149643363,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ea0514d7a99d3748d0777e06730a6758b49bfab_ad2a3dbd-15c0-4fa0-95fb-c145c8d17660.webp?v=1782993293"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ea0514d7a99d3748d0777e06730a6758b49bfab_ad2a3dbd-15c0-4fa0-95fb-c145c8d17660.webp?v=1782993293","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43102920474723,"title":"Black \/ Classic","option1":"Black","option2":"Classic","option3":null,"sku":"SST0122852-KF69","requires_shipping":true,"taxable":true,"featured_image":{"id":30287165227107,"product_id":6987353161827,"position":1,"created_at":"2023-07-30T18:46:33+08:00","updated_at":"2023-07-30T18:46:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-KF69_51de2d47-105f-4999-8239-199232225f0c.png?v=1690713993","variant_ids":[43102920474723,43102920540259,43102920605795,43102920638563]},"available":true,"name":"iPhone 13 mini SolidSuit 老屋顏 老招牌2 - 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-KF69","featured_media":{"alt":null,"id":22645874983011,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-KF69_51de2d47-105f-4999-8239-199232225f0c.png?v=1690713993"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102920540259,"title":"Ash Grey \/ Classic","option1":"Ash Grey","option2":"Classic","option3":null,"sku":"SST01228O8-KF69","requires_shipping":true,"taxable":true,"featured_image":{"id":30287165227107,"product_id":6987353161827,"position":1,"created_at":"2023-07-30T18:46:33+08:00","updated_at":"2023-07-30T18:46:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-KF69_51de2d47-105f-4999-8239-199232225f0c.png?v=1690713993","variant_ids":[43102920474723,43102920540259,43102920605795,43102920638563]},"available":true,"name":"iPhone 13 mini SolidSuit 老屋顏 老招牌2 - 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-KF69","featured_media":{"alt":null,"id":22645874983011,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-KF69_51de2d47-105f-4999-8239-199232225f0c.png?v=1690713993"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102920605795,"title":"Seaweed Green \/ Classic","option1":"Seaweed Green","option2":"Classic","option3":null,"sku":"SST01228Z8-KF69","requires_shipping":true,"taxable":true,"featured_image":{"id":30287165227107,"product_id":6987353161827,"position":1,"created_at":"2023-07-30T18:46:33+08:00","updated_at":"2023-07-30T18:46:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-KF69_51de2d47-105f-4999-8239-199232225f0c.png?v=1690713993","variant_ids":[43102920474723,43102920540259,43102920605795,43102920638563]},"available":true,"name":"iPhone 13 mini SolidSuit 老屋顏 老招牌2 - 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-KF69","featured_media":{"alt":null,"id":22645874983011,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-KF69_51de2d47-105f-4999-8239-199232225f0c.png?v=1690713993"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102920638563,"title":"Tide Blue \/ Classic","option1":"Tide Blue","option2":"Classic","option3":null,"sku":"SST01228Z9-KF69","requires_shipping":true,"taxable":true,"featured_image":{"id":30287165227107,"product_id":6987353161827,"position":1,"created_at":"2023-07-30T18:46:33+08:00","updated_at":"2023-07-30T18:46:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-KF69_51de2d47-105f-4999-8239-199232225f0c.png?v=1690713993","variant_ids":[43102920474723,43102920540259,43102920605795,43102920638563]},"available":true,"name":"iPhone 13 mini SolidSuit 老屋顏 老招牌2 - 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-KF69","featured_media":{"alt":null,"id":22645874983011,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-KF69_51de2d47-105f-4999-8239-199232225f0c.png?v=1690713993"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43102920474723,"title":"Black \/ Classic","option1":"Black","option2":"Classic","option3":null,"sku":"SST0122852-KF69","requires_shipping":true,"taxable":true,"featured_image":{"id":30287165227107,"product_id":6987353161827,"position":1,"created_at":"2023-07-30T18:46:33+08:00","updated_at":"2023-07-30T18:46:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-KF69_51de2d47-105f-4999-8239-199232225f0c.png?v=1690713993","variant_ids":[43102920474723,43102920540259,43102920605795,43102920638563]},"available":true,"name":"iPhone 13 mini SolidSuit 老屋顏 老招牌2 - 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-KF69","featured_media":{"alt":null,"id":22645874983011,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-KF69_51de2d47-105f-4999-8239-199232225f0c.png?v=1690713993"}},"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: "停產"
}