$product = {"id":7909775376483,"title":"iPhone 12 Pro Max SolidSuit (MagSafe 兼容) 海綿寶寶 海綿寶寶百變表情","handle":"iphone-12-pro-max-solidsuit-classic-magsafe-yq28","description":null,"published_at":"2026-01-28T12:10:03+08:00","created_at":"2025-10-31T15:22:17+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-spongebob","device-iPhone 12 Pro Max","merge","reseller-spongebob"],"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":43804955377763,"title":"Cobalt Blue","option1":"Cobalt Blue","option2":null,"option3":null,"sku":"MST01187O9-YQ28","requires_shipping":true,"taxable":true,"featured_image":{"id":34718251810915,"product_id":7909775376483,"position":2,"created_at":"2025-10-31T15:22:23+08:00","updated_at":"2025-10-31T15:22:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cde139aee662230f758a02e842282d53b233784e.webp?v=1761895345","variant_ids":[43804955377763]},"available":true,"name":"iPhone 12 Pro Max SolidSuit (MagSafe 兼容) 海綿寶寶 海綿寶寶百變表情 - Cobalt Blue","public_title":"Cobalt Blue","options":["Cobalt Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01187O9-YQ28","featured_media":{"alt":null,"id":26286459682915,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cde139aee662230f758a02e842282d53b233784e.webp?v=1761895345"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43804955410531,"title":"Classic Blue","option1":"Classic Blue","option2":null,"option3":null,"sku":"MST011870C-YQ28","requires_shipping":true,"taxable":true,"featured_image":{"id":34718251843683,"product_id":7909775376483,"position":3,"created_at":"2025-10-31T15:22:24+08:00","updated_at":"2025-10-31T15:22:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17fe4457e9e2da06f10451da571c8899fefe35b9.webp?v=1761895346","variant_ids":[43804955410531]},"available":true,"name":"iPhone 12 Pro Max SolidSuit (MagSafe 兼容) 海綿寶寶 海綿寶寶百變表情 - Classic Blue","public_title":"Classic Blue","options":["Classic Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST011870C-YQ28","featured_media":{"alt":null,"id":26286459748451,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17fe4457e9e2da06f10451da571c8899fefe35b9.webp?v=1761895346"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43804955443299,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0118752-YQ28","requires_shipping":true,"taxable":true,"featured_image":{"id":34718252466275,"product_id":7909775376483,"position":6,"created_at":"2025-10-31T15:22:26+08:00","updated_at":"2025-10-31T15:22:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/560a407b604ac04a5df72a0d6cb9b16f1c7266a7.webp?v=1761895348","variant_ids":[43804955443299]},"available":true,"name":"iPhone 12 Pro Max SolidSuit (MagSafe 兼容) 海綿寶寶 海綿寶寶百變表情 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0118752-YQ28","featured_media":{"alt":null,"id":26286460371043,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/560a407b604ac04a5df72a0d6cb9b16f1c7266a7.webp?v=1761895348"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43804955476067,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MST011870B-YQ28","requires_shipping":true,"taxable":true,"featured_image":{"id":34718251974755,"product_id":7909775376483,"position":4,"created_at":"2025-10-31T15:22:25+08:00","updated_at":"2025-10-31T15:22:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d9d58a215d637715acf92d3a008983071cab57d.webp?v=1761895347","variant_ids":[43804955476067]},"available":true,"name":"iPhone 12 Pro Max SolidSuit (MagSafe 兼容) 海綿寶寶 海綿寶寶百變表情 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST011870B-YQ28","featured_media":{"alt":null,"id":26286459879523,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d9d58a215d637715acf92d3a008983071cab57d.webp?v=1761895347"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43804955508835,"title":"Parakeet Green","option1":"Parakeet Green","option2":null,"option3":null,"sku":"MST011870E-YQ28","requires_shipping":true,"taxable":true,"featured_image":{"id":34718252171363,"product_id":7909775376483,"position":5,"created_at":"2025-10-31T15:22:26+08:00","updated_at":"2025-10-31T15:22:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e006ead3b98070dcf6d3dc797216d87ba85e2e4c.webp?v=1761895348","variant_ids":[43804955508835]},"available":true,"name":"iPhone 12 Pro Max SolidSuit (MagSafe 兼容) 海綿寶寶 海綿寶寶百變表情 - Parakeet Green","public_title":"Parakeet Green","options":["Parakeet Green"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST011870E-YQ28","featured_media":{"alt":null,"id":26286460108899,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e006ead3b98070dcf6d3dc797216d87ba85e2e4c.webp?v=1761895348"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43804955574371,"title":"Bordeaux Red","option1":"Bordeaux Red","option2":null,"option3":null,"sku":"MST011870D-YQ28","requires_shipping":true,"taxable":true,"featured_image":{"id":34718251712611,"product_id":7909775376483,"position":1,"created_at":"2025-10-31T15:22:23+08:00","updated_at":"2025-10-31T15:22:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5cc87abbfa9dcb9e13ce8f4ef538829e3187e6f.webp?v=1761895345","variant_ids":[43804955574371]},"available":true,"name":"iPhone 12 Pro Max SolidSuit (MagSafe 兼容) 海綿寶寶 海綿寶寶百變表情 - Bordeaux Red","public_title":"Bordeaux Red","options":["Bordeaux Red"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST011870D-YQ28","featured_media":{"alt":null,"id":26286459617379,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5cc87abbfa9dcb9e13ce8f4ef538829e3187e6f.webp?v=1761895345"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5cc87abbfa9dcb9e13ce8f4ef538829e3187e6f.webp?v=1761895345","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cde139aee662230f758a02e842282d53b233784e.webp?v=1761895345","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17fe4457e9e2da06f10451da571c8899fefe35b9.webp?v=1761895346","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d9d58a215d637715acf92d3a008983071cab57d.webp?v=1761895347","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e006ead3b98070dcf6d3dc797216d87ba85e2e4c.webp?v=1761895348","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/560a407b604ac04a5df72a0d6cb9b16f1c7266a7.webp?v=1761895348","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2421c0f8343616dc91b69fb376d4453e3c89a2aa.webp?v=1761895349","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee2f480df13ba6560a57a3babb459db445f132b7.webp?v=1761895349"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5cc87abbfa9dcb9e13ce8f4ef538829e3187e6f.webp?v=1761895345","options":["color"],"media":[{"alt":null,"id":26286459617379,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5cc87abbfa9dcb9e13ce8f4ef538829e3187e6f.webp?v=1761895345"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5cc87abbfa9dcb9e13ce8f4ef538829e3187e6f.webp?v=1761895345","width":2000},{"alt":null,"id":26286459682915,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cde139aee662230f758a02e842282d53b233784e.webp?v=1761895345"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cde139aee662230f758a02e842282d53b233784e.webp?v=1761895345","width":2000},{"alt":null,"id":26286459748451,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17fe4457e9e2da06f10451da571c8899fefe35b9.webp?v=1761895346"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17fe4457e9e2da06f10451da571c8899fefe35b9.webp?v=1761895346","width":2000},{"alt":null,"id":26286459879523,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d9d58a215d637715acf92d3a008983071cab57d.webp?v=1761895347"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d9d58a215d637715acf92d3a008983071cab57d.webp?v=1761895347","width":2000},{"alt":null,"id":26286460108899,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e006ead3b98070dcf6d3dc797216d87ba85e2e4c.webp?v=1761895348"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e006ead3b98070dcf6d3dc797216d87ba85e2e4c.webp?v=1761895348","width":2000},{"alt":null,"id":26286460371043,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/560a407b604ac04a5df72a0d6cb9b16f1c7266a7.webp?v=1761895348"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/560a407b604ac04a5df72a0d6cb9b16f1c7266a7.webp?v=1761895348","width":2000},{"alt":null,"id":26286460567651,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2421c0f8343616dc91b69fb376d4453e3c89a2aa.webp?v=1761895349"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2421c0f8343616dc91b69fb376d4453e3c89a2aa.webp?v=1761895349","width":2000},{"alt":null,"id":26286460764259,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee2f480df13ba6560a57a3babb459db445f132b7.webp?v=1761895349"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee2f480df13ba6560a57a3babb459db445f132b7.webp?v=1761895349","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43804955377763,"title":"Cobalt Blue","option1":"Cobalt Blue","option2":null,"option3":null,"sku":"MST01187O9-YQ28","requires_shipping":true,"taxable":true,"featured_image":{"id":34718251810915,"product_id":7909775376483,"position":2,"created_at":"2025-10-31T15:22:23+08:00","updated_at":"2025-10-31T15:22:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cde139aee662230f758a02e842282d53b233784e.webp?v=1761895345","variant_ids":[43804955377763]},"available":true,"name":"iPhone 12 Pro Max SolidSuit (MagSafe 兼容) 海綿寶寶 海綿寶寶百變表情 - Cobalt Blue","public_title":"Cobalt Blue","options":["Cobalt Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01187O9-YQ28","featured_media":{"alt":null,"id":26286459682915,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cde139aee662230f758a02e842282d53b233784e.webp?v=1761895345"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43804955410531,"title":"Classic Blue","option1":"Classic Blue","option2":null,"option3":null,"sku":"MST011870C-YQ28","requires_shipping":true,"taxable":true,"featured_image":{"id":34718251843683,"product_id":7909775376483,"position":3,"created_at":"2025-10-31T15:22:24+08:00","updated_at":"2025-10-31T15:22:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17fe4457e9e2da06f10451da571c8899fefe35b9.webp?v=1761895346","variant_ids":[43804955410531]},"available":true,"name":"iPhone 12 Pro Max SolidSuit (MagSafe 兼容) 海綿寶寶 海綿寶寶百變表情 - Classic Blue","public_title":"Classic Blue","options":["Classic Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST011870C-YQ28","featured_media":{"alt":null,"id":26286459748451,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17fe4457e9e2da06f10451da571c8899fefe35b9.webp?v=1761895346"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43804955443299,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0118752-YQ28","requires_shipping":true,"taxable":true,"featured_image":{"id":34718252466275,"product_id":7909775376483,"position":6,"created_at":"2025-10-31T15:22:26+08:00","updated_at":"2025-10-31T15:22:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/560a407b604ac04a5df72a0d6cb9b16f1c7266a7.webp?v=1761895348","variant_ids":[43804955443299]},"available":true,"name":"iPhone 12 Pro Max SolidSuit (MagSafe 兼容) 海綿寶寶 海綿寶寶百變表情 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0118752-YQ28","featured_media":{"alt":null,"id":26286460371043,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/560a407b604ac04a5df72a0d6cb9b16f1c7266a7.webp?v=1761895348"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43804955476067,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MST011870B-YQ28","requires_shipping":true,"taxable":true,"featured_image":{"id":34718251974755,"product_id":7909775376483,"position":4,"created_at":"2025-10-31T15:22:25+08:00","updated_at":"2025-10-31T15:22:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d9d58a215d637715acf92d3a008983071cab57d.webp?v=1761895347","variant_ids":[43804955476067]},"available":true,"name":"iPhone 12 Pro Max SolidSuit (MagSafe 兼容) 海綿寶寶 海綿寶寶百變表情 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST011870B-YQ28","featured_media":{"alt":null,"id":26286459879523,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d9d58a215d637715acf92d3a008983071cab57d.webp?v=1761895347"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43804955508835,"title":"Parakeet Green","option1":"Parakeet Green","option2":null,"option3":null,"sku":"MST011870E-YQ28","requires_shipping":true,"taxable":true,"featured_image":{"id":34718252171363,"product_id":7909775376483,"position":5,"created_at":"2025-10-31T15:22:26+08:00","updated_at":"2025-10-31T15:22:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e006ead3b98070dcf6d3dc797216d87ba85e2e4c.webp?v=1761895348","variant_ids":[43804955508835]},"available":true,"name":"iPhone 12 Pro Max SolidSuit (MagSafe 兼容) 海綿寶寶 海綿寶寶百變表情 - Parakeet Green","public_title":"Parakeet Green","options":["Parakeet Green"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST011870E-YQ28","featured_media":{"alt":null,"id":26286460108899,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e006ead3b98070dcf6d3dc797216d87ba85e2e4c.webp?v=1761895348"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43804955574371,"title":"Bordeaux Red","option1":"Bordeaux Red","option2":null,"option3":null,"sku":"MST011870D-YQ28","requires_shipping":true,"taxable":true,"featured_image":{"id":34718251712611,"product_id":7909775376483,"position":1,"created_at":"2025-10-31T15:22:23+08:00","updated_at":"2025-10-31T15:22:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5cc87abbfa9dcb9e13ce8f4ef538829e3187e6f.webp?v=1761895345","variant_ids":[43804955574371]},"available":true,"name":"iPhone 12 Pro Max SolidSuit (MagSafe 兼容) 海綿寶寶 海綿寶寶百變表情 - Bordeaux Red","public_title":"Bordeaux Red","options":["Bordeaux Red"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST011870D-YQ28","featured_media":{"alt":null,"id":26286459617379,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5cc87abbfa9dcb9e13ce8f4ef538829e3187e6f.webp?v=1761895345"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43804955377763,"title":"Cobalt Blue","option1":"Cobalt Blue","option2":null,"option3":null,"sku":"MST01187O9-YQ28","requires_shipping":true,"taxable":true,"featured_image":{"id":34718251810915,"product_id":7909775376483,"position":2,"created_at":"2025-10-31T15:22:23+08:00","updated_at":"2025-10-31T15:22:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cde139aee662230f758a02e842282d53b233784e.webp?v=1761895345","variant_ids":[43804955377763]},"available":true,"name":"iPhone 12 Pro Max SolidSuit (MagSafe 兼容) 海綿寶寶 海綿寶寶百變表情 - Cobalt Blue","public_title":"Cobalt Blue","options":["Cobalt Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01187O9-YQ28","featured_media":{"alt":null,"id":26286459682915,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cde139aee662230f758a02e842282d53b233784e.webp?v=1761895345"}},"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: "停產" }