$product = {"id":7931619967075,"title":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 產房 • 廢料棲息地 鯨魚:海洋的長老","handle":"iphone-12-pro-mod-nx-magsafe-bir01","description":null,"published_at":"2026-01-27T14:24:00+08:00","created_at":"2025-11-28T11:13:37+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-everydayishappybirthday","device-iPhone 12 Pro","merge","reseller-everydayishappybirthday"],"price":110000,"price_min":110000,"price_max":110000,"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":43861314961507,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"MPB01185C1-BIR01","requires_shipping":true,"taxable":true,"featured_image":{"id":34863640608867,"product_id":7931619967075,"position":11,"created_at":"2025-11-28T11:13:46+08:00","updated_at":"2025-11-28T11:13:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90797eb8e5107ae9655fc83ac8b3bf2c8ab5909e.webp?v=1764299628","variant_ids":[43861314961507]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 產房 • 廢料棲息地 鯨魚:海洋的長老 - Lavender","public_title":"Lavender","options":["Lavender"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01185C1-BIR01","featured_media":{"alt":null,"id":26428059811939,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90797eb8e5107ae9655fc83ac8b3bf2c8ab5909e.webp?v=1764299628"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43861320368227,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0118504-BIR01","requires_shipping":true,"taxable":true,"featured_image":{"id":34863637528675,"product_id":7931619967075,"position":1,"created_at":"2025-11-28T11:13:42+08:00","updated_at":"2025-11-28T11:13:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d2ea1024c9bd7059fcf9c8d481ce6a65d2b7a30.webp?v=1764299624","variant_ids":[43861320368227]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 產房 • 廢料棲息地 鯨魚:海洋的長老 - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118504-BIR01","featured_media":{"alt":null,"id":26428056535139,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d2ea1024c9bd7059fcf9c8d481ce6a65d2b7a30.webp?v=1764299624"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43861320400995,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118524-BIR01","requires_shipping":true,"taxable":true,"featured_image":{"id":34863639330915,"product_id":7931619967075,"position":6,"created_at":"2025-11-28T11:13:44+08:00","updated_at":"2025-11-28T11:13:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e49cbb0977a77b514797540d8bf44ebcae7acad7.webp?v=1764299626","variant_ids":[43861320400995]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 產房 • 廢料棲息地 鯨魚:海洋的長老 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118524-BIR01","featured_media":{"alt":null,"id":26428058370147,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e49cbb0977a77b514797540d8bf44ebcae7acad7.webp?v=1764299626"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43861320564835,"title":"Graphite","option1":"Graphite","option2":null,"option3":null,"sku":"MPB0118569-BIR01","requires_shipping":true,"taxable":true,"featured_image":{"id":34863638642787,"product_id":7931619967075,"position":4,"created_at":"2025-11-28T11:13:43+08:00","updated_at":"2025-11-28T11:13:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d0feae397e6414febe3939903bbfbbeb98f5ceb.webp?v=1764299625","variant_ids":[43861320564835]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 產房 • 廢料棲息地 鯨魚:海洋的長老 - Graphite","public_title":"Graphite","options":["Graphite"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118569-BIR01","featured_media":{"alt":null,"id":26428057649251,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d0feae397e6414febe3939903bbfbbeb98f5ceb.webp?v=1764299625"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43861320663139,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01185J5-BIR01","requires_shipping":true,"taxable":true,"featured_image":{"id":34863638216803,"product_id":7931619967075,"position":3,"created_at":"2025-11-28T11:13:43+08:00","updated_at":"2025-11-28T11:13:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f6c5e7ea72308cb96d1bb2d9d57e72511d3890d.webp?v=1764299625","variant_ids":[43861320663139]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 產房 • 廢料棲息地 鯨魚:海洋的長老 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01185J5-BIR01","featured_media":{"alt":null,"id":26428057256035,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f6c5e7ea72308cb96d1bb2d9d57e72511d3890d.webp?v=1764299625"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d2ea1024c9bd7059fcf9c8d481ce6a65d2b7a30.webp?v=1764299624","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/219814740d1fc3a4bdedf68ff024a7d344f4903e.webp?v=1764299624","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f6c5e7ea72308cb96d1bb2d9d57e72511d3890d.webp?v=1764299625","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d0feae397e6414febe3939903bbfbbeb98f5ceb.webp?v=1764299625","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b16ec3f63fdb29cc5cf942af8c5598c88907df9.webp?v=1764299626","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e49cbb0977a77b514797540d8bf44ebcae7acad7.webp?v=1764299626","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b3ae876dae98e8feabb4d21ae7cce91682d30e1.webp?v=1764299627","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d40898789d44a20dc528da0d9de3d68a818c166.webp?v=1764299627","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/98daed3c6914b52246b351d00b47a6ee68583c06.webp?v=1764299627","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67bf7a101cb2777fbd49c0024040137d456e9945.webp?v=1764299628","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90797eb8e5107ae9655fc83ac8b3bf2c8ab5909e.webp?v=1764299628"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d2ea1024c9bd7059fcf9c8d481ce6a65d2b7a30.webp?v=1764299624","options":["color"],"media":[{"alt":null,"id":26428056535139,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d2ea1024c9bd7059fcf9c8d481ce6a65d2b7a30.webp?v=1764299624"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d2ea1024c9bd7059fcf9c8d481ce6a65d2b7a30.webp?v=1764299624","width":2000},{"alt":null,"id":26428056797283,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/219814740d1fc3a4bdedf68ff024a7d344f4903e.webp?v=1764299624"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/219814740d1fc3a4bdedf68ff024a7d344f4903e.webp?v=1764299624","width":2000},{"alt":null,"id":26428057256035,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f6c5e7ea72308cb96d1bb2d9d57e72511d3890d.webp?v=1764299625"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f6c5e7ea72308cb96d1bb2d9d57e72511d3890d.webp?v=1764299625","width":2000},{"alt":null,"id":26428057649251,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d0feae397e6414febe3939903bbfbbeb98f5ceb.webp?v=1764299625"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d0feae397e6414febe3939903bbfbbeb98f5ceb.webp?v=1764299625","width":2000},{"alt":null,"id":26428057944163,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b16ec3f63fdb29cc5cf942af8c5598c88907df9.webp?v=1764299626"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b16ec3f63fdb29cc5cf942af8c5598c88907df9.webp?v=1764299626","width":2000},{"alt":null,"id":26428058370147,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e49cbb0977a77b514797540d8bf44ebcae7acad7.webp?v=1764299626"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e49cbb0977a77b514797540d8bf44ebcae7acad7.webp?v=1764299626","width":2000},{"alt":null,"id":26428058697827,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b3ae876dae98e8feabb4d21ae7cce91682d30e1.webp?v=1764299627"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b3ae876dae98e8feabb4d21ae7cce91682d30e1.webp?v=1764299627","width":2000},{"alt":null,"id":26428058992739,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d40898789d44a20dc528da0d9de3d68a818c166.webp?v=1764299627"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d40898789d44a20dc528da0d9de3d68a818c166.webp?v=1764299627","width":2000},{"alt":null,"id":26428059287651,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/98daed3c6914b52246b351d00b47a6ee68583c06.webp?v=1764299627"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/98daed3c6914b52246b351d00b47a6ee68583c06.webp?v=1764299627","width":2000},{"alt":null,"id":26428059517027,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67bf7a101cb2777fbd49c0024040137d456e9945.webp?v=1764299628"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67bf7a101cb2777fbd49c0024040137d456e9945.webp?v=1764299628","width":2000},{"alt":null,"id":26428059811939,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90797eb8e5107ae9655fc83ac8b3bf2c8ab5909e.webp?v=1764299628"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90797eb8e5107ae9655fc83ac8b3bf2c8ab5909e.webp?v=1764299628","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43861314961507,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"MPB01185C1-BIR01","requires_shipping":true,"taxable":true,"featured_image":{"id":34863640608867,"product_id":7931619967075,"position":11,"created_at":"2025-11-28T11:13:46+08:00","updated_at":"2025-11-28T11:13:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90797eb8e5107ae9655fc83ac8b3bf2c8ab5909e.webp?v=1764299628","variant_ids":[43861314961507]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 產房 • 廢料棲息地 鯨魚:海洋的長老 - Lavender","public_title":"Lavender","options":["Lavender"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01185C1-BIR01","featured_media":{"alt":null,"id":26428059811939,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90797eb8e5107ae9655fc83ac8b3bf2c8ab5909e.webp?v=1764299628"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43861320368227,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0118504-BIR01","requires_shipping":true,"taxable":true,"featured_image":{"id":34863637528675,"product_id":7931619967075,"position":1,"created_at":"2025-11-28T11:13:42+08:00","updated_at":"2025-11-28T11:13:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d2ea1024c9bd7059fcf9c8d481ce6a65d2b7a30.webp?v=1764299624","variant_ids":[43861320368227]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 產房 • 廢料棲息地 鯨魚:海洋的長老 - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118504-BIR01","featured_media":{"alt":null,"id":26428056535139,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d2ea1024c9bd7059fcf9c8d481ce6a65d2b7a30.webp?v=1764299624"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43861320400995,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118524-BIR01","requires_shipping":true,"taxable":true,"featured_image":{"id":34863639330915,"product_id":7931619967075,"position":6,"created_at":"2025-11-28T11:13:44+08:00","updated_at":"2025-11-28T11:13:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e49cbb0977a77b514797540d8bf44ebcae7acad7.webp?v=1764299626","variant_ids":[43861320400995]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 產房 • 廢料棲息地 鯨魚:海洋的長老 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118524-BIR01","featured_media":{"alt":null,"id":26428058370147,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e49cbb0977a77b514797540d8bf44ebcae7acad7.webp?v=1764299626"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43861320564835,"title":"Graphite","option1":"Graphite","option2":null,"option3":null,"sku":"MPB0118569-BIR01","requires_shipping":true,"taxable":true,"featured_image":{"id":34863638642787,"product_id":7931619967075,"position":4,"created_at":"2025-11-28T11:13:43+08:00","updated_at":"2025-11-28T11:13:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d0feae397e6414febe3939903bbfbbeb98f5ceb.webp?v=1764299625","variant_ids":[43861320564835]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 產房 • 廢料棲息地 鯨魚:海洋的長老 - Graphite","public_title":"Graphite","options":["Graphite"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118569-BIR01","featured_media":{"alt":null,"id":26428057649251,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d0feae397e6414febe3939903bbfbbeb98f5ceb.webp?v=1764299625"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43861320663139,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01185J5-BIR01","requires_shipping":true,"taxable":true,"featured_image":{"id":34863638216803,"product_id":7931619967075,"position":3,"created_at":"2025-11-28T11:13:43+08:00","updated_at":"2025-11-28T11:13:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f6c5e7ea72308cb96d1bb2d9d57e72511d3890d.webp?v=1764299625","variant_ids":[43861320663139]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 產房 • 廢料棲息地 鯨魚:海洋的長老 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01185J5-BIR01","featured_media":{"alt":null,"id":26428057256035,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f6c5e7ea72308cb96d1bb2d9d57e72511d3890d.webp?v=1764299625"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43861314961507,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"MPB01185C1-BIR01","requires_shipping":true,"taxable":true,"featured_image":{"id":34863640608867,"product_id":7931619967075,"position":11,"created_at":"2025-11-28T11:13:46+08:00","updated_at":"2025-11-28T11:13:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90797eb8e5107ae9655fc83ac8b3bf2c8ab5909e.webp?v=1764299628","variant_ids":[43861314961507]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 產房 • 廢料棲息地 鯨魚:海洋的長老 - Lavender","public_title":"Lavender","options":["Lavender"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01185C1-BIR01","featured_media":{"alt":null,"id":26428059811939,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90797eb8e5107ae9655fc83ac8b3bf2c8ab5909e.webp?v=1764299628"}},"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: "停產" }