$product = {"id":6987338481763,"title":"iPhone 13 mini SolidSuit 老屋顏 果菜市場","handle":"iphone-13-mini-solidsuit-classic-kf49","description":null,"published_at":"2023-08-03T01:37:02+08:00","created_at":"2023-07-30T16:08:03+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":43101768876131,"title":"Black \/ Classic","option1":"Black","option2":"Classic","option3":null,"sku":"SST0122852-KF49","requires_shipping":true,"taxable":true,"featured_image":{"id":30287151693923,"product_id":6987338481763,"position":1,"created_at":"2023-07-30T18:44:55+08:00","updated_at":"2023-07-30T18:44:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-KF49_4c366952-c034-4f46-b47d-1ae83915f265.png?v=1690713895","variant_ids":[43101768876131,43101768941667,43101769007203,43101769039971]},"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-KF49","featured_media":{"alt":null,"id":22645861449827,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-KF49_4c366952-c034-4f46-b47d-1ae83915f265.png?v=1690713895"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43101768941667,"title":"Ash Grey \/ Classic","option1":"Ash Grey","option2":"Classic","option3":null,"sku":"SST01228O8-KF49","requires_shipping":true,"taxable":true,"featured_image":{"id":30287151693923,"product_id":6987338481763,"position":1,"created_at":"2023-07-30T18:44:55+08:00","updated_at":"2023-07-30T18:44:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-KF49_4c366952-c034-4f46-b47d-1ae83915f265.png?v=1690713895","variant_ids":[43101768876131,43101768941667,43101769007203,43101769039971]},"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-KF49","featured_media":{"alt":null,"id":22645861449827,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-KF49_4c366952-c034-4f46-b47d-1ae83915f265.png?v=1690713895"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43101769007203,"title":"Seaweed Green \/ Classic","option1":"Seaweed Green","option2":"Classic","option3":null,"sku":"SST01228Z8-KF49","requires_shipping":true,"taxable":true,"featured_image":{"id":30287151693923,"product_id":6987338481763,"position":1,"created_at":"2023-07-30T18:44:55+08:00","updated_at":"2023-07-30T18:44:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-KF49_4c366952-c034-4f46-b47d-1ae83915f265.png?v=1690713895","variant_ids":[43101768876131,43101768941667,43101769007203,43101769039971]},"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-KF49","featured_media":{"alt":null,"id":22645861449827,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-KF49_4c366952-c034-4f46-b47d-1ae83915f265.png?v=1690713895"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43101769039971,"title":"Tide Blue \/ Classic","option1":"Tide Blue","option2":"Classic","option3":null,"sku":"SST01228Z9-KF49","requires_shipping":true,"taxable":true,"featured_image":{"id":30287151693923,"product_id":6987338481763,"position":1,"created_at":"2023-07-30T18:44:55+08:00","updated_at":"2023-07-30T18:44:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-KF49_4c366952-c034-4f46-b47d-1ae83915f265.png?v=1690713895","variant_ids":[43101768876131,43101768941667,43101769007203,43101769039971]},"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-KF49","featured_media":{"alt":null,"id":22645861449827,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-KF49_4c366952-c034-4f46-b47d-1ae83915f265.png?v=1690713895"}},"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-KF49_4c366952-c034-4f46-b47d-1ae83915f265.png?v=1690713895","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0967ff99b19c1fe5387e685c684aacbb3861164b.webp?v=1782975239","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19e0e184812d1fdf0c25f39b7e0cae04c60dadba.webp?v=1782975240","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7edeb31d7c660ad3c4c375b330cc77361ff4b83.webp?v=1782975240","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4239bde38e2fececdbfe7bf08cfff7389723e31.webp?v=1782975241","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0967ff99b19c1fe5387e685c684aacbb3861164b_c9e0d750-97ac-43c2-9b0c-a8ebcb234b77.webp?v=1782992574","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19e0e184812d1fdf0c25f39b7e0cae04c60dadba_49d1c70e-b00a-4deb-8479-f503c688e4a2.webp?v=1782992577","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7edeb31d7c660ad3c4c375b330cc77361ff4b83_900e3221-3f3c-4509-b746-b5b72104a7fe.webp?v=1782992579","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4239bde38e2fececdbfe7bf08cfff7389723e31_cd159c80-8d13-42f7-a148-00ff538d6dae.webp?v=1782992583","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0967ff99b19c1fe5387e685c684aacbb3861164b_388be73a-928c-4839-8265-19857f74ab57.webp?v=1782993049","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19e0e184812d1fdf0c25f39b7e0cae04c60dadba_61156034-4c0e-411b-a72a-1b1e22a4a7c6.webp?v=1782993050","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7edeb31d7c660ad3c4c375b330cc77361ff4b83_3574191f-5eed-401f-bfa2-5f58047378c9.webp?v=1782993050","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4239bde38e2fececdbfe7bf08cfff7389723e31_5b356870-f552-4cad-829c-5dc926c62a60.webp?v=1782993051","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0967ff99b19c1fe5387e685c684aacbb3861164b_1cbb9f0f-b3b8-4206-be34-7d8f29bf3d8f.webp?v=1782993283","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19e0e184812d1fdf0c25f39b7e0cae04c60dadba_9da9a58c-9e8c-48d2-8eb3-db070ab6dee9.webp?v=1782993284","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7edeb31d7c660ad3c4c375b330cc77361ff4b83_6992717a-818d-4ecf-82d2-54dd9432279b.webp?v=1782993285","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4239bde38e2fececdbfe7bf08cfff7389723e31_7f379fd6-5a77-4450-9cac-aacdca4b7813.webp?v=1782993285"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-KF49_4c366952-c034-4f46-b47d-1ae83915f265.png?v=1690713895","options":["color","Types"],"media":[{"alt":null,"id":22645861449827,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-KF49_4c366952-c034-4f46-b47d-1ae83915f265.png?v=1690713895"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-KF49_4c366952-c034-4f46-b47d-1ae83915f265.png?v=1690713895","width":2000},{"alt":null,"id":27658509320291,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0967ff99b19c1fe5387e685c684aacbb3861164b.webp?v=1782975239"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0967ff99b19c1fe5387e685c684aacbb3861164b.webp?v=1782975239","width":2000},{"alt":null,"id":27658509549667,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19e0e184812d1fdf0c25f39b7e0cae04c60dadba.webp?v=1782975240"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19e0e184812d1fdf0c25f39b7e0cae04c60dadba.webp?v=1782975240","width":2000},{"alt":null,"id":27658509746275,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7edeb31d7c660ad3c4c375b330cc77361ff4b83.webp?v=1782975240"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7edeb31d7c660ad3c4c375b330cc77361ff4b83.webp?v=1782975240","width":2000},{"alt":null,"id":27658509844579,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4239bde38e2fececdbfe7bf08cfff7389723e31.webp?v=1782975241"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4239bde38e2fececdbfe7bf08cfff7389723e31.webp?v=1782975241","width":2000},{"alt":null,"id":27663868330083,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0967ff99b19c1fe5387e685c684aacbb3861164b_c9e0d750-97ac-43c2-9b0c-a8ebcb234b77.webp?v=1782992574"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0967ff99b19c1fe5387e685c684aacbb3861164b_c9e0d750-97ac-43c2-9b0c-a8ebcb234b77.webp?v=1782992574","width":2000},{"alt":null,"id":27663868887139,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19e0e184812d1fdf0c25f39b7e0cae04c60dadba_49d1c70e-b00a-4deb-8479-f503c688e4a2.webp?v=1782992577"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19e0e184812d1fdf0c25f39b7e0cae04c60dadba_49d1c70e-b00a-4deb-8479-f503c688e4a2.webp?v=1782992577","width":2000},{"alt":null,"id":27663869575267,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7edeb31d7c660ad3c4c375b330cc77361ff4b83_900e3221-3f3c-4509-b746-b5b72104a7fe.webp?v=1782992579"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7edeb31d7c660ad3c4c375b330cc77361ff4b83_900e3221-3f3c-4509-b746-b5b72104a7fe.webp?v=1782992579","width":2000},{"alt":null,"id":27663870230627,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4239bde38e2fececdbfe7bf08cfff7389723e31_cd159c80-8d13-42f7-a148-00ff538d6dae.webp?v=1782992583"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4239bde38e2fececdbfe7bf08cfff7389723e31_cd159c80-8d13-42f7-a148-00ff538d6dae.webp?v=1782992583","width":2000},{"alt":null,"id":27664065232995,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0967ff99b19c1fe5387e685c684aacbb3861164b_388be73a-928c-4839-8265-19857f74ab57.webp?v=1782993049"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0967ff99b19c1fe5387e685c684aacbb3861164b_388be73a-928c-4839-8265-19857f74ab57.webp?v=1782993049","width":2000},{"alt":null,"id":27664065527907,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19e0e184812d1fdf0c25f39b7e0cae04c60dadba_61156034-4c0e-411b-a72a-1b1e22a4a7c6.webp?v=1782993050"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19e0e184812d1fdf0c25f39b7e0cae04c60dadba_61156034-4c0e-411b-a72a-1b1e22a4a7c6.webp?v=1782993050","width":2000},{"alt":null,"id":27664065888355,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7edeb31d7c660ad3c4c375b330cc77361ff4b83_3574191f-5eed-401f-bfa2-5f58047378c9.webp?v=1782993050"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7edeb31d7c660ad3c4c375b330cc77361ff4b83_3574191f-5eed-401f-bfa2-5f58047378c9.webp?v=1782993050","width":2000},{"alt":null,"id":27664066216035,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4239bde38e2fececdbfe7bf08cfff7389723e31_5b356870-f552-4cad-829c-5dc926c62a60.webp?v=1782993051"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4239bde38e2fececdbfe7bf08cfff7389723e31_5b356870-f552-4cad-829c-5dc926c62a60.webp?v=1782993051","width":2000},{"alt":null,"id":27664144105571,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0967ff99b19c1fe5387e685c684aacbb3861164b_1cbb9f0f-b3b8-4206-be34-7d8f29bf3d8f.webp?v=1782993283"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0967ff99b19c1fe5387e685c684aacbb3861164b_1cbb9f0f-b3b8-4206-be34-7d8f29bf3d8f.webp?v=1782993283","width":2000},{"alt":null,"id":27664144236643,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19e0e184812d1fdf0c25f39b7e0cae04c60dadba_9da9a58c-9e8c-48d2-8eb3-db070ab6dee9.webp?v=1782993284"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19e0e184812d1fdf0c25f39b7e0cae04c60dadba_9da9a58c-9e8c-48d2-8eb3-db070ab6dee9.webp?v=1782993284","width":2000},{"alt":null,"id":27664144466019,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7edeb31d7c660ad3c4c375b330cc77361ff4b83_6992717a-818d-4ecf-82d2-54dd9432279b.webp?v=1782993285"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7edeb31d7c660ad3c4c375b330cc77361ff4b83_6992717a-818d-4ecf-82d2-54dd9432279b.webp?v=1782993285","width":2000},{"alt":null,"id":27664144793699,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4239bde38e2fececdbfe7bf08cfff7389723e31_7f379fd6-5a77-4450-9cac-aacdca4b7813.webp?v=1782993285"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4239bde38e2fececdbfe7bf08cfff7389723e31_7f379fd6-5a77-4450-9cac-aacdca4b7813.webp?v=1782993285","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43101768876131,"title":"Black \/ Classic","option1":"Black","option2":"Classic","option3":null,"sku":"SST0122852-KF49","requires_shipping":true,"taxable":true,"featured_image":{"id":30287151693923,"product_id":6987338481763,"position":1,"created_at":"2023-07-30T18:44:55+08:00","updated_at":"2023-07-30T18:44:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-KF49_4c366952-c034-4f46-b47d-1ae83915f265.png?v=1690713895","variant_ids":[43101768876131,43101768941667,43101769007203,43101769039971]},"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-KF49","featured_media":{"alt":null,"id":22645861449827,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-KF49_4c366952-c034-4f46-b47d-1ae83915f265.png?v=1690713895"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43101768941667,"title":"Ash Grey \/ Classic","option1":"Ash Grey","option2":"Classic","option3":null,"sku":"SST01228O8-KF49","requires_shipping":true,"taxable":true,"featured_image":{"id":30287151693923,"product_id":6987338481763,"position":1,"created_at":"2023-07-30T18:44:55+08:00","updated_at":"2023-07-30T18:44:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-KF49_4c366952-c034-4f46-b47d-1ae83915f265.png?v=1690713895","variant_ids":[43101768876131,43101768941667,43101769007203,43101769039971]},"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-KF49","featured_media":{"alt":null,"id":22645861449827,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-KF49_4c366952-c034-4f46-b47d-1ae83915f265.png?v=1690713895"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43101769007203,"title":"Seaweed Green \/ Classic","option1":"Seaweed Green","option2":"Classic","option3":null,"sku":"SST01228Z8-KF49","requires_shipping":true,"taxable":true,"featured_image":{"id":30287151693923,"product_id":6987338481763,"position":1,"created_at":"2023-07-30T18:44:55+08:00","updated_at":"2023-07-30T18:44:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-KF49_4c366952-c034-4f46-b47d-1ae83915f265.png?v=1690713895","variant_ids":[43101768876131,43101768941667,43101769007203,43101769039971]},"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-KF49","featured_media":{"alt":null,"id":22645861449827,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-KF49_4c366952-c034-4f46-b47d-1ae83915f265.png?v=1690713895"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43101769039971,"title":"Tide Blue \/ Classic","option1":"Tide Blue","option2":"Classic","option3":null,"sku":"SST01228Z9-KF49","requires_shipping":true,"taxable":true,"featured_image":{"id":30287151693923,"product_id":6987338481763,"position":1,"created_at":"2023-07-30T18:44:55+08:00","updated_at":"2023-07-30T18:44:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-KF49_4c366952-c034-4f46-b47d-1ae83915f265.png?v=1690713895","variant_ids":[43101768876131,43101768941667,43101769007203,43101769039971]},"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-KF49","featured_media":{"alt":null,"id":22645861449827,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-KF49_4c366952-c034-4f46-b47d-1ae83915f265.png?v=1690713895"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43101768876131,"title":"Black \/ Classic","option1":"Black","option2":"Classic","option3":null,"sku":"SST0122852-KF49","requires_shipping":true,"taxable":true,"featured_image":{"id":30287151693923,"product_id":6987338481763,"position":1,"created_at":"2023-07-30T18:44:55+08:00","updated_at":"2023-07-30T18:44:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-KF49_4c366952-c034-4f46-b47d-1ae83915f265.png?v=1690713895","variant_ids":[43101768876131,43101768941667,43101769007203,43101769039971]},"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-KF49","featured_media":{"alt":null,"id":22645861449827,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-KF49_4c366952-c034-4f46-b47d-1ae83915f265.png?v=1690713895"}},"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: "停產" }