$product = {"id":7189381644387,"title":"iPhone 12 mini SolidSuit Batman 蝙蝠俠 黑白畫風-小丑","handle":"iphone-12-mini-solidsuit-classic-sb13","description":null,"published_at":"2024-02-27T15:33:03+08:00","created_at":"2024-02-23T17:48:44+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師SolidSuit專區Batman","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-batman","device-iPhone 12 Mini","merge","reseller-batman"],"price":83000,"price_min":83000,"price_max":83000,"available":true,"price_varies":false,"compare_at_price":null,"compare_at_price_min":0,"compare_at_price_max":0,"compare_at_price_varies":false,"variants":[{"id":41312063750243,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0118452-SB13","requires_shipping":true,"taxable":true,"featured_image":{"id":36318886690915,"product_id":7189381644387,"position":15,"created_at":"2026-07-20T12:26:44+08:00","updated_at":"2026-07-20T12:26:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a1118b29447490b92d1a937694be7b2e524f59c.webp?v=1784521606","variant_ids":[41312063750243]},"available":true,"name":"iPhone 12 mini SolidSuit Batman 蝙蝠俠 黑白畫風-小丑 - Black","public_title":"Black","options":["Black"],"price":83000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0118452-SB13","featured_media":{"alt":null,"id":27822839005283,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a1118b29447490b92d1a937694be7b2e524f59c.webp?v=1784521606"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41312063881315,"title":"Cobalt Blue","option1":"Cobalt Blue","option2":null,"option3":null,"sku":"SST01184O9-SB13","requires_shipping":true,"taxable":true,"featured_image":{"id":36318887837795,"product_id":7189381644387,"position":18,"created_at":"2026-07-20T12:26:46+08:00","updated_at":"2026-07-20T12:26:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/354881f0bbc23f55f87edb7c47392399c1ac61a2.webp?v=1784521608","variant_ids":[41312063881315]},"available":true,"name":"iPhone 12 mini SolidSuit Batman 蝙蝠俠 黑白畫風-小丑 - Cobalt Blue","public_title":"Cobalt Blue","options":["Cobalt Blue"],"price":83000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01184O9-SB13","featured_media":{"alt":null,"id":27822840184931,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/354881f0bbc23f55f87edb7c47392399c1ac61a2.webp?v=1784521608"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41312064110691,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"SST011840B-SB13","requires_shipping":true,"taxable":true,"featured_image":{"id":36318889279587,"product_id":7189381644387,"position":20,"created_at":"2026-07-20T12:26:50+08:00","updated_at":"2026-07-20T12:26:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aefd51033b0d9b6a4aa8a9f073fe3e38f7d8f828.webp?v=1784521612","variant_ids":[41312064110691]},"available":true,"name":"iPhone 12 mini SolidSuit Batman 蝙蝠俠 黑白畫風-小丑 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":83000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST011840B-SB13","featured_media":{"alt":null,"id":27822841626723,"position":20,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aefd51033b0d9b6a4aa8a9f073fe3e38f7d8f828.webp?v=1784521612"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b5ca23d73e7847adfee3ad6fbc1930addf0384a.webp?v=1708920549","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e106518c4cd3390c453e68fe43d9c8dec9d80c5f.webp?v=1708920552","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b86b722f0affe8e7cd7d8c6d26eddd50f6294391.webp?v=1708920554","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c15b8f2751dde462f396d4ed25b467dcf5d5d4b9.webp?v=1708920556","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a326b3c1269502c35e5dfb09dd3ab32980228fcb.webp?v=1708920559","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83cc9088bfe5182e4722de70297555293257c409.webp?v=1708920561","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d4863b69ab96d5272045d64fecfe11f6a1056cf.webp?v=1708920564","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3dba982b4e842b7dc89e40b2c32dbd9fb3e6765.webp?v=1708920571","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82366690f885653e6a14de32b058770ab0d67f62.webp?v=1708920573","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34f0e52e4f3178a7e68abfcfa2ab7e8c744b1c44.webp?v=1708920575","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6683a74e3728168ca744ba6a5c3b08f484da814.webp?v=1708920578","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5244c61e0ac2d51708c671d5e6c4cd2e4b86aa4.webp?v=1708920580","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38b0f742b3974056fe534ba1cd7e95b402610c9b.webp?v=1708920583","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c69f8d6ff6117246e2da3a823ab4a49fe1e244b.webp?v=1708920585","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a1118b29447490b92d1a937694be7b2e524f59c.webp?v=1784521606","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e9e3af66557d15d66557174c918d0ccca1050f8.webp?v=1784521606","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2bfc166c2b9a1e216d07285f371c5fe6a63d18e9.webp?v=1784521607","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/354881f0bbc23f55f87edb7c47392399c1ac61a2.webp?v=1784521608","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42709a985b628ba633059c173856bec6f4fae12d.webp?v=1784521611","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aefd51033b0d9b6a4aa8a9f073fe3e38f7d8f828.webp?v=1784521612"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b5ca23d73e7847adfee3ad6fbc1930addf0384a.webp?v=1708920549","options":["color"],"media":[{"alt":null,"id":23353124749411,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b5ca23d73e7847adfee3ad6fbc1930addf0384a.webp?v=1708920549"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b5ca23d73e7847adfee3ad6fbc1930addf0384a.webp?v=1708920549","width":2000},{"alt":null,"id":23353125732451,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e106518c4cd3390c453e68fe43d9c8dec9d80c5f.webp?v=1708920552"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e106518c4cd3390c453e68fe43d9c8dec9d80c5f.webp?v=1708920552","width":2000},{"alt":null,"id":23353126748259,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b86b722f0affe8e7cd7d8c6d26eddd50f6294391.webp?v=1708920554"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b86b722f0affe8e7cd7d8c6d26eddd50f6294391.webp?v=1708920554","width":2000},{"alt":null,"id":23353127698531,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c15b8f2751dde462f396d4ed25b467dcf5d5d4b9.webp?v=1708920556"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c15b8f2751dde462f396d4ed25b467dcf5d5d4b9.webp?v=1708920556","width":2000},{"alt":null,"id":23353128517731,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a326b3c1269502c35e5dfb09dd3ab32980228fcb.webp?v=1708920559"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a326b3c1269502c35e5dfb09dd3ab32980228fcb.webp?v=1708920559","width":2000},{"alt":null,"id":23353129402467,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83cc9088bfe5182e4722de70297555293257c409.webp?v=1708920561"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83cc9088bfe5182e4722de70297555293257c409.webp?v=1708920561","width":2000},{"alt":null,"id":23353130057827,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d4863b69ab96d5272045d64fecfe11f6a1056cf.webp?v=1708920564"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d4863b69ab96d5272045d64fecfe11f6a1056cf.webp?v=1708920564","width":2000},{"alt":null,"id":23353133039715,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3dba982b4e842b7dc89e40b2c32dbd9fb3e6765.webp?v=1708920571"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3dba982b4e842b7dc89e40b2c32dbd9fb3e6765.webp?v=1708920571","width":2000},{"alt":null,"id":23353133891683,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82366690f885653e6a14de32b058770ab0d67f62.webp?v=1708920573"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82366690f885653e6a14de32b058770ab0d67f62.webp?v=1708920573","width":2000},{"alt":null,"id":23353135038563,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34f0e52e4f3178a7e68abfcfa2ab7e8c744b1c44.webp?v=1708920575"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34f0e52e4f3178a7e68abfcfa2ab7e8c744b1c44.webp?v=1708920575","width":2000},{"alt":null,"id":23353135988835,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6683a74e3728168ca744ba6a5c3b08f484da814.webp?v=1708920578"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6683a74e3728168ca744ba6a5c3b08f484da814.webp?v=1708920578","width":2000},{"alt":null,"id":23353137004643,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5244c61e0ac2d51708c671d5e6c4cd2e4b86aa4.webp?v=1708920580"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5244c61e0ac2d51708c671d5e6c4cd2e4b86aa4.webp?v=1708920580","width":2000},{"alt":null,"id":23353138446435,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38b0f742b3974056fe534ba1cd7e95b402610c9b.webp?v=1708920583"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38b0f742b3974056fe534ba1cd7e95b402610c9b.webp?v=1708920583","width":2000},{"alt":null,"id":23353139724387,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c69f8d6ff6117246e2da3a823ab4a49fe1e244b.webp?v=1708920585"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c69f8d6ff6117246e2da3a823ab4a49fe1e244b.webp?v=1708920585","width":2000},{"alt":null,"id":27822839005283,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a1118b29447490b92d1a937694be7b2e524f59c.webp?v=1784521606"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a1118b29447490b92d1a937694be7b2e524f59c.webp?v=1784521606","width":2000},{"alt":null,"id":27822839431267,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e9e3af66557d15d66557174c918d0ccca1050f8.webp?v=1784521606"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e9e3af66557d15d66557174c918d0ccca1050f8.webp?v=1784521606","width":2000},{"alt":null,"id":27822839791715,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2bfc166c2b9a1e216d07285f371c5fe6a63d18e9.webp?v=1784521607"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2bfc166c2b9a1e216d07285f371c5fe6a63d18e9.webp?v=1784521607","width":2000},{"alt":null,"id":27822840184931,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/354881f0bbc23f55f87edb7c47392399c1ac61a2.webp?v=1784521608"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/354881f0bbc23f55f87edb7c47392399c1ac61a2.webp?v=1784521608","width":2000},{"alt":null,"id":27822841036899,"position":19,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42709a985b628ba633059c173856bec6f4fae12d.webp?v=1784521611"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42709a985b628ba633059c173856bec6f4fae12d.webp?v=1784521611","width":2000},{"alt":null,"id":27822841626723,"position":20,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aefd51033b0d9b6a4aa8a9f073fe3e38f7d8f828.webp?v=1784521612"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aefd51033b0d9b6a4aa8a9f073fe3e38f7d8f828.webp?v=1784521612","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41312063750243,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0118452-SB13","requires_shipping":true,"taxable":true,"featured_image":{"id":36318886690915,"product_id":7189381644387,"position":15,"created_at":"2026-07-20T12:26:44+08:00","updated_at":"2026-07-20T12:26:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a1118b29447490b92d1a937694be7b2e524f59c.webp?v=1784521606","variant_ids":[41312063750243]},"available":true,"name":"iPhone 12 mini SolidSuit Batman 蝙蝠俠 黑白畫風-小丑 - Black","public_title":"Black","options":["Black"],"price":83000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0118452-SB13","featured_media":{"alt":null,"id":27822839005283,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a1118b29447490b92d1a937694be7b2e524f59c.webp?v=1784521606"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41312063881315,"title":"Cobalt Blue","option1":"Cobalt Blue","option2":null,"option3":null,"sku":"SST01184O9-SB13","requires_shipping":true,"taxable":true,"featured_image":{"id":36318887837795,"product_id":7189381644387,"position":18,"created_at":"2026-07-20T12:26:46+08:00","updated_at":"2026-07-20T12:26:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/354881f0bbc23f55f87edb7c47392399c1ac61a2.webp?v=1784521608","variant_ids":[41312063881315]},"available":true,"name":"iPhone 12 mini SolidSuit Batman 蝙蝠俠 黑白畫風-小丑 - Cobalt Blue","public_title":"Cobalt Blue","options":["Cobalt Blue"],"price":83000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01184O9-SB13","featured_media":{"alt":null,"id":27822840184931,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/354881f0bbc23f55f87edb7c47392399c1ac61a2.webp?v=1784521608"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41312064110691,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"SST011840B-SB13","requires_shipping":true,"taxable":true,"featured_image":{"id":36318889279587,"product_id":7189381644387,"position":20,"created_at":"2026-07-20T12:26:50+08:00","updated_at":"2026-07-20T12:26:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aefd51033b0d9b6a4aa8a9f073fe3e38f7d8f828.webp?v=1784521612","variant_ids":[41312064110691]},"available":true,"name":"iPhone 12 mini SolidSuit Batman 蝙蝠俠 黑白畫風-小丑 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":83000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST011840B-SB13","featured_media":{"alt":null,"id":27822841626723,"position":20,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aefd51033b0d9b6a4aa8a9f073fe3e38f7d8f828.webp?v=1784521612"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41312063750243,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0118452-SB13","requires_shipping":true,"taxable":true,"featured_image":{"id":36318886690915,"product_id":7189381644387,"position":15,"created_at":"2026-07-20T12:26:44+08:00","updated_at":"2026-07-20T12:26:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a1118b29447490b92d1a937694be7b2e524f59c.webp?v=1784521606","variant_ids":[41312063750243]},"available":true,"name":"iPhone 12 mini SolidSuit Batman 蝙蝠俠 黑白畫風-小丑 - Black","public_title":"Black","options":["Black"],"price":83000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0118452-SB13","featured_media":{"alt":null,"id":27822839005283,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a1118b29447490b92d1a937694be7b2e524f59c.webp?v=1784521606"}},"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: "停產"
}