$product = {"id":7920651567203,"title":"iPhone 15 Clear (MagSafe 兼容) 咒術迴戰 懷玉・玉折角色系列-伏黑甚爾","handle":"iphone-15-jellytint-magsafe-ptt08","description":null,"published_at":"2025-11-10T16:16:29+08:00","created_at":"2025-11-10T16:04:40+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-jujutsu-kaisen","device-iPhone 15","merge","reseller-jujutsu-kaisen"],"price":148000,"price_min":148000,"price_max":148000,"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":43829312815203,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"MCN012950J-PTT08","requires_shipping":true,"taxable":true,"featured_image":{"id":36126114087011,"product_id":7920651567203,"position":13,"created_at":"2026-06-29T16:36:10+08:00","updated_at":"2026-06-29T16:36:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbfb717b002413de5609b2d426074bc7f53396d4_f6ab21d4-8b7b-4c1f-aa5c-77767667147e.webp?v=1782722172","variant_ids":[43829312815203]},"available":true,"name":"iPhone 15 Clear (MagSafe 兼容) 咒術迴戰 懷玉・玉折角色系列-伏黑甚爾 - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012950J-PTT08","featured_media":{"alt":null,"id":27631355822179,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbfb717b002413de5609b2d426074bc7f53396d4_f6ab21d4-8b7b-4c1f-aa5c-77767667147e.webp?v=1782722172"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43829315076195,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"MCN012950G-PTT08","requires_shipping":true,"taxable":true,"featured_image":{"id":36126114218083,"product_id":7920651567203,"position":15,"created_at":"2026-06-29T16:36:11+08:00","updated_at":"2026-06-29T16:36:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/584f2ea68a009a35518df4ada87c6c7246603b36_86e5e0c9-4b0d-4823-a4f8-44ca03e37456.webp?v=1782722173","variant_ids":[43829315076195]},"available":true,"name":"iPhone 15 Clear (MagSafe 兼容) 咒術迴戰 懷玉・玉折角色系列-伏黑甚爾 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012950G-PTT08","featured_media":{"alt":null,"id":27631355986019,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/584f2ea68a009a35518df4ada87c6c7246603b36_86e5e0c9-4b0d-4823-a4f8-44ca03e37456.webp?v=1782722173"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43829315108963,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"MCN012950H-PTT08","requires_shipping":true,"taxable":true,"featured_image":{"id":36126114185315,"product_id":7920651567203,"position":14,"created_at":"2026-06-29T16:36:11+08:00","updated_at":"2026-06-29T16:36:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/027867c5a3c539f570ab2e2e1fece4d461ccb7cf_ed9b1c93-b1f3-4acb-9dfc-2a762dc85bb6.webp?v=1782722173","variant_ids":[43829315108963]},"available":true,"name":"iPhone 15 Clear (MagSafe 兼容) 咒術迴戰 懷玉・玉折角色系列-伏黑甚爾 - Moody Green","public_title":"Moody Green","options":["Moody Green"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012950H-PTT08","featured_media":{"alt":null,"id":27631355920483,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/027867c5a3c539f570ab2e2e1fece4d461ccb7cf_ed9b1c93-b1f3-4acb-9dfc-2a762dc85bb6.webp?v=1782722173"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7151cb6549ada06913d5ee115e126da9a7de0360.webp?v=1762761886","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/584f2ea68a009a35518df4ada87c6c7246603b36.webp?v=1762761887","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/027867c5a3c539f570ab2e2e1fece4d461ccb7cf.webp?v=1762761888","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbfb717b002413de5609b2d426074bc7f53396d4.webp?v=1762761889","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/027867c5a3c539f570ab2e2e1fece4d461ccb7cf_2e051fab-a880-4e96-95b5-1291d0d2b365.webp?v=1782266027","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/584f2ea68a009a35518df4ada87c6c7246603b36_a27dc91c-8fd7-4154-a5a3-97f2dbe00069.webp?v=1782266028","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbfb717b002413de5609b2d426074bc7f53396d4_845bceeb-3686-487b-8322-cb33451758bb.webp?v=1782266028","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/027867c5a3c539f570ab2e2e1fece4d461ccb7cf_7ac6f04e-050b-4673-80c3-38533c950f92.webp?v=1782291665","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/584f2ea68a009a35518df4ada87c6c7246603b36_388c78e8-dc77-410f-a414-440e8850310b.webp?v=1782291666","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbfb717b002413de5609b2d426074bc7f53396d4_193620db-babd-4419-8e76-13988c89fe1f.webp?v=1782291667","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/027867c5a3c539f570ab2e2e1fece4d461ccb7cf_ba4273e5-c365-45aa-a5dc-6ccc4c0625db.webp?v=1782718804","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/584f2ea68a009a35518df4ada87c6c7246603b36_33eaf29a-e100-4b60-8050-e203ea7ad0d7.webp?v=1782718806","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbfb717b002413de5609b2d426074bc7f53396d4_f6ab21d4-8b7b-4c1f-aa5c-77767667147e.webp?v=1782722172","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/027867c5a3c539f570ab2e2e1fece4d461ccb7cf_ed9b1c93-b1f3-4acb-9dfc-2a762dc85bb6.webp?v=1782722173","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/584f2ea68a009a35518df4ada87c6c7246603b36_86e5e0c9-4b0d-4823-a4f8-44ca03e37456.webp?v=1782722173"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7151cb6549ada06913d5ee115e126da9a7de0360.webp?v=1762761886","options":["color"],"media":[{"alt":null,"id":26348299157603,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7151cb6549ada06913d5ee115e126da9a7de0360.webp?v=1762761886"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7151cb6549ada06913d5ee115e126da9a7de0360.webp?v=1762761886","width":2000},{"alt":null,"id":26348299583587,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/584f2ea68a009a35518df4ada87c6c7246603b36.webp?v=1762761887"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/584f2ea68a009a35518df4ada87c6c7246603b36.webp?v=1762761887","width":2000},{"alt":null,"id":26348299845731,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/027867c5a3c539f570ab2e2e1fece4d461ccb7cf.webp?v=1762761888"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/027867c5a3c539f570ab2e2e1fece4d461ccb7cf.webp?v=1762761888","width":2000},{"alt":null,"id":26348300107875,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbfb717b002413de5609b2d426074bc7f53396d4.webp?v=1762761889"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbfb717b002413de5609b2d426074bc7f53396d4.webp?v=1762761889","width":2000},{"alt":null,"id":27587361112163,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/027867c5a3c539f570ab2e2e1fece4d461ccb7cf_2e051fab-a880-4e96-95b5-1291d0d2b365.webp?v=1782266027"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/027867c5a3c539f570ab2e2e1fece4d461ccb7cf_2e051fab-a880-4e96-95b5-1291d0d2b365.webp?v=1782266027","width":2000},{"alt":null,"id":27587361669219,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/584f2ea68a009a35518df4ada87c6c7246603b36_a27dc91c-8fd7-4154-a5a3-97f2dbe00069.webp?v=1782266028"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/584f2ea68a009a35518df4ada87c6c7246603b36_a27dc91c-8fd7-4154-a5a3-97f2dbe00069.webp?v=1782266028","width":2000},{"alt":null,"id":27587361898595,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbfb717b002413de5609b2d426074bc7f53396d4_845bceeb-3686-487b-8322-cb33451758bb.webp?v=1782266028"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbfb717b002413de5609b2d426074bc7f53396d4_845bceeb-3686-487b-8322-cb33451758bb.webp?v=1782266028","width":2000},{"alt":null,"id":27594695180387,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/027867c5a3c539f570ab2e2e1fece4d461ccb7cf_7ac6f04e-050b-4673-80c3-38533c950f92.webp?v=1782291665"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/027867c5a3c539f570ab2e2e1fece4d461ccb7cf_7ac6f04e-050b-4673-80c3-38533c950f92.webp?v=1782291665","width":2000},{"alt":null,"id":27594695835747,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/584f2ea68a009a35518df4ada87c6c7246603b36_388c78e8-dc77-410f-a414-440e8850310b.webp?v=1782291666"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/584f2ea68a009a35518df4ada87c6c7246603b36_388c78e8-dc77-410f-a414-440e8850310b.webp?v=1782291666","width":2000},{"alt":null,"id":27594696130659,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbfb717b002413de5609b2d426074bc7f53396d4_193620db-babd-4419-8e76-13988c89fe1f.webp?v=1782291667"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbfb717b002413de5609b2d426074bc7f53396d4_193620db-babd-4419-8e76-13988c89fe1f.webp?v=1782291667","width":2000},{"alt":null,"id":27630347518051,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/027867c5a3c539f570ab2e2e1fece4d461ccb7cf_ba4273e5-c365-45aa-a5dc-6ccc4c0625db.webp?v=1782718804"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/027867c5a3c539f570ab2e2e1fece4d461ccb7cf_ba4273e5-c365-45aa-a5dc-6ccc4c0625db.webp?v=1782718804","width":2000},{"alt":null,"id":27630348337251,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/584f2ea68a009a35518df4ada87c6c7246603b36_33eaf29a-e100-4b60-8050-e203ea7ad0d7.webp?v=1782718806"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/584f2ea68a009a35518df4ada87c6c7246603b36_33eaf29a-e100-4b60-8050-e203ea7ad0d7.webp?v=1782718806","width":2000},{"alt":null,"id":27631355822179,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbfb717b002413de5609b2d426074bc7f53396d4_f6ab21d4-8b7b-4c1f-aa5c-77767667147e.webp?v=1782722172"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbfb717b002413de5609b2d426074bc7f53396d4_f6ab21d4-8b7b-4c1f-aa5c-77767667147e.webp?v=1782722172","width":2000},{"alt":null,"id":27631355920483,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/027867c5a3c539f570ab2e2e1fece4d461ccb7cf_ed9b1c93-b1f3-4acb-9dfc-2a762dc85bb6.webp?v=1782722173"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/027867c5a3c539f570ab2e2e1fece4d461ccb7cf_ed9b1c93-b1f3-4acb-9dfc-2a762dc85bb6.webp?v=1782722173","width":2000},{"alt":null,"id":27631355986019,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/584f2ea68a009a35518df4ada87c6c7246603b36_86e5e0c9-4b0d-4823-a4f8-44ca03e37456.webp?v=1782722173"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/584f2ea68a009a35518df4ada87c6c7246603b36_86e5e0c9-4b0d-4823-a4f8-44ca03e37456.webp?v=1782722173","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43829312815203,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"MCN012950J-PTT08","requires_shipping":true,"taxable":true,"featured_image":{"id":36126114087011,"product_id":7920651567203,"position":13,"created_at":"2026-06-29T16:36:10+08:00","updated_at":"2026-06-29T16:36:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbfb717b002413de5609b2d426074bc7f53396d4_f6ab21d4-8b7b-4c1f-aa5c-77767667147e.webp?v=1782722172","variant_ids":[43829312815203]},"available":true,"name":"iPhone 15 Clear (MagSafe 兼容) 咒術迴戰 懷玉・玉折角色系列-伏黑甚爾 - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012950J-PTT08","featured_media":{"alt":null,"id":27631355822179,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbfb717b002413de5609b2d426074bc7f53396d4_f6ab21d4-8b7b-4c1f-aa5c-77767667147e.webp?v=1782722172"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43829315076195,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"MCN012950G-PTT08","requires_shipping":true,"taxable":true,"featured_image":{"id":36126114218083,"product_id":7920651567203,"position":15,"created_at":"2026-06-29T16:36:11+08:00","updated_at":"2026-06-29T16:36:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/584f2ea68a009a35518df4ada87c6c7246603b36_86e5e0c9-4b0d-4823-a4f8-44ca03e37456.webp?v=1782722173","variant_ids":[43829315076195]},"available":true,"name":"iPhone 15 Clear (MagSafe 兼容) 咒術迴戰 懷玉・玉折角色系列-伏黑甚爾 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012950G-PTT08","featured_media":{"alt":null,"id":27631355986019,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/584f2ea68a009a35518df4ada87c6c7246603b36_86e5e0c9-4b0d-4823-a4f8-44ca03e37456.webp?v=1782722173"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43829315108963,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"MCN012950H-PTT08","requires_shipping":true,"taxable":true,"featured_image":{"id":36126114185315,"product_id":7920651567203,"position":14,"created_at":"2026-06-29T16:36:11+08:00","updated_at":"2026-06-29T16:36:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/027867c5a3c539f570ab2e2e1fece4d461ccb7cf_ed9b1c93-b1f3-4acb-9dfc-2a762dc85bb6.webp?v=1782722173","variant_ids":[43829315108963]},"available":true,"name":"iPhone 15 Clear (MagSafe 兼容) 咒術迴戰 懷玉・玉折角色系列-伏黑甚爾 - Moody Green","public_title":"Moody Green","options":["Moody Green"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012950H-PTT08","featured_media":{"alt":null,"id":27631355920483,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/027867c5a3c539f570ab2e2e1fece4d461ccb7cf_ed9b1c93-b1f3-4acb-9dfc-2a762dc85bb6.webp?v=1782722173"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43829312815203,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"MCN012950J-PTT08","requires_shipping":true,"taxable":true,"featured_image":{"id":36126114087011,"product_id":7920651567203,"position":13,"created_at":"2026-06-29T16:36:10+08:00","updated_at":"2026-06-29T16:36:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbfb717b002413de5609b2d426074bc7f53396d4_f6ab21d4-8b7b-4c1f-aa5c-77767667147e.webp?v=1782722172","variant_ids":[43829312815203]},"available":true,"name":"iPhone 15 Clear (MagSafe 兼容) 咒術迴戰 懷玉・玉折角色系列-伏黑甚爾 - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012950J-PTT08","featured_media":{"alt":null,"id":27631355822179,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbfb717b002413de5609b2d426074bc7f53396d4_f6ab21d4-8b7b-4c1f-aa5c-77767667147e.webp?v=1782722172"}},"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: "停產" }