$product = {"id":7836778594403,"title":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) OSAMU GOODS 無線框系列-角色大集合","handle":"iphone-13-pro-max-solidsuit-magsafe-bumper-back-crossover-design-yn37","description":null,"published_at":"2025-07-14T16:12:17+08:00","created_at":"2025-07-14T09:45:12+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-osamugoods","device-iPhone 13 Pro Max","merge","reseller-osamugoods"],"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":43524875190371,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MST012320B-YN37","requires_shipping":true,"taxable":true,"featured_image":{"id":34179646357603,"product_id":7836778594403,"position":14,"created_at":"2025-07-14T14:48:31+08:00","updated_at":"2025-07-14T14:48:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4afdb4f2260bf7ad37dff72cc8e755023e87f143_8c2a8e5b-5f70-49e0-9abe-28aed9d598a7.webp?v=1752475712","variant_ids":[43524875190371]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) OSAMU GOODS 無線框系列-角色大集合 - 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":"MST012320B-YN37","featured_media":{"alt":null,"id":25816932319331,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4afdb4f2260bf7ad37dff72cc8e755023e87f143_8c2a8e5b-5f70-49e0-9abe-28aed9d598a7.webp?v=1752475712"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43524875223139,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"MST01232Z9-YN37","requires_shipping":true,"taxable":true,"featured_image":{"id":34179647307875,"product_id":7836778594403,"position":16,"created_at":"2025-07-14T14:48:32+08:00","updated_at":"2025-07-14T14:48:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9eb23f4c3aedab1a7338bbc96b5be857425b73c0_b1afdd5b-a8c7-4efd-81d6-55117510b872.webp?v=1752475714","variant_ids":[43524875223139]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) OSAMU GOODS 無線框系列-角色大集合 - Tide Blue","public_title":"Tide Blue","options":["Tide Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01232Z9-YN37","featured_media":{"alt":null,"id":25816932679779,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9eb23f4c3aedab1a7338bbc96b5be857425b73c0_b1afdd5b-a8c7-4efd-81d6-55117510b872.webp?v=1752475714"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43524875255907,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0123252-YN37","requires_shipping":true,"taxable":true,"featured_image":{"id":34179646849123,"product_id":7836778594403,"position":15,"created_at":"2025-07-14T14:48:31+08:00","updated_at":"2025-07-14T14:48:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b73a2df715aacdf751ebb63ff61a247910590739_982cee74-c865-4f42-88d8-dc36764984fe.webp?v=1752475713","variant_ids":[43524875255907]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) OSAMU GOODS 無線框系列-角色大集合 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0123252-YN37","featured_media":{"alt":null,"id":25816932483171,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b73a2df715aacdf751ebb63ff61a247910590739_982cee74-c865-4f42-88d8-dc36764984fe.webp?v=1752475713"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de2e9e2b895c94871f9de0b7487136595f3a4e48.webp?v=1752457519","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/250093bd916a8eae04da7e7fab291dc15b420db5.webp?v=1752457519","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b73a2df715aacdf751ebb63ff61a247910590739.webp?v=1752457520","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4551ec4470d47d8c6cd2c52fadbf4c1e756f1008.webp?v=1752457520","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e1b1552faf46c8266120c21184039afbaccdc82.webp?v=1752457521","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d318f25165373b6837fd38bd482b6fdbe421a5b5.webp?v=1752457522","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9eb23f4c3aedab1a7338bbc96b5be857425b73c0.webp?v=1752457523","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4afdb4f2260bf7ad37dff72cc8e755023e87f143.webp?v=1752457523","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/250093bd916a8eae04da7e7fab291dc15b420db5_b0ea614e-cea9-47dd-a1cd-f7530cf37516.webp?v=1752475709","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e1b1552faf46c8266120c21184039afbaccdc82_e4f51f51-749b-4136-9e80-e371e9cc6449.webp?v=1752475710","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d318f25165373b6837fd38bd482b6fdbe421a5b5_b4dc6ab8-efc7-49d8-9584-9708e4695932.webp?v=1752475710","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4551ec4470d47d8c6cd2c52fadbf4c1e756f1008_876b18b4-ca66-4e6c-bd2e-f60941280a34.webp?v=1752475711","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de2e9e2b895c94871f9de0b7487136595f3a4e48_5302bc81-2bb4-4b1c-b216-5bad70914fc2.webp?v=1752475712","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4afdb4f2260bf7ad37dff72cc8e755023e87f143_8c2a8e5b-5f70-49e0-9abe-28aed9d598a7.webp?v=1752475712","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b73a2df715aacdf751ebb63ff61a247910590739_982cee74-c865-4f42-88d8-dc36764984fe.webp?v=1752475713","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9eb23f4c3aedab1a7338bbc96b5be857425b73c0_b1afdd5b-a8c7-4efd-81d6-55117510b872.webp?v=1752475714"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de2e9e2b895c94871f9de0b7487136595f3a4e48.webp?v=1752457519","options":["color"],"media":[{"alt":null,"id":25815774625891,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de2e9e2b895c94871f9de0b7487136595f3a4e48.webp?v=1752457519"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de2e9e2b895c94871f9de0b7487136595f3a4e48.webp?v=1752457519","width":2000},{"alt":null,"id":25815774888035,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/250093bd916a8eae04da7e7fab291dc15b420db5.webp?v=1752457519"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/250093bd916a8eae04da7e7fab291dc15b420db5.webp?v=1752457519","width":2000},{"alt":null,"id":25815775084643,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b73a2df715aacdf751ebb63ff61a247910590739.webp?v=1752457520"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b73a2df715aacdf751ebb63ff61a247910590739.webp?v=1752457520","width":2000},{"alt":null,"id":25815775248483,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4551ec4470d47d8c6cd2c52fadbf4c1e756f1008.webp?v=1752457520"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4551ec4470d47d8c6cd2c52fadbf4c1e756f1008.webp?v=1752457520","width":2000},{"alt":null,"id":25815775346787,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e1b1552faf46c8266120c21184039afbaccdc82.webp?v=1752457521"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e1b1552faf46c8266120c21184039afbaccdc82.webp?v=1752457521","width":2000},{"alt":null,"id":25815775510627,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d318f25165373b6837fd38bd482b6fdbe421a5b5.webp?v=1752457522"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d318f25165373b6837fd38bd482b6fdbe421a5b5.webp?v=1752457522","width":2000},{"alt":null,"id":25815775641699,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9eb23f4c3aedab1a7338bbc96b5be857425b73c0.webp?v=1752457523"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9eb23f4c3aedab1a7338bbc96b5be857425b73c0.webp?v=1752457523","width":2000},{"alt":null,"id":25815775838307,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4afdb4f2260bf7ad37dff72cc8e755023e87f143.webp?v=1752457523"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4afdb4f2260bf7ad37dff72cc8e755023e87f143.webp?v=1752457523","width":2000},{"alt":null,"id":25816931270755,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/250093bd916a8eae04da7e7fab291dc15b420db5_b0ea614e-cea9-47dd-a1cd-f7530cf37516.webp?v=1752475709"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/250093bd916a8eae04da7e7fab291dc15b420db5_b0ea614e-cea9-47dd-a1cd-f7530cf37516.webp?v=1752475709","width":2000},{"alt":null,"id":25816931434595,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e1b1552faf46c8266120c21184039afbaccdc82_e4f51f51-749b-4136-9e80-e371e9cc6449.webp?v=1752475710"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e1b1552faf46c8266120c21184039afbaccdc82_e4f51f51-749b-4136-9e80-e371e9cc6449.webp?v=1752475710","width":2000},{"alt":null,"id":25816931729507,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d318f25165373b6837fd38bd482b6fdbe421a5b5_b4dc6ab8-efc7-49d8-9584-9708e4695932.webp?v=1752475710"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d318f25165373b6837fd38bd482b6fdbe421a5b5_b4dc6ab8-efc7-49d8-9584-9708e4695932.webp?v=1752475710","width":2000},{"alt":null,"id":25816931926115,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4551ec4470d47d8c6cd2c52fadbf4c1e756f1008_876b18b4-ca66-4e6c-bd2e-f60941280a34.webp?v=1752475711"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4551ec4470d47d8c6cd2c52fadbf4c1e756f1008_876b18b4-ca66-4e6c-bd2e-f60941280a34.webp?v=1752475711","width":2000},{"alt":null,"id":25816932155491,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de2e9e2b895c94871f9de0b7487136595f3a4e48_5302bc81-2bb4-4b1c-b216-5bad70914fc2.webp?v=1752475712"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de2e9e2b895c94871f9de0b7487136595f3a4e48_5302bc81-2bb4-4b1c-b216-5bad70914fc2.webp?v=1752475712","width":2000},{"alt":null,"id":25816932319331,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4afdb4f2260bf7ad37dff72cc8e755023e87f143_8c2a8e5b-5f70-49e0-9abe-28aed9d598a7.webp?v=1752475712"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4afdb4f2260bf7ad37dff72cc8e755023e87f143_8c2a8e5b-5f70-49e0-9abe-28aed9d598a7.webp?v=1752475712","width":2000},{"alt":null,"id":25816932483171,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b73a2df715aacdf751ebb63ff61a247910590739_982cee74-c865-4f42-88d8-dc36764984fe.webp?v=1752475713"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b73a2df715aacdf751ebb63ff61a247910590739_982cee74-c865-4f42-88d8-dc36764984fe.webp?v=1752475713","width":2000},{"alt":null,"id":25816932679779,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9eb23f4c3aedab1a7338bbc96b5be857425b73c0_b1afdd5b-a8c7-4efd-81d6-55117510b872.webp?v=1752475714"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9eb23f4c3aedab1a7338bbc96b5be857425b73c0_b1afdd5b-a8c7-4efd-81d6-55117510b872.webp?v=1752475714","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43524875190371,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MST012320B-YN37","requires_shipping":true,"taxable":true,"featured_image":{"id":34179646357603,"product_id":7836778594403,"position":14,"created_at":"2025-07-14T14:48:31+08:00","updated_at":"2025-07-14T14:48:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4afdb4f2260bf7ad37dff72cc8e755023e87f143_8c2a8e5b-5f70-49e0-9abe-28aed9d598a7.webp?v=1752475712","variant_ids":[43524875190371]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) OSAMU GOODS 無線框系列-角色大集合 - 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":"MST012320B-YN37","featured_media":{"alt":null,"id":25816932319331,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4afdb4f2260bf7ad37dff72cc8e755023e87f143_8c2a8e5b-5f70-49e0-9abe-28aed9d598a7.webp?v=1752475712"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43524875223139,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"MST01232Z9-YN37","requires_shipping":true,"taxable":true,"featured_image":{"id":34179647307875,"product_id":7836778594403,"position":16,"created_at":"2025-07-14T14:48:32+08:00","updated_at":"2025-07-14T14:48:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9eb23f4c3aedab1a7338bbc96b5be857425b73c0_b1afdd5b-a8c7-4efd-81d6-55117510b872.webp?v=1752475714","variant_ids":[43524875223139]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) OSAMU GOODS 無線框系列-角色大集合 - Tide Blue","public_title":"Tide Blue","options":["Tide Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01232Z9-YN37","featured_media":{"alt":null,"id":25816932679779,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9eb23f4c3aedab1a7338bbc96b5be857425b73c0_b1afdd5b-a8c7-4efd-81d6-55117510b872.webp?v=1752475714"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43524875255907,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0123252-YN37","requires_shipping":true,"taxable":true,"featured_image":{"id":34179646849123,"product_id":7836778594403,"position":15,"created_at":"2025-07-14T14:48:31+08:00","updated_at":"2025-07-14T14:48:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b73a2df715aacdf751ebb63ff61a247910590739_982cee74-c865-4f42-88d8-dc36764984fe.webp?v=1752475713","variant_ids":[43524875255907]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) OSAMU GOODS 無線框系列-角色大集合 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0123252-YN37","featured_media":{"alt":null,"id":25816932483171,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b73a2df715aacdf751ebb63ff61a247910590739_982cee74-c865-4f42-88d8-dc36764984fe.webp?v=1752475713"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43524875190371,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MST012320B-YN37","requires_shipping":true,"taxable":true,"featured_image":{"id":34179646357603,"product_id":7836778594403,"position":14,"created_at":"2025-07-14T14:48:31+08:00","updated_at":"2025-07-14T14:48:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4afdb4f2260bf7ad37dff72cc8e755023e87f143_8c2a8e5b-5f70-49e0-9abe-28aed9d598a7.webp?v=1752475712","variant_ids":[43524875190371]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) OSAMU GOODS 無線框系列-角色大集合 - 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":"MST012320B-YN37","featured_media":{"alt":null,"id":25816932319331,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4afdb4f2260bf7ad37dff72cc8e755023e87f143_8c2a8e5b-5f70-49e0-9abe-28aed9d598a7.webp?v=1752475712"}},"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: "停產"
}