$product = {"id":7830893297763,"title":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 不只是情人節:愛的方程式 愛的方程式:心動頻率(紅)","handle":"iphone-12-pro-mod-nx-magsafe-bumper-original-design-dk03","description":null,"published_at":"2025-07-04T10:12:20+08:00","created_at":"2025-07-03T16:12:05+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer-valentines-day-collection","device-iPhone 12 Pro","discountable-item","merge","original-design","reseller-valentines-day-collection"],"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":43507406274659,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"MPB01185C1-DK03","requires_shipping":true,"taxable":true,"featured_image":{"id":34116591157347,"product_id":7830893297763,"position":10,"created_at":"2025-07-03T16:12:11+08:00","updated_at":"2025-07-03T16:12:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e35730c503568d4a5147ab0f72499fcdf1dcd9a.webp?v=1751530333","variant_ids":[43507406274659]},"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-DK03","featured_media":{"alt":null,"id":25769536618595,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e35730c503568d4a5147ab0f72499fcdf1dcd9a.webp?v=1751530333"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43507409354851,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01185J5-DK03","requires_shipping":true,"taxable":true,"featured_image":{"id":34116588503139,"product_id":7830893297763,"position":4,"created_at":"2025-07-03T16:12:07+08:00","updated_at":"2025-07-03T16:12:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb99ed8c73a92d65aab0454bf94148e7fcae07cf.webp?v=1751530329","variant_ids":[43507409354851]},"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-DK03","featured_media":{"alt":null,"id":25769535012963,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb99ed8c73a92d65aab0454bf94148e7fcae07cf.webp?v=1751530329"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43507409420387,"title":"Graphite","option1":"Graphite","option2":null,"option3":null,"sku":"MPB0118569-DK03","requires_shipping":true,"taxable":true,"featured_image":{"id":34116589748323,"product_id":7830893297763,"position":7,"created_at":"2025-07-03T16:12:09+08:00","updated_at":"2025-07-03T16:12:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2956e882ccd6dcc086ce44ffccb84ce91efff97.webp?v=1751530331","variant_ids":[43507409420387]},"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-DK03","featured_media":{"alt":null,"id":25769535963235,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2956e882ccd6dcc086ce44ffccb84ce91efff97.webp?v=1751530331"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43507409518691,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118524-DK03","requires_shipping":true,"taxable":true,"featured_image":{"id":34116590600291,"product_id":7830893297763,"position":9,"created_at":"2025-07-03T16:12:10+08:00","updated_at":"2025-07-03T16:12:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f740d9a7a3e31684ec21f4cd2b7970877b041fa4.webp?v=1751530332","variant_ids":[43507409518691]},"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-DK03","featured_media":{"alt":null,"id":25769536356451,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f740d9a7a3e31684ec21f4cd2b7970877b041fa4.webp?v=1751530332"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43507409649763,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0118504-DK03","requires_shipping":true,"taxable":true,"featured_image":{"id":34116587520099,"product_id":7830893297763,"position":3,"created_at":"2025-07-03T16:12:07+08:00","updated_at":"2025-07-03T16:12:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/630d0b20e7d929a252f5dfb4f6d4c44ca19920d1.webp?v=1751530329","variant_ids":[43507409649763]},"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-DK03","featured_media":{"alt":null,"id":25769534586979,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/630d0b20e7d929a252f5dfb4f6d4c44ca19920d1.webp?v=1751530329"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a0a4686bd6a221f9112fad8d9a1853625bcea9e.webp?v=1751530328","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/293e7d749158bffedb3a4bb566739063fb62196a.webp?v=1751530328","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/630d0b20e7d929a252f5dfb4f6d4c44ca19920d1.webp?v=1751530329","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb99ed8c73a92d65aab0454bf94148e7fcae07cf.webp?v=1751530329","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/531e42c3306137c96d2d153df9ef6965df10ef9b.webp?v=1751530330","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec8393321267761de400f057bc882741808f5b26.webp?v=1751530330","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2956e882ccd6dcc086ce44ffccb84ce91efff97.webp?v=1751530331","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9847ffe0fc86442a61ab20ebe852e4093ef99b85.webp?v=1751530331","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f740d9a7a3e31684ec21f4cd2b7970877b041fa4.webp?v=1751530332","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e35730c503568d4a5147ab0f72499fcdf1dcd9a.webp?v=1751530333","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28401c0cdbc3c27a9d26c1c691eb8abf981fc3b7.webp?v=1751530333"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a0a4686bd6a221f9112fad8d9a1853625bcea9e.webp?v=1751530328","options":["color"],"media":[{"alt":null,"id":25769533833315,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a0a4686bd6a221f9112fad8d9a1853625bcea9e.webp?v=1751530328"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a0a4686bd6a221f9112fad8d9a1853625bcea9e.webp?v=1751530328","width":2000},{"alt":null,"id":25769534226531,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/293e7d749158bffedb3a4bb566739063fb62196a.webp?v=1751530328"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/293e7d749158bffedb3a4bb566739063fb62196a.webp?v=1751530328","width":2000},{"alt":null,"id":25769534586979,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/630d0b20e7d929a252f5dfb4f6d4c44ca19920d1.webp?v=1751530329"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/630d0b20e7d929a252f5dfb4f6d4c44ca19920d1.webp?v=1751530329","width":2000},{"alt":null,"id":25769535012963,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb99ed8c73a92d65aab0454bf94148e7fcae07cf.webp?v=1751530329"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb99ed8c73a92d65aab0454bf94148e7fcae07cf.webp?v=1751530329","width":2000},{"alt":null,"id":25769535242339,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/531e42c3306137c96d2d153df9ef6965df10ef9b.webp?v=1751530330"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/531e42c3306137c96d2d153df9ef6965df10ef9b.webp?v=1751530330","width":2000},{"alt":null,"id":25769535537251,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec8393321267761de400f057bc882741808f5b26.webp?v=1751530330"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec8393321267761de400f057bc882741808f5b26.webp?v=1751530330","width":2000},{"alt":null,"id":25769535963235,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2956e882ccd6dcc086ce44ffccb84ce91efff97.webp?v=1751530331"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2956e882ccd6dcc086ce44ffccb84ce91efff97.webp?v=1751530331","width":2000},{"alt":null,"id":25769536192611,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9847ffe0fc86442a61ab20ebe852e4093ef99b85.webp?v=1751530331"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9847ffe0fc86442a61ab20ebe852e4093ef99b85.webp?v=1751530331","width":2000},{"alt":null,"id":25769536356451,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f740d9a7a3e31684ec21f4cd2b7970877b041fa4.webp?v=1751530332"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f740d9a7a3e31684ec21f4cd2b7970877b041fa4.webp?v=1751530332","width":2000},{"alt":null,"id":25769536618595,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e35730c503568d4a5147ab0f72499fcdf1dcd9a.webp?v=1751530333"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e35730c503568d4a5147ab0f72499fcdf1dcd9a.webp?v=1751530333","width":2000},{"alt":null,"id":25769536880739,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28401c0cdbc3c27a9d26c1c691eb8abf981fc3b7.webp?v=1751530333"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28401c0cdbc3c27a9d26c1c691eb8abf981fc3b7.webp?v=1751530333","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43507406274659,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"MPB01185C1-DK03","requires_shipping":true,"taxable":true,"featured_image":{"id":34116591157347,"product_id":7830893297763,"position":10,"created_at":"2025-07-03T16:12:11+08:00","updated_at":"2025-07-03T16:12:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e35730c503568d4a5147ab0f72499fcdf1dcd9a.webp?v=1751530333","variant_ids":[43507406274659]},"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-DK03","featured_media":{"alt":null,"id":25769536618595,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e35730c503568d4a5147ab0f72499fcdf1dcd9a.webp?v=1751530333"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43507409354851,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01185J5-DK03","requires_shipping":true,"taxable":true,"featured_image":{"id":34116588503139,"product_id":7830893297763,"position":4,"created_at":"2025-07-03T16:12:07+08:00","updated_at":"2025-07-03T16:12:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb99ed8c73a92d65aab0454bf94148e7fcae07cf.webp?v=1751530329","variant_ids":[43507409354851]},"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-DK03","featured_media":{"alt":null,"id":25769535012963,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb99ed8c73a92d65aab0454bf94148e7fcae07cf.webp?v=1751530329"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43507409420387,"title":"Graphite","option1":"Graphite","option2":null,"option3":null,"sku":"MPB0118569-DK03","requires_shipping":true,"taxable":true,"featured_image":{"id":34116589748323,"product_id":7830893297763,"position":7,"created_at":"2025-07-03T16:12:09+08:00","updated_at":"2025-07-03T16:12:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2956e882ccd6dcc086ce44ffccb84ce91efff97.webp?v=1751530331","variant_ids":[43507409420387]},"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-DK03","featured_media":{"alt":null,"id":25769535963235,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2956e882ccd6dcc086ce44ffccb84ce91efff97.webp?v=1751530331"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43507409518691,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118524-DK03","requires_shipping":true,"taxable":true,"featured_image":{"id":34116590600291,"product_id":7830893297763,"position":9,"created_at":"2025-07-03T16:12:10+08:00","updated_at":"2025-07-03T16:12:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f740d9a7a3e31684ec21f4cd2b7970877b041fa4.webp?v=1751530332","variant_ids":[43507409518691]},"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-DK03","featured_media":{"alt":null,"id":25769536356451,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f740d9a7a3e31684ec21f4cd2b7970877b041fa4.webp?v=1751530332"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43507409649763,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0118504-DK03","requires_shipping":true,"taxable":true,"featured_image":{"id":34116587520099,"product_id":7830893297763,"position":3,"created_at":"2025-07-03T16:12:07+08:00","updated_at":"2025-07-03T16:12:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/630d0b20e7d929a252f5dfb4f6d4c44ca19920d1.webp?v=1751530329","variant_ids":[43507409649763]},"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-DK03","featured_media":{"alt":null,"id":25769534586979,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/630d0b20e7d929a252f5dfb4f6d4c44ca19920d1.webp?v=1751530329"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43507406274659,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"MPB01185C1-DK03","requires_shipping":true,"taxable":true,"featured_image":{"id":34116591157347,"product_id":7830893297763,"position":10,"created_at":"2025-07-03T16:12:11+08:00","updated_at":"2025-07-03T16:12:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e35730c503568d4a5147ab0f72499fcdf1dcd9a.webp?v=1751530333","variant_ids":[43507406274659]},"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-DK03","featured_media":{"alt":null,"id":25769536618595,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e35730c503568d4a5147ab0f72499fcdf1dcd9a.webp?v=1751530333"}},"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: "停產" }