$product = {"id":7577182142563,"title":"iPhone 14 Pro SolidSuit (MagSafe 兼容) Scooby-Doo史酷比 史酷比","handle":"iphone-14-pro-solidsuit-classic-magsafe-yo01","description":null,"published_at":"2024-07-22T14:57:06+08:00","created_at":"2024-07-19T17:59:44+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師SolidSuit MagSafe專區-摩登原始人 The Flintstones","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-warnerbros-classics","device-iPhone 14 Pro","merge","reseller-warnerbros-classics"],"price":125000,"price_min":125000,"price_max":125000,"available":true,"price_varies":false,"compare_at_price":null,"compare_at_price_min":0,"compare_at_price_max":0,"compare_at_price_varies":false,"variants":[{"id":42560773685347,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0126252-YO01","requires_shipping":true,"taxable":true,"featured_image":{"id":36142590754915,"product_id":7577182142563,"position":9,"created_at":"2026-07-01T13:04:02+08:00","updated_at":"2026-07-01T13:04:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea5fb854218060332a5a5681d2e559e859a8923f.webp?v=1782882244","variant_ids":[42560773685347]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) Scooby-Doo史酷比 史酷比 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0126252-YO01","featured_media":{"alt":null,"id":27647480954979,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea5fb854218060332a5a5681d2e559e859a8923f.webp?v=1782882244"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42560773718115,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MST0126253-YO01","requires_shipping":true,"taxable":true,"featured_image":{"id":36142590558307,"product_id":7577182142563,"position":8,"created_at":"2026-07-01T13:04:01+08:00","updated_at":"2026-07-01T13:04:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09d1f4ab443b30785fc1aaf6329ac8675aacc62b.webp?v=1782882243","variant_ids":[42560773718115]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) Scooby-Doo史酷比 史酷比 - White","public_title":"White","options":["White"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0126253-YO01","featured_media":{"alt":null,"id":27647480758371,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09d1f4ab443b30785fc1aaf6329ac8675aacc62b.webp?v=1782882243"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42560773783651,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MST01262O8-YO01","requires_shipping":true,"taxable":true,"featured_image":{"id":36142588919907,"product_id":7577182142563,"position":2,"created_at":"2026-07-01T13:03:58+08:00","updated_at":"2026-07-01T13:04:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/780528aa0254535acae012b2840f5fcfa5ca61a6.webp?v=1782882240","variant_ids":[42560773783651]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) Scooby-Doo史酷比 史酷比 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01262O8-YO01","featured_media":{"alt":null,"id":27647479087203,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/780528aa0254535acae012b2840f5fcfa5ca61a6.webp?v=1782882240"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42560773881955,"title":"Antique Bronze","option1":"Antique Bronze","option2":null,"option3":null,"sku":"MST01262P0-YO01","requires_shipping":true,"taxable":true,"featured_image":{"id":32041942581347,"product_id":7577182142563,"position":1,"created_at":"2024-07-19T17:59:49+08:00","updated_at":"2024-07-19T17:59:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/113ac2de90c22b0ca06523c641e0f4b58dc04f15.webp?v=1721383189","variant_ids":[42560773881955,42560774209635]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) Scooby-Doo史酷比 史酷比 - Antique Bronze","public_title":"Antique Bronze","options":["Antique Bronze"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01262P0-YO01","featured_media":{"alt":null,"id":24416017547363,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/113ac2de90c22b0ca06523c641e0f4b58dc04f15.webp?v=1721383189"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42560773914723,"title":"Violet","option1":"Violet","option2":null,"option3":null,"sku":"MST01262P1-YO01","requires_shipping":true,"taxable":true,"featured_image":{"id":36142591049827,"product_id":7577182142563,"position":10,"created_at":"2026-07-01T13:04:02+08:00","updated_at":"2026-07-01T13:04:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d35611a0e18d48551bd43f55cdad8c33b3e1bd01.webp?v=1782882244","variant_ids":[42560773914723]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) Scooby-Doo史酷比 史酷比 - Violet","public_title":"Violet","options":["Violet"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01262P1-YO01","featured_media":{"alt":null,"id":27647481249891,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d35611a0e18d48551bd43f55cdad8c33b3e1bd01.webp?v=1782882244"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42560773947491,"title":"Sage Green","option1":"Sage Green","option2":null,"option3":null,"sku":"MST01262P2-YO01","requires_shipping":true,"taxable":true,"featured_image":{"id":36142591541347,"product_id":7577182142563,"position":12,"created_at":"2026-07-01T13:04:04+08:00","updated_at":"2026-07-01T13:04:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99e84b6b3b88209c403c9bce18ca179857700446.webp?v=1782882246","variant_ids":[42560773947491]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) Scooby-Doo史酷比 史酷比 - Sage Green","public_title":"Sage Green","options":["Sage Green"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01262P2-YO01","featured_media":{"alt":null,"id":27647481741411,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99e84b6b3b88209c403c9bce18ca179857700446.webp?v=1782882246"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42560773980259,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MST01262Z7-YO01","requires_shipping":true,"taxable":true,"featured_image":{"id":36142591344739,"product_id":7577182142563,"position":11,"created_at":"2026-07-01T13:04:03+08:00","updated_at":"2026-07-01T13:04:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad90f7b55f28fd42f4c2ebb686fea1e5ce590451.webp?v=1782882245","variant_ids":[42560773980259]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) Scooby-Doo史酷比 史酷比 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01262Z7-YO01","featured_media":{"alt":null,"id":27647481512035,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad90f7b55f28fd42f4c2ebb686fea1e5ce590451.webp?v=1782882245"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42560774013027,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"MST01262Z8-YO01","requires_shipping":true,"taxable":true,"featured_image":{"id":36142589870179,"product_id":7577182142563,"position":5,"created_at":"2026-07-01T13:04:00+08:00","updated_at":"2026-07-01T13:04:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edecfb3c0014bdf0b4b8a72ebe673d3a0f44af16.webp?v=1782882242","variant_ids":[42560774013027]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) Scooby-Doo史酷比 史酷比 - Seaweed Green","public_title":"Seaweed Green","options":["Seaweed Green"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01262Z8-YO01","featured_media":{"alt":null,"id":27647480070243,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edecfb3c0014bdf0b4b8a72ebe673d3a0f44af16.webp?v=1782882242"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42560774045795,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"MST01262Z9-YO01","requires_shipping":true,"taxable":true,"featured_image":{"id":36142590132323,"product_id":7577182142563,"position":6,"created_at":"2026-07-01T13:04:00+08:00","updated_at":"2026-07-01T13:04:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0de376bc9f1e53c3d93cee8964fffaa9c0d7ae5e.webp?v=1782882242","variant_ids":[42560774045795]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) Scooby-Doo史酷比 史酷比 - Tide Blue","public_title":"Tide Blue","options":["Tide Blue"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01262Z9-YO01","featured_media":{"alt":null,"id":27647480332387,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0de376bc9f1e53c3d93cee8964fffaa9c0d7ae5e.webp?v=1782882242"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42560774078563,"title":"Ocean Blue","option1":"Ocean Blue","option2":null,"option3":null,"sku":"MST012620A-YO01","requires_shipping":true,"taxable":true,"featured_image":{"id":36142589542499,"product_id":7577182142563,"position":4,"created_at":"2026-07-01T13:03:59+08:00","updated_at":"2026-07-01T13:04:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dbb487b9a5c2450f86e1ce6bc945495425cf9b3d.webp?v=1782882241","variant_ids":[42560774078563]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) Scooby-Doo史酷比 史酷比 - Ocean Blue","public_title":"Ocean Blue","options":["Ocean Blue"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012620A-YO01","featured_media":{"alt":null,"id":27647479742563,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dbb487b9a5c2450f86e1ce6bc945495425cf9b3d.webp?v=1782882241"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42560774111331,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MST012620B-YO01","requires_shipping":true,"taxable":true,"featured_image":{"id":36142590361699,"product_id":7577182142563,"position":7,"created_at":"2026-07-01T13:04:01+08:00","updated_at":"2026-07-01T13:04:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/98ca571bfdcd1313f106a616d622ac8c849a2bc5.webp?v=1782882243","variant_ids":[42560774111331]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) Scooby-Doo史酷比 史酷比 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012620B-YO01","featured_media":{"alt":null,"id":27647480561763,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/98ca571bfdcd1313f106a616d622ac8c849a2bc5.webp?v=1782882243"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42560774209635,"title":"Classic Blue","option1":"Classic Blue","option2":null,"option3":null,"sku":"MST012620C-YO01","requires_shipping":true,"taxable":true,"featured_image":{"id":32041942581347,"product_id":7577182142563,"position":1,"created_at":"2024-07-19T17:59:49+08:00","updated_at":"2024-07-19T17:59:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/113ac2de90c22b0ca06523c641e0f4b58dc04f15.webp?v=1721383189","variant_ids":[42560773881955,42560774209635]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) Scooby-Doo史酷比 史酷比 - Classic Blue","public_title":"Classic Blue","options":["Classic Blue"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012620C-YO01","featured_media":{"alt":null,"id":24416017547363,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/113ac2de90c22b0ca06523c641e0f4b58dc04f15.webp?v=1721383189"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42560774242403,"title":"Parakeet Green","option1":"Parakeet Green","option2":null,"option3":null,"sku":"MST012620E-YO01","requires_shipping":true,"taxable":true,"featured_image":{"id":36142589214819,"product_id":7577182142563,"position":3,"created_at":"2026-07-01T13:03:59+08:00","updated_at":"2026-07-01T13:04:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da86502cd518ccc3eeb75f6c9411561da5fd3f61.webp?v=1782882240","variant_ids":[42560774242403]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) Scooby-Doo史酷比 史酷比 - Parakeet Green","public_title":"Parakeet Green","options":["Parakeet Green"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012620E-YO01","featured_media":{"alt":null,"id":27647479414883,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da86502cd518ccc3eeb75f6c9411561da5fd3f61.webp?v=1782882240"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/113ac2de90c22b0ca06523c641e0f4b58dc04f15.webp?v=1721383189","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/780528aa0254535acae012b2840f5fcfa5ca61a6.webp?v=1782882240","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da86502cd518ccc3eeb75f6c9411561da5fd3f61.webp?v=1782882240","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dbb487b9a5c2450f86e1ce6bc945495425cf9b3d.webp?v=1782882241","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edecfb3c0014bdf0b4b8a72ebe673d3a0f44af16.webp?v=1782882242","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0de376bc9f1e53c3d93cee8964fffaa9c0d7ae5e.webp?v=1782882242","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/98ca571bfdcd1313f106a616d622ac8c849a2bc5.webp?v=1782882243","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09d1f4ab443b30785fc1aaf6329ac8675aacc62b.webp?v=1782882243","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea5fb854218060332a5a5681d2e559e859a8923f.webp?v=1782882244","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d35611a0e18d48551bd43f55cdad8c33b3e1bd01.webp?v=1782882244","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad90f7b55f28fd42f4c2ebb686fea1e5ce590451.webp?v=1782882245","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99e84b6b3b88209c403c9bce18ca179857700446.webp?v=1782882246"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/113ac2de90c22b0ca06523c641e0f4b58dc04f15.webp?v=1721383189","options":["color"],"media":[{"alt":null,"id":24416017547363,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/113ac2de90c22b0ca06523c641e0f4b58dc04f15.webp?v=1721383189"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/113ac2de90c22b0ca06523c641e0f4b58dc04f15.webp?v=1721383189","width":2000},{"alt":null,"id":27647479087203,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/780528aa0254535acae012b2840f5fcfa5ca61a6.webp?v=1782882240"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/780528aa0254535acae012b2840f5fcfa5ca61a6.webp?v=1782882240","width":2000},{"alt":null,"id":27647479414883,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da86502cd518ccc3eeb75f6c9411561da5fd3f61.webp?v=1782882240"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da86502cd518ccc3eeb75f6c9411561da5fd3f61.webp?v=1782882240","width":2000},{"alt":null,"id":27647479742563,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dbb487b9a5c2450f86e1ce6bc945495425cf9b3d.webp?v=1782882241"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dbb487b9a5c2450f86e1ce6bc945495425cf9b3d.webp?v=1782882241","width":2000},{"alt":null,"id":27647480070243,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edecfb3c0014bdf0b4b8a72ebe673d3a0f44af16.webp?v=1782882242"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edecfb3c0014bdf0b4b8a72ebe673d3a0f44af16.webp?v=1782882242","width":2000},{"alt":null,"id":27647480332387,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0de376bc9f1e53c3d93cee8964fffaa9c0d7ae5e.webp?v=1782882242"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0de376bc9f1e53c3d93cee8964fffaa9c0d7ae5e.webp?v=1782882242","width":2000},{"alt":null,"id":27647480561763,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/98ca571bfdcd1313f106a616d622ac8c849a2bc5.webp?v=1782882243"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/98ca571bfdcd1313f106a616d622ac8c849a2bc5.webp?v=1782882243","width":2000},{"alt":null,"id":27647480758371,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09d1f4ab443b30785fc1aaf6329ac8675aacc62b.webp?v=1782882243"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09d1f4ab443b30785fc1aaf6329ac8675aacc62b.webp?v=1782882243","width":2000},{"alt":null,"id":27647480954979,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea5fb854218060332a5a5681d2e559e859a8923f.webp?v=1782882244"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea5fb854218060332a5a5681d2e559e859a8923f.webp?v=1782882244","width":2000},{"alt":null,"id":27647481249891,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d35611a0e18d48551bd43f55cdad8c33b3e1bd01.webp?v=1782882244"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d35611a0e18d48551bd43f55cdad8c33b3e1bd01.webp?v=1782882244","width":2000},{"alt":null,"id":27647481512035,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad90f7b55f28fd42f4c2ebb686fea1e5ce590451.webp?v=1782882245"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad90f7b55f28fd42f4c2ebb686fea1e5ce590451.webp?v=1782882245","width":2000},{"alt":null,"id":27647481741411,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99e84b6b3b88209c403c9bce18ca179857700446.webp?v=1782882246"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99e84b6b3b88209c403c9bce18ca179857700446.webp?v=1782882246","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":42560773685347,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0126252-YO01","requires_shipping":true,"taxable":true,"featured_image":{"id":36142590754915,"product_id":7577182142563,"position":9,"created_at":"2026-07-01T13:04:02+08:00","updated_at":"2026-07-01T13:04:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea5fb854218060332a5a5681d2e559e859a8923f.webp?v=1782882244","variant_ids":[42560773685347]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) Scooby-Doo史酷比 史酷比 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0126252-YO01","featured_media":{"alt":null,"id":27647480954979,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea5fb854218060332a5a5681d2e559e859a8923f.webp?v=1782882244"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42560773718115,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MST0126253-YO01","requires_shipping":true,"taxable":true,"featured_image":{"id":36142590558307,"product_id":7577182142563,"position":8,"created_at":"2026-07-01T13:04:01+08:00","updated_at":"2026-07-01T13:04:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09d1f4ab443b30785fc1aaf6329ac8675aacc62b.webp?v=1782882243","variant_ids":[42560773718115]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) Scooby-Doo史酷比 史酷比 - White","public_title":"White","options":["White"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0126253-YO01","featured_media":{"alt":null,"id":27647480758371,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09d1f4ab443b30785fc1aaf6329ac8675aacc62b.webp?v=1782882243"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42560773783651,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MST01262O8-YO01","requires_shipping":true,"taxable":true,"featured_image":{"id":36142588919907,"product_id":7577182142563,"position":2,"created_at":"2026-07-01T13:03:58+08:00","updated_at":"2026-07-01T13:04:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/780528aa0254535acae012b2840f5fcfa5ca61a6.webp?v=1782882240","variant_ids":[42560773783651]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) Scooby-Doo史酷比 史酷比 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01262O8-YO01","featured_media":{"alt":null,"id":27647479087203,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/780528aa0254535acae012b2840f5fcfa5ca61a6.webp?v=1782882240"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42560773881955,"title":"Antique Bronze","option1":"Antique Bronze","option2":null,"option3":null,"sku":"MST01262P0-YO01","requires_shipping":true,"taxable":true,"featured_image":{"id":32041942581347,"product_id":7577182142563,"position":1,"created_at":"2024-07-19T17:59:49+08:00","updated_at":"2024-07-19T17:59:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/113ac2de90c22b0ca06523c641e0f4b58dc04f15.webp?v=1721383189","variant_ids":[42560773881955,42560774209635]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) Scooby-Doo史酷比 史酷比 - Antique Bronze","public_title":"Antique Bronze","options":["Antique Bronze"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01262P0-YO01","featured_media":{"alt":null,"id":24416017547363,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/113ac2de90c22b0ca06523c641e0f4b58dc04f15.webp?v=1721383189"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42560773914723,"title":"Violet","option1":"Violet","option2":null,"option3":null,"sku":"MST01262P1-YO01","requires_shipping":true,"taxable":true,"featured_image":{"id":36142591049827,"product_id":7577182142563,"position":10,"created_at":"2026-07-01T13:04:02+08:00","updated_at":"2026-07-01T13:04:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d35611a0e18d48551bd43f55cdad8c33b3e1bd01.webp?v=1782882244","variant_ids":[42560773914723]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) Scooby-Doo史酷比 史酷比 - Violet","public_title":"Violet","options":["Violet"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01262P1-YO01","featured_media":{"alt":null,"id":27647481249891,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d35611a0e18d48551bd43f55cdad8c33b3e1bd01.webp?v=1782882244"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42560773947491,"title":"Sage Green","option1":"Sage Green","option2":null,"option3":null,"sku":"MST01262P2-YO01","requires_shipping":true,"taxable":true,"featured_image":{"id":36142591541347,"product_id":7577182142563,"position":12,"created_at":"2026-07-01T13:04:04+08:00","updated_at":"2026-07-01T13:04:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99e84b6b3b88209c403c9bce18ca179857700446.webp?v=1782882246","variant_ids":[42560773947491]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) Scooby-Doo史酷比 史酷比 - Sage Green","public_title":"Sage Green","options":["Sage Green"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01262P2-YO01","featured_media":{"alt":null,"id":27647481741411,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99e84b6b3b88209c403c9bce18ca179857700446.webp?v=1782882246"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42560773980259,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MST01262Z7-YO01","requires_shipping":true,"taxable":true,"featured_image":{"id":36142591344739,"product_id":7577182142563,"position":11,"created_at":"2026-07-01T13:04:03+08:00","updated_at":"2026-07-01T13:04:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad90f7b55f28fd42f4c2ebb686fea1e5ce590451.webp?v=1782882245","variant_ids":[42560773980259]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) Scooby-Doo史酷比 史酷比 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01262Z7-YO01","featured_media":{"alt":null,"id":27647481512035,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad90f7b55f28fd42f4c2ebb686fea1e5ce590451.webp?v=1782882245"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42560774013027,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"MST01262Z8-YO01","requires_shipping":true,"taxable":true,"featured_image":{"id":36142589870179,"product_id":7577182142563,"position":5,"created_at":"2026-07-01T13:04:00+08:00","updated_at":"2026-07-01T13:04:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edecfb3c0014bdf0b4b8a72ebe673d3a0f44af16.webp?v=1782882242","variant_ids":[42560774013027]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) Scooby-Doo史酷比 史酷比 - Seaweed Green","public_title":"Seaweed Green","options":["Seaweed Green"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01262Z8-YO01","featured_media":{"alt":null,"id":27647480070243,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edecfb3c0014bdf0b4b8a72ebe673d3a0f44af16.webp?v=1782882242"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42560774045795,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"MST01262Z9-YO01","requires_shipping":true,"taxable":true,"featured_image":{"id":36142590132323,"product_id":7577182142563,"position":6,"created_at":"2026-07-01T13:04:00+08:00","updated_at":"2026-07-01T13:04:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0de376bc9f1e53c3d93cee8964fffaa9c0d7ae5e.webp?v=1782882242","variant_ids":[42560774045795]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) Scooby-Doo史酷比 史酷比 - Tide Blue","public_title":"Tide Blue","options":["Tide Blue"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01262Z9-YO01","featured_media":{"alt":null,"id":27647480332387,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0de376bc9f1e53c3d93cee8964fffaa9c0d7ae5e.webp?v=1782882242"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42560774078563,"title":"Ocean Blue","option1":"Ocean Blue","option2":null,"option3":null,"sku":"MST012620A-YO01","requires_shipping":true,"taxable":true,"featured_image":{"id":36142589542499,"product_id":7577182142563,"position":4,"created_at":"2026-07-01T13:03:59+08:00","updated_at":"2026-07-01T13:04:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dbb487b9a5c2450f86e1ce6bc945495425cf9b3d.webp?v=1782882241","variant_ids":[42560774078563]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) Scooby-Doo史酷比 史酷比 - Ocean Blue","public_title":"Ocean Blue","options":["Ocean Blue"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012620A-YO01","featured_media":{"alt":null,"id":27647479742563,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dbb487b9a5c2450f86e1ce6bc945495425cf9b3d.webp?v=1782882241"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42560774111331,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MST012620B-YO01","requires_shipping":true,"taxable":true,"featured_image":{"id":36142590361699,"product_id":7577182142563,"position":7,"created_at":"2026-07-01T13:04:01+08:00","updated_at":"2026-07-01T13:04:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/98ca571bfdcd1313f106a616d622ac8c849a2bc5.webp?v=1782882243","variant_ids":[42560774111331]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) Scooby-Doo史酷比 史酷比 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012620B-YO01","featured_media":{"alt":null,"id":27647480561763,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/98ca571bfdcd1313f106a616d622ac8c849a2bc5.webp?v=1782882243"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42560774209635,"title":"Classic Blue","option1":"Classic Blue","option2":null,"option3":null,"sku":"MST012620C-YO01","requires_shipping":true,"taxable":true,"featured_image":{"id":32041942581347,"product_id":7577182142563,"position":1,"created_at":"2024-07-19T17:59:49+08:00","updated_at":"2024-07-19T17:59:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/113ac2de90c22b0ca06523c641e0f4b58dc04f15.webp?v=1721383189","variant_ids":[42560773881955,42560774209635]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) Scooby-Doo史酷比 史酷比 - Classic Blue","public_title":"Classic Blue","options":["Classic Blue"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012620C-YO01","featured_media":{"alt":null,"id":24416017547363,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/113ac2de90c22b0ca06523c641e0f4b58dc04f15.webp?v=1721383189"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42560774242403,"title":"Parakeet Green","option1":"Parakeet Green","option2":null,"option3":null,"sku":"MST012620E-YO01","requires_shipping":true,"taxable":true,"featured_image":{"id":36142589214819,"product_id":7577182142563,"position":3,"created_at":"2026-07-01T13:03:59+08:00","updated_at":"2026-07-01T13:04:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da86502cd518ccc3eeb75f6c9411561da5fd3f61.webp?v=1782882240","variant_ids":[42560774242403]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) Scooby-Doo史酷比 史酷比 - Parakeet Green","public_title":"Parakeet Green","options":["Parakeet Green"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012620E-YO01","featured_media":{"alt":null,"id":27647479414883,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da86502cd518ccc3eeb75f6c9411561da5fd3f61.webp?v=1782882240"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":42560773685347,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0126252-YO01","requires_shipping":true,"taxable":true,"featured_image":{"id":36142590754915,"product_id":7577182142563,"position":9,"created_at":"2026-07-01T13:04:02+08:00","updated_at":"2026-07-01T13:04:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea5fb854218060332a5a5681d2e559e859a8923f.webp?v=1782882244","variant_ids":[42560773685347]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) Scooby-Doo史酷比 史酷比 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0126252-YO01","featured_media":{"alt":null,"id":27647480954979,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea5fb854218060332a5a5681d2e559e859a8923f.webp?v=1782882244"}},"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: "停產" }