$product = {"id":8042448552035,"title":"iPhone 14 Pro Mod NX (MagSafe 兼容) NBA Logo-金州勇士 Golden State Warriors - Light","handle":"iphone-14-pro-mod-nx-magsafe-pm01","description":null,"published_at":"2026-07-15T10:14:47+08:00","created_at":"2026-06-23T17:41:36+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-nba","device-iPhone 14 Pro","merge","reseller-nba"],"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":44282520436835,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-PM01","requires_shipping":true,"taxable":true,"featured_image":{"id":36152365776995,"product_id":8042448552035,"position":15,"created_at":"2026-07-02T12:17:30+08:00","updated_at":"2026-07-02T12:17:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bc9277ff79fa4921f1e6cec5da009f336b2ed7d_421c7bc2-7421-48a7-9ee1-916492ec55be.webp?v=1782965852","variant_ids":[44282520436835]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) NBA Logo-金州勇士 Golden State Warriors - Light - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-PM01","featured_media":{"alt":null,"id":27657239298147,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bc9277ff79fa4921f1e6cec5da009f336b2ed7d_421c7bc2-7421-48a7-9ee1-916492ec55be.webp?v=1782965852"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44282522173539,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-PM01","requires_shipping":true,"taxable":true,"featured_image":{"id":36152365318243,"product_id":8042448552035,"position":14,"created_at":"2026-07-02T12:17:29+08:00","updated_at":"2026-07-02T12:17:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a38b468e3ecca48adb1092dfe26d157379c0f2ad_0c193291-7595-42c5-a379-18912aea46f3.webp?v=1782965851","variant_ids":[44282522173539]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) NBA Logo-金州勇士 Golden State Warriors - Light - 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":"MPB01262J5-PM01","featured_media":{"alt":null,"id":27657238806627,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a38b468e3ecca48adb1092dfe26d157379c0f2ad_0c193291-7595-42c5-a379-18912aea46f3.webp?v=1782965851"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44284301639779,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-PM01","requires_shipping":true,"taxable":true,"featured_image":{"id":36152364761187,"product_id":8042448552035,"position":13,"created_at":"2026-07-02T12:17:29+08:00","updated_at":"2026-07-02T12:17:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/119ee0ac8c6734f2643df1d0bb1cfe62510a284d_7e925ae9-0170-4683-9eb3-d860cc09250c.webp?v=1782965851","variant_ids":[44284301639779]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) NBA Logo-金州勇士 Golden State Warriors - Light - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-PM01","featured_media":{"alt":null,"id":27657238249571,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/119ee0ac8c6734f2643df1d0bb1cfe62510a284d_7e925ae9-0170-4683-9eb3-d860cc09250c.webp?v=1782965851"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bc9277ff79fa4921f1e6cec5da009f336b2ed7d.webp?v=1782207719","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a38b468e3ecca48adb1092dfe26d157379c0f2ad.webp?v=1782207721","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/119ee0ac8c6734f2643df1d0bb1cfe62510a284d.webp?v=1782207721","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bc9277ff79fa4921f1e6cec5da009f336b2ed7d_6219e046-4190-4ee3-9016-edfcde0b650e.webp?v=1782218584","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a38b468e3ecca48adb1092dfe26d157379c0f2ad_f31ddc9a-13d5-4cee-9ee8-62206b03f1b2.webp?v=1782218585","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/119ee0ac8c6734f2643df1d0bb1cfe62510a284d_97948bc1-f328-4c4a-ae9a-3d9114ab7c8a.webp?v=1782218585","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/119ee0ac8c6734f2643df1d0bb1cfe62510a284d_95178111-b1fb-4b73-89e9-679111da3cca.webp?v=1782957893","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a38b468e3ecca48adb1092dfe26d157379c0f2ad_7b5f5698-533b-4201-818c-047ed586d751.webp?v=1782957894","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bc9277ff79fa4921f1e6cec5da009f336b2ed7d_0a5fba04-badf-4c04-ba54-2f5f3aa76432.webp?v=1782957895","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/119ee0ac8c6734f2643df1d0bb1cfe62510a284d_3958eb4d-8670-4b3d-95de-1faab55da3da.webp?v=1782961425","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a38b468e3ecca48adb1092dfe26d157379c0f2ad_ccb6876f-497c-4fa5-b2ff-1baa0e438f62.webp?v=1782961425","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bc9277ff79fa4921f1e6cec5da009f336b2ed7d_f15fb8e0-de84-4080-a0a3-0de6f0e90767.webp?v=1782961426","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/119ee0ac8c6734f2643df1d0bb1cfe62510a284d_7e925ae9-0170-4683-9eb3-d860cc09250c.webp?v=1782965851","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a38b468e3ecca48adb1092dfe26d157379c0f2ad_0c193291-7595-42c5-a379-18912aea46f3.webp?v=1782965851","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bc9277ff79fa4921f1e6cec5da009f336b2ed7d_421c7bc2-7421-48a7-9ee1-916492ec55be.webp?v=1782965852"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bc9277ff79fa4921f1e6cec5da009f336b2ed7d.webp?v=1782207719","options":["color"],"media":[{"alt":null,"id":27576023548003,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bc9277ff79fa4921f1e6cec5da009f336b2ed7d.webp?v=1782207719"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bc9277ff79fa4921f1e6cec5da009f336b2ed7d.webp?v=1782207719","width":2000},{"alt":null,"id":27576024203363,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a38b468e3ecca48adb1092dfe26d157379c0f2ad.webp?v=1782207721"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a38b468e3ecca48adb1092dfe26d157379c0f2ad.webp?v=1782207721","width":2000},{"alt":null,"id":27576024924259,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/119ee0ac8c6734f2643df1d0bb1cfe62510a284d.webp?v=1782207721"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/119ee0ac8c6734f2643df1d0bb1cfe62510a284d.webp?v=1782207721","width":2000},{"alt":null,"id":27581539287139,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bc9277ff79fa4921f1e6cec5da009f336b2ed7d_6219e046-4190-4ee3-9016-edfcde0b650e.webp?v=1782218584"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bc9277ff79fa4921f1e6cec5da009f336b2ed7d_6219e046-4190-4ee3-9016-edfcde0b650e.webp?v=1782218584","width":2000},{"alt":null,"id":27581539450979,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a38b468e3ecca48adb1092dfe26d157379c0f2ad_f31ddc9a-13d5-4cee-9ee8-62206b03f1b2.webp?v=1782218585"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a38b468e3ecca48adb1092dfe26d157379c0f2ad_f31ddc9a-13d5-4cee-9ee8-62206b03f1b2.webp?v=1782218585","width":2000},{"alt":null,"id":27581539680355,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/119ee0ac8c6734f2643df1d0bb1cfe62510a284d_97948bc1-f328-4c4a-ae9a-3d9114ab7c8a.webp?v=1782218585"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/119ee0ac8c6734f2643df1d0bb1cfe62510a284d_97948bc1-f328-4c4a-ae9a-3d9114ab7c8a.webp?v=1782218585","width":2000},{"alt":null,"id":27655961215075,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/119ee0ac8c6734f2643df1d0bb1cfe62510a284d_95178111-b1fb-4b73-89e9-679111da3cca.webp?v=1782957893"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/119ee0ac8c6734f2643df1d0bb1cfe62510a284d_95178111-b1fb-4b73-89e9-679111da3cca.webp?v=1782957893","width":2000},{"alt":null,"id":27655961608291,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a38b468e3ecca48adb1092dfe26d157379c0f2ad_7b5f5698-533b-4201-818c-047ed586d751.webp?v=1782957894"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a38b468e3ecca48adb1092dfe26d157379c0f2ad_7b5f5698-533b-4201-818c-047ed586d751.webp?v=1782957894","width":2000},{"alt":null,"id":27655961935971,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bc9277ff79fa4921f1e6cec5da009f336b2ed7d_0a5fba04-badf-4c04-ba54-2f5f3aa76432.webp?v=1782957895"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bc9277ff79fa4921f1e6cec5da009f336b2ed7d_0a5fba04-badf-4c04-ba54-2f5f3aa76432.webp?v=1782957895","width":2000},{"alt":null,"id":27656761278563,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/119ee0ac8c6734f2643df1d0bb1cfe62510a284d_3958eb4d-8670-4b3d-95de-1faab55da3da.webp?v=1782961425"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/119ee0ac8c6734f2643df1d0bb1cfe62510a284d_3958eb4d-8670-4b3d-95de-1faab55da3da.webp?v=1782961425","width":2000},{"alt":null,"id":27656761639011,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a38b468e3ecca48adb1092dfe26d157379c0f2ad_ccb6876f-497c-4fa5-b2ff-1baa0e438f62.webp?v=1782961425"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a38b468e3ecca48adb1092dfe26d157379c0f2ad_ccb6876f-497c-4fa5-b2ff-1baa0e438f62.webp?v=1782961425","width":2000},{"alt":null,"id":27656761999459,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bc9277ff79fa4921f1e6cec5da009f336b2ed7d_f15fb8e0-de84-4080-a0a3-0de6f0e90767.webp?v=1782961426"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bc9277ff79fa4921f1e6cec5da009f336b2ed7d_f15fb8e0-de84-4080-a0a3-0de6f0e90767.webp?v=1782961426","width":2000},{"alt":null,"id":27657238249571,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/119ee0ac8c6734f2643df1d0bb1cfe62510a284d_7e925ae9-0170-4683-9eb3-d860cc09250c.webp?v=1782965851"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/119ee0ac8c6734f2643df1d0bb1cfe62510a284d_7e925ae9-0170-4683-9eb3-d860cc09250c.webp?v=1782965851","width":2000},{"alt":null,"id":27657238806627,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a38b468e3ecca48adb1092dfe26d157379c0f2ad_0c193291-7595-42c5-a379-18912aea46f3.webp?v=1782965851"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a38b468e3ecca48adb1092dfe26d157379c0f2ad_0c193291-7595-42c5-a379-18912aea46f3.webp?v=1782965851","width":2000},{"alt":null,"id":27657239298147,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bc9277ff79fa4921f1e6cec5da009f336b2ed7d_421c7bc2-7421-48a7-9ee1-916492ec55be.webp?v=1782965852"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bc9277ff79fa4921f1e6cec5da009f336b2ed7d_421c7bc2-7421-48a7-9ee1-916492ec55be.webp?v=1782965852","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":44282520436835,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-PM01","requires_shipping":true,"taxable":true,"featured_image":{"id":36152365776995,"product_id":8042448552035,"position":15,"created_at":"2026-07-02T12:17:30+08:00","updated_at":"2026-07-02T12:17:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bc9277ff79fa4921f1e6cec5da009f336b2ed7d_421c7bc2-7421-48a7-9ee1-916492ec55be.webp?v=1782965852","variant_ids":[44282520436835]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) NBA Logo-金州勇士 Golden State Warriors - Light - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-PM01","featured_media":{"alt":null,"id":27657239298147,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bc9277ff79fa4921f1e6cec5da009f336b2ed7d_421c7bc2-7421-48a7-9ee1-916492ec55be.webp?v=1782965852"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44282522173539,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-PM01","requires_shipping":true,"taxable":true,"featured_image":{"id":36152365318243,"product_id":8042448552035,"position":14,"created_at":"2026-07-02T12:17:29+08:00","updated_at":"2026-07-02T12:17:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a38b468e3ecca48adb1092dfe26d157379c0f2ad_0c193291-7595-42c5-a379-18912aea46f3.webp?v=1782965851","variant_ids":[44282522173539]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) NBA Logo-金州勇士 Golden State Warriors - Light - 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":"MPB01262J5-PM01","featured_media":{"alt":null,"id":27657238806627,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a38b468e3ecca48adb1092dfe26d157379c0f2ad_0c193291-7595-42c5-a379-18912aea46f3.webp?v=1782965851"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44284301639779,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-PM01","requires_shipping":true,"taxable":true,"featured_image":{"id":36152364761187,"product_id":8042448552035,"position":13,"created_at":"2026-07-02T12:17:29+08:00","updated_at":"2026-07-02T12:17:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/119ee0ac8c6734f2643df1d0bb1cfe62510a284d_7e925ae9-0170-4683-9eb3-d860cc09250c.webp?v=1782965851","variant_ids":[44284301639779]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) NBA Logo-金州勇士 Golden State Warriors - Light - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-PM01","featured_media":{"alt":null,"id":27657238249571,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/119ee0ac8c6734f2643df1d0bb1cfe62510a284d_7e925ae9-0170-4683-9eb3-d860cc09250c.webp?v=1782965851"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":44282520436835,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-PM01","requires_shipping":true,"taxable":true,"featured_image":{"id":36152365776995,"product_id":8042448552035,"position":15,"created_at":"2026-07-02T12:17:30+08:00","updated_at":"2026-07-02T12:17:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bc9277ff79fa4921f1e6cec5da009f336b2ed7d_421c7bc2-7421-48a7-9ee1-916492ec55be.webp?v=1782965852","variant_ids":[44282520436835]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) NBA Logo-金州勇士 Golden State Warriors - Light - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-PM01","featured_media":{"alt":null,"id":27657239298147,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0bc9277ff79fa4921f1e6cec5da009f336b2ed7d_421c7bc2-7421-48a7-9ee1-916492ec55be.webp?v=1782965852"}},"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: "停產"
}