$product = {"id":7951311536227,"title":"iPhone 12 Pro Max SolidSuit (MagSafe 兼容) 田中 Shen Yes!","handle":"iphone-12-pro-max-solidsuit-classic-magsafe-tan01","description":null,"published_at":"2026-01-13T10:11:52+08:00","created_at":"2026-01-12T17:15:40+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-tanakashen","device-iPhone 12 Pro Max","merge","reseller-tanakashen"],"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":43946335993955,"title":"Cobalt Blue","option1":"Cobalt Blue","option2":null,"option3":null,"sku":"MST01187O9-TAN01","requires_shipping":true,"taxable":true,"featured_image":{"id":35094059745379,"product_id":7951311536227,"position":7,"created_at":"2026-01-12T17:15:46+08:00","updated_at":"2026-01-12T17:15:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f62d37f4d4aa5315cfd983014fc278270b53c4b7.webp?v=1768209348","variant_ids":[43946335993955]},"available":true,"name":"iPhone 12 Pro Max SolidSuit (MagSafe 兼容) 田中 Shen Yes! - 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-TAN01","featured_media":{"alt":null,"id":26650715553891,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f62d37f4d4aa5315cfd983014fc278270b53c4b7.webp?v=1768209348"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43946336026723,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0118752-TAN01","requires_shipping":true,"taxable":true,"featured_image":{"id":35094059810915,"product_id":7951311536227,"position":8,"created_at":"2026-01-12T17:15:48+08:00","updated_at":"2026-01-12T17:15:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20aba113c493b4e1b89ef3960369a7759ced2bcb.webp?v=1768209350","variant_ids":[43946336026723]},"available":true,"name":"iPhone 12 Pro Max SolidSuit (MagSafe 兼容) 田中 Shen Yes! - 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-TAN01","featured_media":{"alt":null,"id":26650716110947,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20aba113c493b4e1b89ef3960369a7759ced2bcb.webp?v=1768209350"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43946336059491,"title":"Classic Blue","option1":"Classic Blue","option2":null,"option3":null,"sku":"MST011870C-TAN01","requires_shipping":true,"taxable":true,"featured_image":{"id":35094059122787,"product_id":7951311536227,"position":3,"created_at":"2026-01-12T17:15:44+08:00","updated_at":"2026-01-12T17:15:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99685901d0f9e4b1331ffce7a82b81bcdcf91be3.webp?v=1768209346","variant_ids":[43946336059491]},"available":true,"name":"iPhone 12 Pro Max SolidSuit (MagSafe 兼容) 田中 Shen Yes! - 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-TAN01","featured_media":{"alt":null,"id":26650714931299,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99685901d0f9e4b1331ffce7a82b81bcdcf91be3.webp?v=1768209346"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43946336125027,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MST011870B-TAN01","requires_shipping":true,"taxable":true,"featured_image":{"id":35094059352163,"product_id":7951311536227,"position":4,"created_at":"2026-01-12T17:15:45+08:00","updated_at":"2026-01-12T17:15:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b456004b46511345b3d1bbb53c0461f686397c12.webp?v=1768209347","variant_ids":[43946336125027]},"available":true,"name":"iPhone 12 Pro Max SolidSuit (MagSafe 兼容) 田中 Shen Yes! - 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-TAN01","featured_media":{"alt":null,"id":26650715160675,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b456004b46511345b3d1bbb53c0461f686397c12.webp?v=1768209347"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43946336157795,"title":"Bordeaux Red","option1":"Bordeaux Red","option2":null,"option3":null,"sku":"MST011870D-TAN01","requires_shipping":true,"taxable":true,"featured_image":{"id":35094059614307,"product_id":7951311536227,"position":6,"created_at":"2026-01-12T17:15:46+08:00","updated_at":"2026-01-12T17:15:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bb0f5756f038c57d0e7c35ebda3c994bfe1e1d9.webp?v=1768209348","variant_ids":[43946336157795]},"available":true,"name":"iPhone 12 Pro Max SolidSuit (MagSafe 兼容) 田中 Shen Yes! - 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-TAN01","featured_media":{"alt":null,"id":26650715422819,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bb0f5756f038c57d0e7c35ebda3c994bfe1e1d9.webp?v=1768209348"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43946336190563,"title":"Parakeet Green","option1":"Parakeet Green","option2":null,"option3":null,"sku":"MST011870E-TAN01","requires_shipping":true,"taxable":true,"featured_image":{"id":35094059483235,"product_id":7951311536227,"position":5,"created_at":"2026-01-12T17:15:45+08:00","updated_at":"2026-01-12T17:15:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1210b730d8a10ecfc2f3906a75cdec11c899dd0.webp?v=1768209347","variant_ids":[43946336190563]},"available":true,"name":"iPhone 12 Pro Max SolidSuit (MagSafe 兼容) 田中 Shen Yes! - 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-TAN01","featured_media":{"alt":null,"id":26650715324515,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1210b730d8a10ecfc2f3906a75cdec11c899dd0.webp?v=1768209347"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20770dc4765812fa4bd362eb9a59dbc97986e9bb.webp?v=1768209345","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca262226378812cea3f37a90239ad4dcc65b1e1f.webp?v=1768209346","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99685901d0f9e4b1331ffce7a82b81bcdcf91be3.webp?v=1768209346","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b456004b46511345b3d1bbb53c0461f686397c12.webp?v=1768209347","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1210b730d8a10ecfc2f3906a75cdec11c899dd0.webp?v=1768209347","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bb0f5756f038c57d0e7c35ebda3c994bfe1e1d9.webp?v=1768209348","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f62d37f4d4aa5315cfd983014fc278270b53c4b7.webp?v=1768209348","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20aba113c493b4e1b89ef3960369a7759ced2bcb.webp?v=1768209350"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20770dc4765812fa4bd362eb9a59dbc97986e9bb.webp?v=1768209345","options":["color"],"media":[{"alt":null,"id":26650714669155,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20770dc4765812fa4bd362eb9a59dbc97986e9bb.webp?v=1768209345"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20770dc4765812fa4bd362eb9a59dbc97986e9bb.webp?v=1768209345","width":2000},{"alt":null,"id":26650714800227,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca262226378812cea3f37a90239ad4dcc65b1e1f.webp?v=1768209346"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca262226378812cea3f37a90239ad4dcc65b1e1f.webp?v=1768209346","width":2000},{"alt":null,"id":26650714931299,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99685901d0f9e4b1331ffce7a82b81bcdcf91be3.webp?v=1768209346"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99685901d0f9e4b1331ffce7a82b81bcdcf91be3.webp?v=1768209346","width":2000},{"alt":null,"id":26650715160675,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b456004b46511345b3d1bbb53c0461f686397c12.webp?v=1768209347"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b456004b46511345b3d1bbb53c0461f686397c12.webp?v=1768209347","width":2000},{"alt":null,"id":26650715324515,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1210b730d8a10ecfc2f3906a75cdec11c899dd0.webp?v=1768209347"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1210b730d8a10ecfc2f3906a75cdec11c899dd0.webp?v=1768209347","width":2000},{"alt":null,"id":26650715422819,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bb0f5756f038c57d0e7c35ebda3c994bfe1e1d9.webp?v=1768209348"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bb0f5756f038c57d0e7c35ebda3c994bfe1e1d9.webp?v=1768209348","width":2000},{"alt":null,"id":26650715553891,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f62d37f4d4aa5315cfd983014fc278270b53c4b7.webp?v=1768209348"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f62d37f4d4aa5315cfd983014fc278270b53c4b7.webp?v=1768209348","width":2000},{"alt":null,"id":26650716110947,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20aba113c493b4e1b89ef3960369a7759ced2bcb.webp?v=1768209350"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20aba113c493b4e1b89ef3960369a7759ced2bcb.webp?v=1768209350","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$bumper = null;
$variants = [{"id":43946335993955,"title":"Cobalt Blue","option1":"Cobalt Blue","option2":null,"option3":null,"sku":"MST01187O9-TAN01","requires_shipping":true,"taxable":true,"featured_image":{"id":35094059745379,"product_id":7951311536227,"position":7,"created_at":"2026-01-12T17:15:46+08:00","updated_at":"2026-01-12T17:15:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f62d37f4d4aa5315cfd983014fc278270b53c4b7.webp?v=1768209348","variant_ids":[43946335993955]},"available":true,"name":"iPhone 12 Pro Max SolidSuit (MagSafe 兼容) 田中 Shen Yes! - 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-TAN01","featured_media":{"alt":null,"id":26650715553891,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f62d37f4d4aa5315cfd983014fc278270b53c4b7.webp?v=1768209348"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43946336026723,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0118752-TAN01","requires_shipping":true,"taxable":true,"featured_image":{"id":35094059810915,"product_id":7951311536227,"position":8,"created_at":"2026-01-12T17:15:48+08:00","updated_at":"2026-01-12T17:15:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20aba113c493b4e1b89ef3960369a7759ced2bcb.webp?v=1768209350","variant_ids":[43946336026723]},"available":true,"name":"iPhone 12 Pro Max SolidSuit (MagSafe 兼容) 田中 Shen Yes! - 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-TAN01","featured_media":{"alt":null,"id":26650716110947,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20aba113c493b4e1b89ef3960369a7759ced2bcb.webp?v=1768209350"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43946336059491,"title":"Classic Blue","option1":"Classic Blue","option2":null,"option3":null,"sku":"MST011870C-TAN01","requires_shipping":true,"taxable":true,"featured_image":{"id":35094059122787,"product_id":7951311536227,"position":3,"created_at":"2026-01-12T17:15:44+08:00","updated_at":"2026-01-12T17:15:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99685901d0f9e4b1331ffce7a82b81bcdcf91be3.webp?v=1768209346","variant_ids":[43946336059491]},"available":true,"name":"iPhone 12 Pro Max SolidSuit (MagSafe 兼容) 田中 Shen Yes! - 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-TAN01","featured_media":{"alt":null,"id":26650714931299,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99685901d0f9e4b1331ffce7a82b81bcdcf91be3.webp?v=1768209346"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43946336125027,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MST011870B-TAN01","requires_shipping":true,"taxable":true,"featured_image":{"id":35094059352163,"product_id":7951311536227,"position":4,"created_at":"2026-01-12T17:15:45+08:00","updated_at":"2026-01-12T17:15:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b456004b46511345b3d1bbb53c0461f686397c12.webp?v=1768209347","variant_ids":[43946336125027]},"available":true,"name":"iPhone 12 Pro Max SolidSuit (MagSafe 兼容) 田中 Shen Yes! - 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-TAN01","featured_media":{"alt":null,"id":26650715160675,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b456004b46511345b3d1bbb53c0461f686397c12.webp?v=1768209347"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43946336157795,"title":"Bordeaux Red","option1":"Bordeaux Red","option2":null,"option3":null,"sku":"MST011870D-TAN01","requires_shipping":true,"taxable":true,"featured_image":{"id":35094059614307,"product_id":7951311536227,"position":6,"created_at":"2026-01-12T17:15:46+08:00","updated_at":"2026-01-12T17:15:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bb0f5756f038c57d0e7c35ebda3c994bfe1e1d9.webp?v=1768209348","variant_ids":[43946336157795]},"available":true,"name":"iPhone 12 Pro Max SolidSuit (MagSafe 兼容) 田中 Shen Yes! - 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-TAN01","featured_media":{"alt":null,"id":26650715422819,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bb0f5756f038c57d0e7c35ebda3c994bfe1e1d9.webp?v=1768209348"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43946336190563,"title":"Parakeet Green","option1":"Parakeet Green","option2":null,"option3":null,"sku":"MST011870E-TAN01","requires_shipping":true,"taxable":true,"featured_image":{"id":35094059483235,"product_id":7951311536227,"position":5,"created_at":"2026-01-12T17:15:45+08:00","updated_at":"2026-01-12T17:15:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1210b730d8a10ecfc2f3906a75cdec11c899dd0.webp?v=1768209347","variant_ids":[43946336190563]},"available":true,"name":"iPhone 12 Pro Max SolidSuit (MagSafe 兼容) 田中 Shen Yes! - 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-TAN01","featured_media":{"alt":null,"id":26650715324515,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1210b730d8a10ecfc2f3906a75cdec11c899dd0.webp?v=1768209347"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43946335993955,"title":"Cobalt Blue","option1":"Cobalt Blue","option2":null,"option3":null,"sku":"MST01187O9-TAN01","requires_shipping":true,"taxable":true,"featured_image":{"id":35094059745379,"product_id":7951311536227,"position":7,"created_at":"2026-01-12T17:15:46+08:00","updated_at":"2026-01-12T17:15:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f62d37f4d4aa5315cfd983014fc278270b53c4b7.webp?v=1768209348","variant_ids":[43946335993955]},"available":true,"name":"iPhone 12 Pro Max SolidSuit (MagSafe 兼容) 田中 Shen Yes! - 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-TAN01","featured_media":{"alt":null,"id":26650715553891,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f62d37f4d4aa5315cfd983014fc278270b53c4b7.webp?v=1768209348"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}};
$device_handle = null
var sellingStatus
if ($bumper) {
$(document).ready(function() {
var productImg = $product.images[0]
var bumperVariants = $bumper.variants;
var bumperColors = new Object();
var currentVariant = '';
var productType = '';
bumperVariants.forEach(variant => {
bumperColors[`${variant.title.split(' (')[0].toLowerCase()}`] = variant.featured_image.src;
});
if (productType === 'mod-nx-backplate' || productType === 'mod-backplate') {
mergeImages(
[productImg, bumperColors[currentVariant]],
{ crossOrigin: 'anonymous' }
).then(mergedImg => {
$('.merged-img').attr('src', mergedImg);
});
} else {
mergeImages(
[bumperColors[currentVariant], productImg],
{ crossOrigin: 'anonymous' }
).then(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: "停產"
}