$product = {"id":7937559298147,"title":"iPhone 13 mini Mod NX (MagSafe 兼容) Jin Young Choi 蘭花貓","handle":"iphone-13-mini-mod-nx-magsafe-cjy10","description":null,"published_at":"2025-12-12T09:49:53+08:00","created_at":"2025-12-11T09:45:31+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-jychoioioi","device-iPhone 13 Mini","merge","reseller-jychoioioi"],"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":43883048894563,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-CJY10","requires_shipping":true,"taxable":true,"featured_image":{"id":34930939396195,"product_id":7937559298147,"position":10,"created_at":"2025-12-11T09:52:08+08:00","updated_at":"2025-12-11T09:52:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/003ad1b1cd284c06ea2f0353217090fb68650a1b_2b170853-54ed-4c24-abf2-163bbf66af41.webp?v=1765417930","variant_ids":[43883048894563]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Jin Young Choi 蘭花貓 - 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":"MPB01228J5-CJY10","featured_media":{"alt":null,"id":26493313908835,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/003ad1b1cd284c06ea2f0353217090fb68650a1b_2b170853-54ed-4c24-abf2-163bbf66af41.webp?v=1765417930"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43883048927331,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-CJY10","requires_shipping":true,"taxable":true,"featured_image":{"id":34930939199587,"product_id":7937559298147,"position":9,"created_at":"2025-12-11T09:52:08+08:00","updated_at":"2025-12-11T09:52:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea4cefd6df972aa9cc61da933c6f9b814f64b3e0.webp?v=1765417929","variant_ids":[43883048927331]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Jin Young Choi 蘭花貓 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122824-CJY10","featured_media":{"alt":null,"id":26493313613923,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea4cefd6df972aa9cc61da933c6f9b814f64b3e0.webp?v=1765417929"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43883049025635,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-CJY10","requires_shipping":true,"taxable":true,"featured_image":{"id":34930939592803,"product_id":7937559298147,"position":11,"created_at":"2025-12-11T09:52:09+08:00","updated_at":"2025-12-11T09:52:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/562a4e4d14ceb55e52068d289318a2813e303065_35457464-dad0-4226-ae90-7622de7e4e0d.webp?v=1765417931","variant_ids":[43883049025635]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Jin Young Choi 蘭花貓 - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122804-CJY10","featured_media":{"alt":null,"id":26493314138211,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/562a4e4d14ceb55e52068d289318a2813e303065_35457464-dad0-4226-ae90-7622de7e4e0d.webp?v=1765417931"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd9ae6577255212ae20e4c66192f1cd82b29cda1.webp?v=1765417537","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/562a4e4d14ceb55e52068d289318a2813e303065.webp?v=1765417538","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b377750aaea7164c6cb5e24f2a14b484f6af5fe.webp?v=1765417538","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c109cb7daa8225bc08ee4bad683ef4eaccc52ff6.webp?v=1765417539","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/003ad1b1cd284c06ea2f0353217090fb68650a1b.webp?v=1765417539","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83f24bde578de6ea4e8e01a397053687b9480ceb.webp?v=1765417540","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef4a2d923b83ba5a053ce97b8d33f2865fadb055.webp?v=1765417540","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0dd5092acd919c58ef02a79454875eb8a55fb72e.webp?v=1765417929","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea4cefd6df972aa9cc61da933c6f9b814f64b3e0.webp?v=1765417929","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/003ad1b1cd284c06ea2f0353217090fb68650a1b_2b170853-54ed-4c24-abf2-163bbf66af41.webp?v=1765417930","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/562a4e4d14ceb55e52068d289318a2813e303065_35457464-dad0-4226-ae90-7622de7e4e0d.webp?v=1765417931","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef4a2d923b83ba5a053ce97b8d33f2865fadb055_9527b7f3-5ae3-4f80-907a-794eb2ec87a0.webp?v=1765417932","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c109cb7daa8225bc08ee4bad683ef4eaccc52ff6_9de01b04-19ac-4a7f-9f00-570333591507.webp?v=1765417933","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83f24bde578de6ea4e8e01a397053687b9480ceb_35e83ed9-27b0-448c-9d50-e0a0d175da61.webp?v=1765417934","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b377750aaea7164c6cb5e24f2a14b484f6af5fe_21bfab96-c58c-4230-a833-786a74efe615.webp?v=1765417934","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd9ae6577255212ae20e4c66192f1cd82b29cda1_5131c034-91c2-4eb2-9dbd-8d2ded5f0183.webp?v=1765417934","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5753abb86648d0a0d0a0b918c57eaacee3483180.webp?v=1765417935"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd9ae6577255212ae20e4c66192f1cd82b29cda1.webp?v=1765417537","options":["color"],"media":[{"alt":null,"id":26493219831907,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd9ae6577255212ae20e4c66192f1cd82b29cda1.webp?v=1765417537"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd9ae6577255212ae20e4c66192f1cd82b29cda1.webp?v=1765417537","width":2000},{"alt":null,"id":26493219962979,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/562a4e4d14ceb55e52068d289318a2813e303065.webp?v=1765417538"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/562a4e4d14ceb55e52068d289318a2813e303065.webp?v=1765417538","width":2000},{"alt":null,"id":26493220126819,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b377750aaea7164c6cb5e24f2a14b484f6af5fe.webp?v=1765417538"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b377750aaea7164c6cb5e24f2a14b484f6af5fe.webp?v=1765417538","width":2000},{"alt":null,"id":26493220290659,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c109cb7daa8225bc08ee4bad683ef4eaccc52ff6.webp?v=1765417539"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c109cb7daa8225bc08ee4bad683ef4eaccc52ff6.webp?v=1765417539","width":2000},{"alt":null,"id":26493220520035,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/003ad1b1cd284c06ea2f0353217090fb68650a1b.webp?v=1765417539"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/003ad1b1cd284c06ea2f0353217090fb68650a1b.webp?v=1765417539","width":2000},{"alt":null,"id":26493220782179,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83f24bde578de6ea4e8e01a397053687b9480ceb.webp?v=1765417540"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83f24bde578de6ea4e8e01a397053687b9480ceb.webp?v=1765417540","width":2000},{"alt":null,"id":26493221011555,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef4a2d923b83ba5a053ce97b8d33f2865fadb055.webp?v=1765417540"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef4a2d923b83ba5a053ce97b8d33f2865fadb055.webp?v=1765417540","width":2000},{"alt":null,"id":26493313351779,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0dd5092acd919c58ef02a79454875eb8a55fb72e.webp?v=1765417929"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0dd5092acd919c58ef02a79454875eb8a55fb72e.webp?v=1765417929","width":2000},{"alt":null,"id":26493313613923,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea4cefd6df972aa9cc61da933c6f9b814f64b3e0.webp?v=1765417929"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea4cefd6df972aa9cc61da933c6f9b814f64b3e0.webp?v=1765417929","width":2000},{"alt":null,"id":26493313908835,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/003ad1b1cd284c06ea2f0353217090fb68650a1b_2b170853-54ed-4c24-abf2-163bbf66af41.webp?v=1765417930"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/003ad1b1cd284c06ea2f0353217090fb68650a1b_2b170853-54ed-4c24-abf2-163bbf66af41.webp?v=1765417930","width":2000},{"alt":null,"id":26493314138211,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/562a4e4d14ceb55e52068d289318a2813e303065_35457464-dad0-4226-ae90-7622de7e4e0d.webp?v=1765417931"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/562a4e4d14ceb55e52068d289318a2813e303065_35457464-dad0-4226-ae90-7622de7e4e0d.webp?v=1765417931","width":2000},{"alt":null,"id":26493314334819,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef4a2d923b83ba5a053ce97b8d33f2865fadb055_9527b7f3-5ae3-4f80-907a-794eb2ec87a0.webp?v=1765417932"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef4a2d923b83ba5a053ce97b8d33f2865fadb055_9527b7f3-5ae3-4f80-907a-794eb2ec87a0.webp?v=1765417932","width":2000},{"alt":null,"id":26493314695267,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c109cb7daa8225bc08ee4bad683ef4eaccc52ff6_9de01b04-19ac-4a7f-9f00-570333591507.webp?v=1765417933"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c109cb7daa8225bc08ee4bad683ef4eaccc52ff6_9de01b04-19ac-4a7f-9f00-570333591507.webp?v=1765417933","width":2000},{"alt":null,"id":26493314957411,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83f24bde578de6ea4e8e01a397053687b9480ceb_35e83ed9-27b0-448c-9d50-e0a0d175da61.webp?v=1765417934"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83f24bde578de6ea4e8e01a397053687b9480ceb_35e83ed9-27b0-448c-9d50-e0a0d175da61.webp?v=1765417934","width":2000},{"alt":null,"id":26493315252323,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b377750aaea7164c6cb5e24f2a14b484f6af5fe_21bfab96-c58c-4230-a833-786a74efe615.webp?v=1765417934"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b377750aaea7164c6cb5e24f2a14b484f6af5fe_21bfab96-c58c-4230-a833-786a74efe615.webp?v=1765417934","width":2000},{"alt":null,"id":26493315580003,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd9ae6577255212ae20e4c66192f1cd82b29cda1_5131c034-91c2-4eb2-9dbd-8d2ded5f0183.webp?v=1765417934"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd9ae6577255212ae20e4c66192f1cd82b29cda1_5131c034-91c2-4eb2-9dbd-8d2ded5f0183.webp?v=1765417934","width":2000},{"alt":null,"id":26493315776611,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5753abb86648d0a0d0a0b918c57eaacee3483180.webp?v=1765417935"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5753abb86648d0a0d0a0b918c57eaacee3483180.webp?v=1765417935","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":43883048894563,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-CJY10","requires_shipping":true,"taxable":true,"featured_image":{"id":34930939396195,"product_id":7937559298147,"position":10,"created_at":"2025-12-11T09:52:08+08:00","updated_at":"2025-12-11T09:52:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/003ad1b1cd284c06ea2f0353217090fb68650a1b_2b170853-54ed-4c24-abf2-163bbf66af41.webp?v=1765417930","variant_ids":[43883048894563]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Jin Young Choi 蘭花貓 - 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":"MPB01228J5-CJY10","featured_media":{"alt":null,"id":26493313908835,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/003ad1b1cd284c06ea2f0353217090fb68650a1b_2b170853-54ed-4c24-abf2-163bbf66af41.webp?v=1765417930"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43883048927331,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-CJY10","requires_shipping":true,"taxable":true,"featured_image":{"id":34930939199587,"product_id":7937559298147,"position":9,"created_at":"2025-12-11T09:52:08+08:00","updated_at":"2025-12-11T09:52:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea4cefd6df972aa9cc61da933c6f9b814f64b3e0.webp?v=1765417929","variant_ids":[43883048927331]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Jin Young Choi 蘭花貓 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122824-CJY10","featured_media":{"alt":null,"id":26493313613923,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea4cefd6df972aa9cc61da933c6f9b814f64b3e0.webp?v=1765417929"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43883049025635,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-CJY10","requires_shipping":true,"taxable":true,"featured_image":{"id":34930939592803,"product_id":7937559298147,"position":11,"created_at":"2025-12-11T09:52:09+08:00","updated_at":"2025-12-11T09:52:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/562a4e4d14ceb55e52068d289318a2813e303065_35457464-dad0-4226-ae90-7622de7e4e0d.webp?v=1765417931","variant_ids":[43883049025635]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Jin Young Choi 蘭花貓 - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122804-CJY10","featured_media":{"alt":null,"id":26493314138211,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/562a4e4d14ceb55e52068d289318a2813e303065_35457464-dad0-4226-ae90-7622de7e4e0d.webp?v=1765417931"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43883048894563,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-CJY10","requires_shipping":true,"taxable":true,"featured_image":{"id":34930939396195,"product_id":7937559298147,"position":10,"created_at":"2025-12-11T09:52:08+08:00","updated_at":"2025-12-11T09:52:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/003ad1b1cd284c06ea2f0353217090fb68650a1b_2b170853-54ed-4c24-abf2-163bbf66af41.webp?v=1765417930","variant_ids":[43883048894563]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Jin Young Choi 蘭花貓 - 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":"MPB01228J5-CJY10","featured_media":{"alt":null,"id":26493313908835,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/003ad1b1cd284c06ea2f0353217090fb68650a1b_2b170853-54ed-4c24-abf2-163bbf66af41.webp?v=1765417930"}},"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: "停產" }