$product = {"id":8035895214179,"title":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 花小兔 野餐日","handle":"iphone-17-pro-max-solidx-magsafe-rv04","description":null,"published_at":"2026-06-22T16:13:33+08:00","created_at":"2026-06-17T18:04:43+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-sanrio-family","device-iPhone 17 Pro Max","merge","reseller-sanrio-family"],"price":145000,"price_min":145000,"price_max":145000,"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":44265581838435,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013535Z-RV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012575981667,"product_id":8035895214179,"position":4,"created_at":"2026-06-17T18:05:31+08:00","updated_at":"2026-06-17T18:05:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bd89eaef94525a0e700f1ba5b5795d477d4c4b6.webp?v=1781690733","variant_ids":[44265581838435]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 花小兔 野餐日 - Blossom Pink","public_title":"Blossom Pink","options":["Blossom Pink"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013535Z-RV04","featured_media":{"alt":null,"id":27531379671139,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bd89eaef94525a0e700f1ba5b5795d477d4c4b6.webp?v=1781690733"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265586983011,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013536A-RV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012577914979,"product_id":8035895214179,"position":7,"created_at":"2026-06-17T18:05:33+08:00","updated_at":"2026-06-17T18:05:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/608262ccd2661e62299f6e09879b54c8abc267c1.webp?v=1781690735","variant_ids":[44265586983011]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 花小兔 野餐日 - Sunflower Yellow","public_title":"Sunflower Yellow","options":["Sunflower Yellow"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013536A-RV04","featured_media":{"alt":null,"id":27531381604451,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/608262ccd2661e62299f6e09879b54c8abc267c1.webp?v=1781690735"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265587441763,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013535Y-RV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012575424611,"product_id":8035895214179,"position":3,"created_at":"2026-06-17T18:05:31+08:00","updated_at":"2026-06-17T18:05:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1553bc6a237db2bcc07c754f72e8f22b65469294.webp?v=1781690733","variant_ids":[44265587441763]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 花小兔 野餐日 - Field Green","public_title":"Field Green","options":["Field Green"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013535Y-RV04","featured_media":{"alt":null,"id":27531379146851,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1553bc6a237db2bcc07c754f72e8f22b65469294.webp?v=1781690733"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265587998819,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013535X-RV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012582109283,"product_id":8035895214179,"position":13,"created_at":"2026-06-17T18:05:37+08:00","updated_at":"2026-06-17T18:05:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/faa992251f43d6ef84ee93225a5af5b87398eb8a.webp?v=1781690739","variant_ids":[44265587998819]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 花小兔 野餐日 - Sky Blue","public_title":"Sky Blue","options":["Sky Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013535X-RV04","featured_media":{"alt":null,"id":27531385831523,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/faa992251f43d6ef84ee93225a5af5b87398eb8a.webp?v=1781690739"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265588457571,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013535H-RV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012574408803,"product_id":8035895214179,"position":1,"created_at":"2026-06-17T18:05:30+08:00","updated_at":"2026-06-17T18:05:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18f20cfd58e89be215a2c2251d631afaa5a0a4e8.webp?v=1781690732","variant_ids":[44265588457571]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 花小兔 野餐日 - Translucent Matte","public_title":"Translucent Matte","options":["Translucent Matte"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013535H-RV04","featured_media":{"alt":null,"id":27531378131043,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18f20cfd58e89be215a2c2251d631afaa5a0a4e8.webp?v=1781690732"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265588981859,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013534I-RV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012579487843,"product_id":8035895214179,"position":9,"created_at":"2026-06-17T18:05:34+08:00","updated_at":"2026-06-17T18:05:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/433c1cc53d4a289e5aa7457424c50409e19da2c3.webp?v=1781690736","variant_ids":[44265588981859]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 花小兔 野餐日 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013534I-RV04","featured_media":{"alt":null,"id":27531383439459,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/433c1cc53d4a289e5aa7457424c50409e19da2c3.webp?v=1781690736"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265589997667,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013534H-RV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012580241507,"product_id":8035895214179,"position":10,"created_at":"2026-06-17T18:05:35+08:00","updated_at":"2026-06-17T18:05:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/494cfa8a40d8a52369a3dbf4ef8a5c9e5ac393bf.webp?v=1781690737","variant_ids":[44265589997667]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 花小兔 野餐日 - Dawn Clay","public_title":"Dawn Clay","options":["Dawn Clay"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013534H-RV04","featured_media":{"alt":null,"id":27531384127587,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/494cfa8a40d8a52369a3dbf4ef8a5c9e5ac393bf.webp?v=1781690737"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265590685795,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013533O-RV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012574867555,"product_id":8035895214179,"position":2,"created_at":"2026-06-17T18:05:30+08:00","updated_at":"2026-06-17T18:05:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26767a2259c34d57a2cf73857faa07817d8c28be.webp?v=1781690732","variant_ids":[44265590685795]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 花小兔 野餐日 - Ultra Marine","public_title":"Ultra Marine","options":["Ultra Marine"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013533O-RV04","featured_media":{"alt":null,"id":27531378589795,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26767a2259c34d57a2cf73857faa07817d8c28be.webp?v=1781690732"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265591341155,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013530F-RV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012578668643,"product_id":8035895214179,"position":8,"created_at":"2026-06-17T18:05:33+08:00","updated_at":"2026-06-17T18:05:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8e34eab3f33c478b26d6448a9acc4d1af39db9d.webp?v=1781690735","variant_ids":[44265591341155]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 花小兔 野餐日 - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013530F-RV04","featured_media":{"alt":null,"id":27531382390883,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8e34eab3f33c478b26d6448a9acc4d1af39db9d.webp?v=1781690735"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265592029283,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013530B-RV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012577259619,"product_id":8035895214179,"position":6,"created_at":"2026-06-17T18:05:32+08:00","updated_at":"2026-06-17T18:05:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17ecb1929485c9803e290870b8a52c8346184ad0.webp?v=1781690734","variant_ids":[44265592029283]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 花小兔 野餐日 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013530B-RV04","featured_media":{"alt":null,"id":27531381014627,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17ecb1929485c9803e290870b8a52c8346184ad0.webp?v=1781690734"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265592619107,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135352-RV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012580831331,"product_id":8035895214179,"position":11,"created_at":"2026-06-17T18:05:35+08:00","updated_at":"2026-06-17T18:05:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9518e79214d95d83add761190e047f372739190e.webp?v=1781690737","variant_ids":[44265592619107]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 花小兔 野餐日 - Black","public_title":"Black","options":["Black"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135352-RV04","featured_media":{"alt":null,"id":27531384651875,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9518e79214d95d83add761190e047f372739190e.webp?v=1781690737"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265592979555,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01353O8-RV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012581584995,"product_id":8035895214179,"position":12,"created_at":"2026-06-17T18:05:36+08:00","updated_at":"2026-06-17T18:05:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f45eb5910b82c82ba1bfeae745eac7d6cd72500.webp?v=1781690739","variant_ids":[44265592979555]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 花小兔 野餐日 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS01353O8-RV04","featured_media":{"alt":null,"id":27531385307235,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f45eb5910b82c82ba1bfeae745eac7d6cd72500.webp?v=1781690739"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265593405539,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135353-RV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012576473187,"product_id":8035895214179,"position":5,"created_at":"2026-06-17T18:05:32+08:00","updated_at":"2026-06-17T18:05:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf507f666dd66ba1b1d0ee20142327b583374ed8.webp?v=1781690734","variant_ids":[44265593405539]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 花小兔 野餐日 - White","public_title":"White","options":["White"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135353-RV04","featured_media":{"alt":null,"id":27531380195427,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf507f666dd66ba1b1d0ee20142327b583374ed8.webp?v=1781690734"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18f20cfd58e89be215a2c2251d631afaa5a0a4e8.webp?v=1781690732","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26767a2259c34d57a2cf73857faa07817d8c28be.webp?v=1781690732","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1553bc6a237db2bcc07c754f72e8f22b65469294.webp?v=1781690733","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bd89eaef94525a0e700f1ba5b5795d477d4c4b6.webp?v=1781690733","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf507f666dd66ba1b1d0ee20142327b583374ed8.webp?v=1781690734","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17ecb1929485c9803e290870b8a52c8346184ad0.webp?v=1781690734","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/608262ccd2661e62299f6e09879b54c8abc267c1.webp?v=1781690735","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8e34eab3f33c478b26d6448a9acc4d1af39db9d.webp?v=1781690735","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/433c1cc53d4a289e5aa7457424c50409e19da2c3.webp?v=1781690736","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/494cfa8a40d8a52369a3dbf4ef8a5c9e5ac393bf.webp?v=1781690737","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9518e79214d95d83add761190e047f372739190e.webp?v=1781690737","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f45eb5910b82c82ba1bfeae745eac7d6cd72500.webp?v=1781690739","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/faa992251f43d6ef84ee93225a5af5b87398eb8a.webp?v=1781690739"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18f20cfd58e89be215a2c2251d631afaa5a0a4e8.webp?v=1781690732","options":["color"],"media":[{"alt":null,"id":27531378131043,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18f20cfd58e89be215a2c2251d631afaa5a0a4e8.webp?v=1781690732"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18f20cfd58e89be215a2c2251d631afaa5a0a4e8.webp?v=1781690732","width":2000},{"alt":null,"id":27531378589795,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26767a2259c34d57a2cf73857faa07817d8c28be.webp?v=1781690732"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26767a2259c34d57a2cf73857faa07817d8c28be.webp?v=1781690732","width":2000},{"alt":null,"id":27531379146851,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1553bc6a237db2bcc07c754f72e8f22b65469294.webp?v=1781690733"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1553bc6a237db2bcc07c754f72e8f22b65469294.webp?v=1781690733","width":2000},{"alt":null,"id":27531379671139,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bd89eaef94525a0e700f1ba5b5795d477d4c4b6.webp?v=1781690733"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bd89eaef94525a0e700f1ba5b5795d477d4c4b6.webp?v=1781690733","width":2000},{"alt":null,"id":27531380195427,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf507f666dd66ba1b1d0ee20142327b583374ed8.webp?v=1781690734"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf507f666dd66ba1b1d0ee20142327b583374ed8.webp?v=1781690734","width":2000},{"alt":null,"id":27531381014627,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17ecb1929485c9803e290870b8a52c8346184ad0.webp?v=1781690734"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17ecb1929485c9803e290870b8a52c8346184ad0.webp?v=1781690734","width":2000},{"alt":null,"id":27531381604451,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/608262ccd2661e62299f6e09879b54c8abc267c1.webp?v=1781690735"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/608262ccd2661e62299f6e09879b54c8abc267c1.webp?v=1781690735","width":2000},{"alt":null,"id":27531382390883,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8e34eab3f33c478b26d6448a9acc4d1af39db9d.webp?v=1781690735"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8e34eab3f33c478b26d6448a9acc4d1af39db9d.webp?v=1781690735","width":2000},{"alt":null,"id":27531383439459,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/433c1cc53d4a289e5aa7457424c50409e19da2c3.webp?v=1781690736"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/433c1cc53d4a289e5aa7457424c50409e19da2c3.webp?v=1781690736","width":2000},{"alt":null,"id":27531384127587,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/494cfa8a40d8a52369a3dbf4ef8a5c9e5ac393bf.webp?v=1781690737"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/494cfa8a40d8a52369a3dbf4ef8a5c9e5ac393bf.webp?v=1781690737","width":2000},{"alt":null,"id":27531384651875,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9518e79214d95d83add761190e047f372739190e.webp?v=1781690737"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9518e79214d95d83add761190e047f372739190e.webp?v=1781690737","width":2000},{"alt":null,"id":27531385307235,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f45eb5910b82c82ba1bfeae745eac7d6cd72500.webp?v=1781690739"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f45eb5910b82c82ba1bfeae745eac7d6cd72500.webp?v=1781690739","width":2000},{"alt":null,"id":27531385831523,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/faa992251f43d6ef84ee93225a5af5b87398eb8a.webp?v=1781690739"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/faa992251f43d6ef84ee93225a5af5b87398eb8a.webp?v=1781690739","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":44265581838435,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013535Z-RV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012575981667,"product_id":8035895214179,"position":4,"created_at":"2026-06-17T18:05:31+08:00","updated_at":"2026-06-17T18:05:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bd89eaef94525a0e700f1ba5b5795d477d4c4b6.webp?v=1781690733","variant_ids":[44265581838435]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 花小兔 野餐日 - Blossom Pink","public_title":"Blossom Pink","options":["Blossom Pink"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013535Z-RV04","featured_media":{"alt":null,"id":27531379671139,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bd89eaef94525a0e700f1ba5b5795d477d4c4b6.webp?v=1781690733"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265586983011,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013536A-RV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012577914979,"product_id":8035895214179,"position":7,"created_at":"2026-06-17T18:05:33+08:00","updated_at":"2026-06-17T18:05:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/608262ccd2661e62299f6e09879b54c8abc267c1.webp?v=1781690735","variant_ids":[44265586983011]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 花小兔 野餐日 - Sunflower Yellow","public_title":"Sunflower Yellow","options":["Sunflower Yellow"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013536A-RV04","featured_media":{"alt":null,"id":27531381604451,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/608262ccd2661e62299f6e09879b54c8abc267c1.webp?v=1781690735"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265587441763,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013535Y-RV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012575424611,"product_id":8035895214179,"position":3,"created_at":"2026-06-17T18:05:31+08:00","updated_at":"2026-06-17T18:05:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1553bc6a237db2bcc07c754f72e8f22b65469294.webp?v=1781690733","variant_ids":[44265587441763]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 花小兔 野餐日 - Field Green","public_title":"Field Green","options":["Field Green"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013535Y-RV04","featured_media":{"alt":null,"id":27531379146851,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1553bc6a237db2bcc07c754f72e8f22b65469294.webp?v=1781690733"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265587998819,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013535X-RV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012582109283,"product_id":8035895214179,"position":13,"created_at":"2026-06-17T18:05:37+08:00","updated_at":"2026-06-17T18:05:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/faa992251f43d6ef84ee93225a5af5b87398eb8a.webp?v=1781690739","variant_ids":[44265587998819]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 花小兔 野餐日 - Sky Blue","public_title":"Sky Blue","options":["Sky Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013535X-RV04","featured_media":{"alt":null,"id":27531385831523,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/faa992251f43d6ef84ee93225a5af5b87398eb8a.webp?v=1781690739"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265588457571,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013535H-RV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012574408803,"product_id":8035895214179,"position":1,"created_at":"2026-06-17T18:05:30+08:00","updated_at":"2026-06-17T18:05:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18f20cfd58e89be215a2c2251d631afaa5a0a4e8.webp?v=1781690732","variant_ids":[44265588457571]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 花小兔 野餐日 - Translucent Matte","public_title":"Translucent Matte","options":["Translucent Matte"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013535H-RV04","featured_media":{"alt":null,"id":27531378131043,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18f20cfd58e89be215a2c2251d631afaa5a0a4e8.webp?v=1781690732"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265588981859,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013534I-RV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012579487843,"product_id":8035895214179,"position":9,"created_at":"2026-06-17T18:05:34+08:00","updated_at":"2026-06-17T18:05:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/433c1cc53d4a289e5aa7457424c50409e19da2c3.webp?v=1781690736","variant_ids":[44265588981859]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 花小兔 野餐日 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013534I-RV04","featured_media":{"alt":null,"id":27531383439459,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/433c1cc53d4a289e5aa7457424c50409e19da2c3.webp?v=1781690736"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265589997667,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013534H-RV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012580241507,"product_id":8035895214179,"position":10,"created_at":"2026-06-17T18:05:35+08:00","updated_at":"2026-06-17T18:05:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/494cfa8a40d8a52369a3dbf4ef8a5c9e5ac393bf.webp?v=1781690737","variant_ids":[44265589997667]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 花小兔 野餐日 - Dawn Clay","public_title":"Dawn Clay","options":["Dawn Clay"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013534H-RV04","featured_media":{"alt":null,"id":27531384127587,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/494cfa8a40d8a52369a3dbf4ef8a5c9e5ac393bf.webp?v=1781690737"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265590685795,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013533O-RV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012574867555,"product_id":8035895214179,"position":2,"created_at":"2026-06-17T18:05:30+08:00","updated_at":"2026-06-17T18:05:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26767a2259c34d57a2cf73857faa07817d8c28be.webp?v=1781690732","variant_ids":[44265590685795]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 花小兔 野餐日 - Ultra Marine","public_title":"Ultra Marine","options":["Ultra Marine"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013533O-RV04","featured_media":{"alt":null,"id":27531378589795,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26767a2259c34d57a2cf73857faa07817d8c28be.webp?v=1781690732"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265591341155,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013530F-RV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012578668643,"product_id":8035895214179,"position":8,"created_at":"2026-06-17T18:05:33+08:00","updated_at":"2026-06-17T18:05:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8e34eab3f33c478b26d6448a9acc4d1af39db9d.webp?v=1781690735","variant_ids":[44265591341155]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 花小兔 野餐日 - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013530F-RV04","featured_media":{"alt":null,"id":27531382390883,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8e34eab3f33c478b26d6448a9acc4d1af39db9d.webp?v=1781690735"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265592029283,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013530B-RV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012577259619,"product_id":8035895214179,"position":6,"created_at":"2026-06-17T18:05:32+08:00","updated_at":"2026-06-17T18:05:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17ecb1929485c9803e290870b8a52c8346184ad0.webp?v=1781690734","variant_ids":[44265592029283]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 花小兔 野餐日 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013530B-RV04","featured_media":{"alt":null,"id":27531381014627,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17ecb1929485c9803e290870b8a52c8346184ad0.webp?v=1781690734"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265592619107,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135352-RV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012580831331,"product_id":8035895214179,"position":11,"created_at":"2026-06-17T18:05:35+08:00","updated_at":"2026-06-17T18:05:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9518e79214d95d83add761190e047f372739190e.webp?v=1781690737","variant_ids":[44265592619107]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 花小兔 野餐日 - Black","public_title":"Black","options":["Black"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135352-RV04","featured_media":{"alt":null,"id":27531384651875,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9518e79214d95d83add761190e047f372739190e.webp?v=1781690737"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265592979555,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01353O8-RV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012581584995,"product_id":8035895214179,"position":12,"created_at":"2026-06-17T18:05:36+08:00","updated_at":"2026-06-17T18:05:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f45eb5910b82c82ba1bfeae745eac7d6cd72500.webp?v=1781690739","variant_ids":[44265592979555]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 花小兔 野餐日 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS01353O8-RV04","featured_media":{"alt":null,"id":27531385307235,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f45eb5910b82c82ba1bfeae745eac7d6cd72500.webp?v=1781690739"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265593405539,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135353-RV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012576473187,"product_id":8035895214179,"position":5,"created_at":"2026-06-17T18:05:32+08:00","updated_at":"2026-06-17T18:05:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf507f666dd66ba1b1d0ee20142327b583374ed8.webp?v=1781690734","variant_ids":[44265593405539]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 花小兔 野餐日 - White","public_title":"White","options":["White"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135353-RV04","featured_media":{"alt":null,"id":27531380195427,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf507f666dd66ba1b1d0ee20142327b583374ed8.webp?v=1781690734"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":44265581838435,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013535Z-RV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36012575981667,"product_id":8035895214179,"position":4,"created_at":"2026-06-17T18:05:31+08:00","updated_at":"2026-06-17T18:05:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bd89eaef94525a0e700f1ba5b5795d477d4c4b6.webp?v=1781690733","variant_ids":[44265581838435]},"available":true,"name":"iPhone 17 Pro Max SolidX (MagSafe 兼容) 花小兔 野餐日 - Blossom Pink","public_title":"Blossom Pink","options":["Blossom Pink"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013535Z-RV04","featured_media":{"alt":null,"id":27531379671139,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bd89eaef94525a0e700f1ba5b5795d477d4c4b6.webp?v=1781690733"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null; $type = ""; var sellingStatus if ($isMerge) { $(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: "停產" }