$product = {"id":7931286585443,"title":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 白白日記 By Darylhochi Chill","handle":"iphone-13-pro-max-mod-nx-magsafe-ei81","description":null,"published_at":"2025-11-28T11:01:28+08:00","created_at":"2025-11-28T10:07:05+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-darylhochi","device-iPhone 13 Pro Max","merge","reseller-darylhochi"],"price":110000,"price_min":110000,"price_max":110000,"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":43860872659043,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-EI81","requires_shipping":true,"taxable":true,"featured_image":{"id":34861751795811,"product_id":7931286585443,"position":19,"created_at":"2025-11-28T10:27:37+08:00","updated_at":"2025-11-28T10:27:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed84be37ad346cb0cb24846e54c697d9c928a020_c6acb171-0906-4843-96c0-734b8e42a5dc.webp?v=1764296859","variant_ids":[43860872659043]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 白白日記 By Darylhochi Chill - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01232J5-EI81","featured_media":{"alt":null,"id":26426171195491,"position":19,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed84be37ad346cb0cb24846e54c697d9c928a020_c6acb171-0906-4843-96c0-734b8e42a5dc.webp?v=1764296859"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43860872790115,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-EI81","requires_shipping":true,"taxable":true,"featured_image":{"id":34861751894115,"product_id":7931286585443,"position":20,"created_at":"2025-11-28T10:27:37+08:00","updated_at":"2025-11-28T10:27:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7aa0b2d7d45104eda40c3c38ec1cdaa72bfeca45_b5fe72f4-4a1d-43ba-9091-6e55a7fc88a6.webp?v=1764296859","variant_ids":[43860872790115]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 白白日記 By Darylhochi Chill - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0123224-EI81","featured_media":{"alt":null,"id":26426171326563,"position":20,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7aa0b2d7d45104eda40c3c38ec1cdaa72bfeca45_b5fe72f4-4a1d-43ba-9091-6e55a7fc88a6.webp?v=1764296859"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/137e5edff5817fc278d1a911262f97b52e3e311d.webp?v=1764295633","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86e45ddc79beb5043acabb3be1102e0ef62de854.webp?v=1764295635","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c0d24c0685e4dbdbe16e29a12063159d0138449.webp?v=1764295635","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c993b447dcda269a1e594de2e3a57038f228eb1.webp?v=1764295636","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b2d486aa2d146473d13a3972000c9ead51fa362.webp?v=1764295636","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f87193571c7013bb1bceec916a8cddf530f5ead.webp?v=1764295637","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df1f289b27d6af24e32589a8b2ede518a38d2605.webp?v=1764295637","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1600f0ce890693d7d23104fd1ae709f35f25498f.webp?v=1764295639","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed84be37ad346cb0cb24846e54c697d9c928a020.webp?v=1764295643","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7aa0b2d7d45104eda40c3c38ec1cdaa72bfeca45.webp?v=1764295645","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/137e5edff5817fc278d1a911262f97b52e3e311d_b8a2adcc-ea31-46d9-823d-05941ef7bf89.webp?v=1764296845","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86e45ddc79beb5043acabb3be1102e0ef62de854_f9a840d6-21bc-47eb-8269-6b2cd7c567eb.webp?v=1764296848","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c0d24c0685e4dbdbe16e29a12063159d0138449_4ea65b0c-b701-4866-be31-b714f1d55571.webp?v=1764296850","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c993b447dcda269a1e594de2e3a57038f228eb1_5c6e2c4b-8451-4ce6-90c9-88b0d3399d27.webp?v=1764296856","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b2d486aa2d146473d13a3972000c9ead51fa362_5845fba7-ef6b-4989-b0b8-031011f51e94.webp?v=1764296856","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f87193571c7013bb1bceec916a8cddf530f5ead_94679217-3029-4f5d-ac48-ce87ebcadf37.webp?v=1764296857","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df1f289b27d6af24e32589a8b2ede518a38d2605_d698d963-ce1e-44a7-9173-bba56b5b9304.webp?v=1764296858","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1600f0ce890693d7d23104fd1ae709f35f25498f_8d16099d-d3b9-4190-a82b-f69d4696c549.webp?v=1764296858","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed84be37ad346cb0cb24846e54c697d9c928a020_c6acb171-0906-4843-96c0-734b8e42a5dc.webp?v=1764296859","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7aa0b2d7d45104eda40c3c38ec1cdaa72bfeca45_b5fe72f4-4a1d-43ba-9091-6e55a7fc88a6.webp?v=1764296859"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/137e5edff5817fc278d1a911262f97b52e3e311d.webp?v=1764295633","options":["color"],"media":[{"alt":null,"id":26425899090019,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/137e5edff5817fc278d1a911262f97b52e3e311d.webp?v=1764295633"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/137e5edff5817fc278d1a911262f97b52e3e311d.webp?v=1764295633","width":2000},{"alt":null,"id":26425899450467,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86e45ddc79beb5043acabb3be1102e0ef62de854.webp?v=1764295635"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86e45ddc79beb5043acabb3be1102e0ef62de854.webp?v=1764295635","width":2000},{"alt":null,"id":26425899712611,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c0d24c0685e4dbdbe16e29a12063159d0138449.webp?v=1764295635"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c0d24c0685e4dbdbe16e29a12063159d0138449.webp?v=1764295635","width":2000},{"alt":null,"id":26425899810915,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c993b447dcda269a1e594de2e3a57038f228eb1.webp?v=1764295636"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c993b447dcda269a1e594de2e3a57038f228eb1.webp?v=1764295636","width":2000},{"alt":null,"id":26425900040291,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b2d486aa2d146473d13a3972000c9ead51fa362.webp?v=1764295636"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b2d486aa2d146473d13a3972000c9ead51fa362.webp?v=1764295636","width":2000},{"alt":null,"id":26425900105827,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f87193571c7013bb1bceec916a8cddf530f5ead.webp?v=1764295637"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f87193571c7013bb1bceec916a8cddf530f5ead.webp?v=1764295637","width":2000},{"alt":null,"id":26425900171363,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df1f289b27d6af24e32589a8b2ede518a38d2605.webp?v=1764295637"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df1f289b27d6af24e32589a8b2ede518a38d2605.webp?v=1764295637","width":2000},{"alt":null,"id":26425900695651,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1600f0ce890693d7d23104fd1ae709f35f25498f.webp?v=1764295639"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1600f0ce890693d7d23104fd1ae709f35f25498f.webp?v=1764295639","width":2000},{"alt":null,"id":26425902202979,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed84be37ad346cb0cb24846e54c697d9c928a020.webp?v=1764295643"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed84be37ad346cb0cb24846e54c697d9c928a020.webp?v=1764295643","width":2000},{"alt":null,"id":26425903186019,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7aa0b2d7d45104eda40c3c38ec1cdaa72bfeca45.webp?v=1764295645"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7aa0b2d7d45104eda40c3c38ec1cdaa72bfeca45.webp?v=1764295645","width":2000},{"alt":null,"id":26426165624931,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/137e5edff5817fc278d1a911262f97b52e3e311d_b8a2adcc-ea31-46d9-823d-05941ef7bf89.webp?v=1764296845"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/137e5edff5817fc278d1a911262f97b52e3e311d_b8a2adcc-ea31-46d9-823d-05941ef7bf89.webp?v=1764296845","width":2000},{"alt":null,"id":26426166575203,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86e45ddc79beb5043acabb3be1102e0ef62de854_f9a840d6-21bc-47eb-8269-6b2cd7c567eb.webp?v=1764296848"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86e45ddc79beb5043acabb3be1102e0ef62de854_f9a840d6-21bc-47eb-8269-6b2cd7c567eb.webp?v=1764296848","width":2000},{"alt":null,"id":26426167230563,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c0d24c0685e4dbdbe16e29a12063159d0138449_4ea65b0c-b701-4866-be31-b714f1d55571.webp?v=1764296850"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c0d24c0685e4dbdbe16e29a12063159d0138449_4ea65b0c-b701-4866-be31-b714f1d55571.webp?v=1764296850","width":2000},{"alt":null,"id":26426169720931,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c993b447dcda269a1e594de2e3a57038f228eb1_5c6e2c4b-8451-4ce6-90c9-88b0d3399d27.webp?v=1764296856"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c993b447dcda269a1e594de2e3a57038f228eb1_5c6e2c4b-8451-4ce6-90c9-88b0d3399d27.webp?v=1764296856","width":2000},{"alt":null,"id":26426169950307,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b2d486aa2d146473d13a3972000c9ead51fa362_5845fba7-ef6b-4989-b0b8-031011f51e94.webp?v=1764296856"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b2d486aa2d146473d13a3972000c9ead51fa362_5845fba7-ef6b-4989-b0b8-031011f51e94.webp?v=1764296856","width":2000},{"alt":null,"id":26426170376291,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f87193571c7013bb1bceec916a8cddf530f5ead_94679217-3029-4f5d-ac48-ce87ebcadf37.webp?v=1764296857"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f87193571c7013bb1bceec916a8cddf530f5ead_94679217-3029-4f5d-ac48-ce87ebcadf37.webp?v=1764296857","width":2000},{"alt":null,"id":26426170671203,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df1f289b27d6af24e32589a8b2ede518a38d2605_d698d963-ce1e-44a7-9173-bba56b5b9304.webp?v=1764296858"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df1f289b27d6af24e32589a8b2ede518a38d2605_d698d963-ce1e-44a7-9173-bba56b5b9304.webp?v=1764296858","width":2000},{"alt":null,"id":26426171097187,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1600f0ce890693d7d23104fd1ae709f35f25498f_8d16099d-d3b9-4190-a82b-f69d4696c549.webp?v=1764296858"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1600f0ce890693d7d23104fd1ae709f35f25498f_8d16099d-d3b9-4190-a82b-f69d4696c549.webp?v=1764296858","width":2000},{"alt":null,"id":26426171195491,"position":19,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed84be37ad346cb0cb24846e54c697d9c928a020_c6acb171-0906-4843-96c0-734b8e42a5dc.webp?v=1764296859"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed84be37ad346cb0cb24846e54c697d9c928a020_c6acb171-0906-4843-96c0-734b8e42a5dc.webp?v=1764296859","width":2000},{"alt":null,"id":26426171326563,"position":20,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7aa0b2d7d45104eda40c3c38ec1cdaa72bfeca45_b5fe72f4-4a1d-43ba-9091-6e55a7fc88a6.webp?v=1764296859"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7aa0b2d7d45104eda40c3c38ec1cdaa72bfeca45_b5fe72f4-4a1d-43ba-9091-6e55a7fc88a6.webp?v=1764296859","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43860872659043,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-EI81","requires_shipping":true,"taxable":true,"featured_image":{"id":34861751795811,"product_id":7931286585443,"position":19,"created_at":"2025-11-28T10:27:37+08:00","updated_at":"2025-11-28T10:27:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed84be37ad346cb0cb24846e54c697d9c928a020_c6acb171-0906-4843-96c0-734b8e42a5dc.webp?v=1764296859","variant_ids":[43860872659043]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 白白日記 By Darylhochi Chill - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01232J5-EI81","featured_media":{"alt":null,"id":26426171195491,"position":19,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed84be37ad346cb0cb24846e54c697d9c928a020_c6acb171-0906-4843-96c0-734b8e42a5dc.webp?v=1764296859"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43860872790115,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-EI81","requires_shipping":true,"taxable":true,"featured_image":{"id":34861751894115,"product_id":7931286585443,"position":20,"created_at":"2025-11-28T10:27:37+08:00","updated_at":"2025-11-28T10:27:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7aa0b2d7d45104eda40c3c38ec1cdaa72bfeca45_b5fe72f4-4a1d-43ba-9091-6e55a7fc88a6.webp?v=1764296859","variant_ids":[43860872790115]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 白白日記 By Darylhochi Chill - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0123224-EI81","featured_media":{"alt":null,"id":26426171326563,"position":20,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7aa0b2d7d45104eda40c3c38ec1cdaa72bfeca45_b5fe72f4-4a1d-43ba-9091-6e55a7fc88a6.webp?v=1764296859"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43860872659043,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-EI81","requires_shipping":true,"taxable":true,"featured_image":{"id":34861751795811,"product_id":7931286585443,"position":19,"created_at":"2025-11-28T10:27:37+08:00","updated_at":"2025-11-28T10:27:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed84be37ad346cb0cb24846e54c697d9c928a020_c6acb171-0906-4843-96c0-734b8e42a5dc.webp?v=1764296859","variant_ids":[43860872659043]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 白白日記 By Darylhochi Chill - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01232J5-EI81","featured_media":{"alt":null,"id":26426171195491,"position":19,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed84be37ad346cb0cb24846e54c697d9c928a020_c6acb171-0906-4843-96c0-734b8e42a5dc.webp?v=1764296859"}},"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: "停產" }