$product = {"id":7960500863075,"title":"iPhone 12 Pro Max SolidSuit (MagSafe 兼容) Knock Knock A2Z Yellow Lover","handle":"iphone-12-pro-max-solidsuit-classic-magsafe-en03","description":null,"published_at":"2026-02-09T11:18:13+08:00","created_at":"2026-02-09T09:32:19+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-knockknockatoz","device-iPhone 12 Pro Max","merge","reseller-knockknockatoz"],"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":43991393468515,"title":"Parakeet Green","option1":"Parakeet Green","option2":null,"option3":null,"sku":"MST011870E-EN03","requires_shipping":true,"taxable":true,"featured_image":{"id":35213550452835,"product_id":7960500863075,"position":6,"created_at":"2026-02-09T09:32:56+08:00","updated_at":"2026-02-09T09:32:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/771fb81df5f1756c26fc26cbc6012d4f3765053e.webp?v=1770600777","variant_ids":[43991393468515]},"available":true,"name":"iPhone 12 Pro Max SolidSuit (MagSafe 兼容) Knock Knock A2Z Yellow Lover - 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-EN03","featured_media":{"alt":null,"id":26765761871971,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/771fb81df5f1756c26fc26cbc6012d4f3765053e.webp?v=1770600777"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43991393796195,"title":"Bordeaux Red","option1":"Bordeaux Red","option2":null,"option3":null,"sku":"MST011870D-EN03","requires_shipping":true,"taxable":true,"featured_image":{"id":35213549797475,"product_id":7960500863075,"position":3,"created_at":"2026-02-09T09:32:54+08:00","updated_at":"2026-02-09T09:32:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6696b335a7f7b36b39e54a735252dbba4832d6f8.webp?v=1770600776","variant_ids":[43991393796195]},"available":true,"name":"iPhone 12 Pro Max SolidSuit (MagSafe 兼容) Knock Knock A2Z Yellow Lover - 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-EN03","featured_media":{"alt":null,"id":26765761216611,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6696b335a7f7b36b39e54a735252dbba4832d6f8.webp?v=1770600776"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43991394058339,"title":"Classic Blue","option1":"Classic Blue","option2":null,"option3":null,"sku":"MST011870C-EN03","requires_shipping":true,"taxable":true,"featured_image":{"id":35213549568099,"product_id":7960500863075,"position":2,"created_at":"2026-02-09T09:32:53+08:00","updated_at":"2026-02-09T09:32:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8bec98b68fce7b557d9239d3d5cd56932b98d6c.webp?v=1770600775","variant_ids":[43991394058339]},"available":true,"name":"iPhone 12 Pro Max SolidSuit (MagSafe 兼容) Knock Knock A2Z Yellow Lover - 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-EN03","featured_media":{"alt":null,"id":26765760954467,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8bec98b68fce7b557d9239d3d5cd56932b98d6c.webp?v=1770600775"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43991394287715,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MST011870B-EN03","requires_shipping":true,"taxable":true,"featured_image":{"id":35213549174883,"product_id":7960500863075,"position":1,"created_at":"2026-02-09T09:32:53+08:00","updated_at":"2026-02-09T09:32:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a031bda0c4857b9d7cfee32cc95440a71e250a4b.webp?v=1770600774","variant_ids":[43991394287715]},"available":true,"name":"iPhone 12 Pro Max SolidSuit (MagSafe 兼容) Knock Knock A2Z Yellow Lover - 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-EN03","featured_media":{"alt":null,"id":26765760594019,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a031bda0c4857b9d7cfee32cc95440a71e250a4b.webp?v=1770600774"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43991394517091,"title":"Cobalt Blue","option1":"Cobalt Blue","option2":null,"option3":null,"sku":"MST01187O9-EN03","requires_shipping":true,"taxable":true,"featured_image":{"id":35213550911587,"product_id":7960500863075,"position":8,"created_at":"2026-02-09T09:32:57+08:00","updated_at":"2026-02-09T09:32:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e18447efcb6b71aa4e083ad3d7797acda76bf497.webp?v=1770600779","variant_ids":[43991394517091]},"available":true,"name":"iPhone 12 Pro Max SolidSuit (MagSafe 兼容) Knock Knock A2Z Yellow Lover - 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-EN03","featured_media":{"alt":null,"id":26765762330723,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e18447efcb6b71aa4e083ad3d7797acda76bf497.webp?v=1770600779"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43991394680931,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0118752-EN03","requires_shipping":true,"taxable":true,"featured_image":{"id":35213550223459,"product_id":7960500863075,"position":5,"created_at":"2026-02-09T09:32:55+08:00","updated_at":"2026-02-09T09:32:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a33d83a44821ad04bbaa107946bfae682164916f.webp?v=1770600777","variant_ids":[43991394680931]},"available":true,"name":"iPhone 12 Pro Max SolidSuit (MagSafe 兼容) Knock Knock A2Z Yellow Lover - 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-EN03","featured_media":{"alt":null,"id":26765761642595,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a33d83a44821ad04bbaa107946bfae682164916f.webp?v=1770600777"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a031bda0c4857b9d7cfee32cc95440a71e250a4b.webp?v=1770600774","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8bec98b68fce7b557d9239d3d5cd56932b98d6c.webp?v=1770600775","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6696b335a7f7b36b39e54a735252dbba4832d6f8.webp?v=1770600776","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4006b062b5e3b373235e279640d01945cfb7c7b3.webp?v=1770600777","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a33d83a44821ad04bbaa107946bfae682164916f.webp?v=1770600777","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/771fb81df5f1756c26fc26cbc6012d4f3765053e.webp?v=1770600777","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2dc3f7766c810cbd0201541beabd9a82ce81d02e.webp?v=1770600778","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e18447efcb6b71aa4e083ad3d7797acda76bf497.webp?v=1770600779"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a031bda0c4857b9d7cfee32cc95440a71e250a4b.webp?v=1770600774","options":["color"],"media":[{"alt":null,"id":26765760594019,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a031bda0c4857b9d7cfee32cc95440a71e250a4b.webp?v=1770600774"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a031bda0c4857b9d7cfee32cc95440a71e250a4b.webp?v=1770600774","width":2000},{"alt":null,"id":26765760954467,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8bec98b68fce7b557d9239d3d5cd56932b98d6c.webp?v=1770600775"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8bec98b68fce7b557d9239d3d5cd56932b98d6c.webp?v=1770600775","width":2000},{"alt":null,"id":26765761216611,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6696b335a7f7b36b39e54a735252dbba4832d6f8.webp?v=1770600776"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6696b335a7f7b36b39e54a735252dbba4832d6f8.webp?v=1770600776","width":2000},{"alt":null,"id":26765761511523,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4006b062b5e3b373235e279640d01945cfb7c7b3.webp?v=1770600777"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4006b062b5e3b373235e279640d01945cfb7c7b3.webp?v=1770600777","width":2000},{"alt":null,"id":26765761642595,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a33d83a44821ad04bbaa107946bfae682164916f.webp?v=1770600777"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a33d83a44821ad04bbaa107946bfae682164916f.webp?v=1770600777","width":2000},{"alt":null,"id":26765761871971,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/771fb81df5f1756c26fc26cbc6012d4f3765053e.webp?v=1770600777"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/771fb81df5f1756c26fc26cbc6012d4f3765053e.webp?v=1770600777","width":2000},{"alt":null,"id":26765762101347,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2dc3f7766c810cbd0201541beabd9a82ce81d02e.webp?v=1770600778"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2dc3f7766c810cbd0201541beabd9a82ce81d02e.webp?v=1770600778","width":2000},{"alt":null,"id":26765762330723,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e18447efcb6b71aa4e083ad3d7797acda76bf497.webp?v=1770600779"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e18447efcb6b71aa4e083ad3d7797acda76bf497.webp?v=1770600779","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":43991393468515,"title":"Parakeet Green","option1":"Parakeet Green","option2":null,"option3":null,"sku":"MST011870E-EN03","requires_shipping":true,"taxable":true,"featured_image":{"id":35213550452835,"product_id":7960500863075,"position":6,"created_at":"2026-02-09T09:32:56+08:00","updated_at":"2026-02-09T09:32:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/771fb81df5f1756c26fc26cbc6012d4f3765053e.webp?v=1770600777","variant_ids":[43991393468515]},"available":true,"name":"iPhone 12 Pro Max SolidSuit (MagSafe 兼容) Knock Knock A2Z Yellow Lover - 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-EN03","featured_media":{"alt":null,"id":26765761871971,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/771fb81df5f1756c26fc26cbc6012d4f3765053e.webp?v=1770600777"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43991393796195,"title":"Bordeaux Red","option1":"Bordeaux Red","option2":null,"option3":null,"sku":"MST011870D-EN03","requires_shipping":true,"taxable":true,"featured_image":{"id":35213549797475,"product_id":7960500863075,"position":3,"created_at":"2026-02-09T09:32:54+08:00","updated_at":"2026-02-09T09:32:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6696b335a7f7b36b39e54a735252dbba4832d6f8.webp?v=1770600776","variant_ids":[43991393796195]},"available":true,"name":"iPhone 12 Pro Max SolidSuit (MagSafe 兼容) Knock Knock A2Z Yellow Lover - 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-EN03","featured_media":{"alt":null,"id":26765761216611,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6696b335a7f7b36b39e54a735252dbba4832d6f8.webp?v=1770600776"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43991394058339,"title":"Classic Blue","option1":"Classic Blue","option2":null,"option3":null,"sku":"MST011870C-EN03","requires_shipping":true,"taxable":true,"featured_image":{"id":35213549568099,"product_id":7960500863075,"position":2,"created_at":"2026-02-09T09:32:53+08:00","updated_at":"2026-02-09T09:32:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8bec98b68fce7b557d9239d3d5cd56932b98d6c.webp?v=1770600775","variant_ids":[43991394058339]},"available":true,"name":"iPhone 12 Pro Max SolidSuit (MagSafe 兼容) Knock Knock A2Z Yellow Lover - 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-EN03","featured_media":{"alt":null,"id":26765760954467,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8bec98b68fce7b557d9239d3d5cd56932b98d6c.webp?v=1770600775"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43991394287715,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MST011870B-EN03","requires_shipping":true,"taxable":true,"featured_image":{"id":35213549174883,"product_id":7960500863075,"position":1,"created_at":"2026-02-09T09:32:53+08:00","updated_at":"2026-02-09T09:32:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a031bda0c4857b9d7cfee32cc95440a71e250a4b.webp?v=1770600774","variant_ids":[43991394287715]},"available":true,"name":"iPhone 12 Pro Max SolidSuit (MagSafe 兼容) Knock Knock A2Z Yellow Lover - 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-EN03","featured_media":{"alt":null,"id":26765760594019,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a031bda0c4857b9d7cfee32cc95440a71e250a4b.webp?v=1770600774"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43991394517091,"title":"Cobalt Blue","option1":"Cobalt Blue","option2":null,"option3":null,"sku":"MST01187O9-EN03","requires_shipping":true,"taxable":true,"featured_image":{"id":35213550911587,"product_id":7960500863075,"position":8,"created_at":"2026-02-09T09:32:57+08:00","updated_at":"2026-02-09T09:32:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e18447efcb6b71aa4e083ad3d7797acda76bf497.webp?v=1770600779","variant_ids":[43991394517091]},"available":true,"name":"iPhone 12 Pro Max SolidSuit (MagSafe 兼容) Knock Knock A2Z Yellow Lover - 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-EN03","featured_media":{"alt":null,"id":26765762330723,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e18447efcb6b71aa4e083ad3d7797acda76bf497.webp?v=1770600779"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43991394680931,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0118752-EN03","requires_shipping":true,"taxable":true,"featured_image":{"id":35213550223459,"product_id":7960500863075,"position":5,"created_at":"2026-02-09T09:32:55+08:00","updated_at":"2026-02-09T09:32:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a33d83a44821ad04bbaa107946bfae682164916f.webp?v=1770600777","variant_ids":[43991394680931]},"available":true,"name":"iPhone 12 Pro Max SolidSuit (MagSafe 兼容) Knock Knock A2Z Yellow Lover - 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-EN03","featured_media":{"alt":null,"id":26765761642595,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a33d83a44821ad04bbaa107946bfae682164916f.webp?v=1770600777"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43991393468515,"title":"Parakeet Green","option1":"Parakeet Green","option2":null,"option3":null,"sku":"MST011870E-EN03","requires_shipping":true,"taxable":true,"featured_image":{"id":35213550452835,"product_id":7960500863075,"position":6,"created_at":"2026-02-09T09:32:56+08:00","updated_at":"2026-02-09T09:32:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/771fb81df5f1756c26fc26cbc6012d4f3765053e.webp?v=1770600777","variant_ids":[43991393468515]},"available":true,"name":"iPhone 12 Pro Max SolidSuit (MagSafe 兼容) Knock Knock A2Z Yellow Lover - 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-EN03","featured_media":{"alt":null,"id":26765761871971,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/771fb81df5f1756c26fc26cbc6012d4f3765053e.webp?v=1770600777"}},"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: "停產" }