$product = {"id":7838016569443,"title":"iPhone 14 Pro Max Mod NX BOUNCE Bounce Universe","handle":"iphone-14-pro-max-mod-nx-hk61","description":null,"published_at":"2025-07-16T12:05:45+08:00","created_at":"2025-07-16T09:35:33+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-bounce","device-iPhone 14 Pro Max","merge","reseller-bounce"],"price":90000,"price_min":90000,"price_max":90000,"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":43528482750563,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"NPB01263C1-HK61","requires_shipping":true,"taxable":true,"featured_image":{"id":34192969564259,"product_id":7838016569443,"position":5,"created_at":"2025-07-16T09:35:39+08:00","updated_at":"2025-07-16T09:35:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/467ce73344e8daaec1d0d4a07f1aa38b0c6141a6.webp?v=1752629741","variant_ids":[43528482750563]},"available":true,"name":"iPhone 14 Pro Max Mod NX BOUNCE Bounce Universe - Lavender","public_title":"Lavender","options":["Lavender"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01263C1-HK61","featured_media":{"alt":null,"id":25827203612771,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/467ce73344e8daaec1d0d4a07f1aa38b0c6141a6.webp?v=1752629741"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43528486027363,"title":"Graphite","option1":"Graphite","option2":null,"option3":null,"sku":"NPB0126369-HK61","requires_shipping":true,"taxable":true,"featured_image":{"id":34192970416227,"product_id":7838016569443,"position":8,"created_at":"2025-07-16T09:35:41+08:00","updated_at":"2025-07-16T09:35:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59e2d0ab4f18d6f9ce5acad7c26ce030b2ac702a.webp?v=1752629743","variant_ids":[43528486027363]},"available":true,"name":"iPhone 14 Pro Max Mod NX BOUNCE Bounce Universe - Graphite","public_title":"Graphite","options":["Graphite"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126369-HK61","featured_media":{"alt":null,"id":25827204005987,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59e2d0ab4f18d6f9ce5acad7c26ce030b2ac702a.webp?v=1752629743"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43528486060131,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0126304-HK61","requires_shipping":true,"taxable":true,"featured_image":{"id":34192970055779,"product_id":7838016569443,"position":7,"created_at":"2025-07-16T09:35:40+08:00","updated_at":"2025-07-16T09:35:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c2856e4a5dbe306fe94a9bac73707e02cc37867.webp?v=1752629742","variant_ids":[43528486060131]},"available":true,"name":"iPhone 14 Pro Max Mod NX BOUNCE Bounce Universe - White","public_title":"White","options":["White"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126304-HK61","featured_media":{"alt":null,"id":25827203907683,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c2856e4a5dbe306fe94a9bac73707e02cc37867.webp?v=1752629742"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43528486158435,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126324-HK61","requires_shipping":true,"taxable":true,"featured_image":{"id":34192968843363,"product_id":7838016569443,"position":2,"created_at":"2025-07-16T09:35:38+08:00","updated_at":"2025-07-16T09:35:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8526591e7a21a8df8bd57a0270cb630a4aaa1d5c.webp?v=1752629739","variant_ids":[43528486158435]},"available":true,"name":"iPhone 14 Pro Max Mod NX BOUNCE Bounce Universe - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126324-HK61","featured_media":{"alt":null,"id":25827203350627,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8526591e7a21a8df8bd57a0270cb630a4aaa1d5c.webp?v=1752629739"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43528486322275,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01263J5-HK61","requires_shipping":true,"taxable":true,"featured_image":{"id":34192972251235,"product_id":7838016569443,"position":12,"created_at":"2025-07-16T09:35:43+08:00","updated_at":"2025-07-16T09:35:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd1dcad8f43aea7e4df0047eac348e60d30bf0ed.webp?v=1752629745","variant_ids":[43528486322275]},"available":true,"name":"iPhone 14 Pro Max Mod NX BOUNCE Bounce Universe - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01263J5-HK61","featured_media":{"alt":null,"id":25827204661347,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd1dcad8f43aea7e4df0047eac348e60d30bf0ed.webp?v=1752629745"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef911891e8b034ac8834ad8d9431a4a9424eaa22.webp?v=1752629739","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8526591e7a21a8df8bd57a0270cb630a4aaa1d5c.webp?v=1752629739","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7613a73cb5e3f335341b927b4320b035ac1e8fa.webp?v=1752629740","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c60be813698f5bf8550d2d8798ba40ea02ac7e03.webp?v=1752629741","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/467ce73344e8daaec1d0d4a07f1aa38b0c6141a6.webp?v=1752629741","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8683ce93724ed7820e6cf103d49ceebf381a8088.webp?v=1752629742","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c2856e4a5dbe306fe94a9bac73707e02cc37867.webp?v=1752629742","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59e2d0ab4f18d6f9ce5acad7c26ce030b2ac702a.webp?v=1752629743","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eff978c803ac0394203a8613075e2ec731d2efdc.webp?v=1752629743","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4a4ee30121c7a423564b1b13e765a5766840250.webp?v=1752629743","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d0f2573bc0530c90207b8990d41327d67426a7e.webp?v=1752629744","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd1dcad8f43aea7e4df0047eac348e60d30bf0ed.webp?v=1752629745","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/927773a5dd55397dbab39ebcb7b27036f1000aff.webp?v=1752629745"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef911891e8b034ac8834ad8d9431a4a9424eaa22.webp?v=1752629739","options":["color"],"media":[{"alt":null,"id":25827203186787,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef911891e8b034ac8834ad8d9431a4a9424eaa22.webp?v=1752629739"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef911891e8b034ac8834ad8d9431a4a9424eaa22.webp?v=1752629739","width":2000},{"alt":null,"id":25827203350627,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8526591e7a21a8df8bd57a0270cb630a4aaa1d5c.webp?v=1752629739"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8526591e7a21a8df8bd57a0270cb630a4aaa1d5c.webp?v=1752629739","width":2000},{"alt":null,"id":25827203448931,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7613a73cb5e3f335341b927b4320b035ac1e8fa.webp?v=1752629740"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7613a73cb5e3f335341b927b4320b035ac1e8fa.webp?v=1752629740","width":2000},{"alt":null,"id":25827203514467,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c60be813698f5bf8550d2d8798ba40ea02ac7e03.webp?v=1752629741"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c60be813698f5bf8550d2d8798ba40ea02ac7e03.webp?v=1752629741","width":2000},{"alt":null,"id":25827203612771,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/467ce73344e8daaec1d0d4a07f1aa38b0c6141a6.webp?v=1752629741"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/467ce73344e8daaec1d0d4a07f1aa38b0c6141a6.webp?v=1752629741","width":2000},{"alt":null,"id":25827203743843,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8683ce93724ed7820e6cf103d49ceebf381a8088.webp?v=1752629742"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8683ce93724ed7820e6cf103d49ceebf381a8088.webp?v=1752629742","width":2000},{"alt":null,"id":25827203907683,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c2856e4a5dbe306fe94a9bac73707e02cc37867.webp?v=1752629742"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c2856e4a5dbe306fe94a9bac73707e02cc37867.webp?v=1752629742","width":2000},{"alt":null,"id":25827204005987,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59e2d0ab4f18d6f9ce5acad7c26ce030b2ac702a.webp?v=1752629743"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59e2d0ab4f18d6f9ce5acad7c26ce030b2ac702a.webp?v=1752629743","width":2000},{"alt":null,"id":25827204137059,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eff978c803ac0394203a8613075e2ec731d2efdc.webp?v=1752629743"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eff978c803ac0394203a8613075e2ec731d2efdc.webp?v=1752629743","width":2000},{"alt":null,"id":25827204300899,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4a4ee30121c7a423564b1b13e765a5766840250.webp?v=1752629743"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4a4ee30121c7a423564b1b13e765a5766840250.webp?v=1752629743","width":2000},{"alt":null,"id":25827204431971,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d0f2573bc0530c90207b8990d41327d67426a7e.webp?v=1752629744"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d0f2573bc0530c90207b8990d41327d67426a7e.webp?v=1752629744","width":2000},{"alt":null,"id":25827204661347,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd1dcad8f43aea7e4df0047eac348e60d30bf0ed.webp?v=1752629745"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd1dcad8f43aea7e4df0047eac348e60d30bf0ed.webp?v=1752629745","width":2000},{"alt":null,"id":25827204857955,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/927773a5dd55397dbab39ebcb7b27036f1000aff.webp?v=1752629745"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/927773a5dd55397dbab39ebcb7b27036f1000aff.webp?v=1752629745","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":43528482750563,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"NPB01263C1-HK61","requires_shipping":true,"taxable":true,"featured_image":{"id":34192969564259,"product_id":7838016569443,"position":5,"created_at":"2025-07-16T09:35:39+08:00","updated_at":"2025-07-16T09:35:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/467ce73344e8daaec1d0d4a07f1aa38b0c6141a6.webp?v=1752629741","variant_ids":[43528482750563]},"available":true,"name":"iPhone 14 Pro Max Mod NX BOUNCE Bounce Universe - Lavender","public_title":"Lavender","options":["Lavender"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01263C1-HK61","featured_media":{"alt":null,"id":25827203612771,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/467ce73344e8daaec1d0d4a07f1aa38b0c6141a6.webp?v=1752629741"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43528486027363,"title":"Graphite","option1":"Graphite","option2":null,"option3":null,"sku":"NPB0126369-HK61","requires_shipping":true,"taxable":true,"featured_image":{"id":34192970416227,"product_id":7838016569443,"position":8,"created_at":"2025-07-16T09:35:41+08:00","updated_at":"2025-07-16T09:35:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59e2d0ab4f18d6f9ce5acad7c26ce030b2ac702a.webp?v=1752629743","variant_ids":[43528486027363]},"available":true,"name":"iPhone 14 Pro Max Mod NX BOUNCE Bounce Universe - Graphite","public_title":"Graphite","options":["Graphite"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126369-HK61","featured_media":{"alt":null,"id":25827204005987,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59e2d0ab4f18d6f9ce5acad7c26ce030b2ac702a.webp?v=1752629743"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43528486060131,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0126304-HK61","requires_shipping":true,"taxable":true,"featured_image":{"id":34192970055779,"product_id":7838016569443,"position":7,"created_at":"2025-07-16T09:35:40+08:00","updated_at":"2025-07-16T09:35:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c2856e4a5dbe306fe94a9bac73707e02cc37867.webp?v=1752629742","variant_ids":[43528486060131]},"available":true,"name":"iPhone 14 Pro Max Mod NX BOUNCE Bounce Universe - White","public_title":"White","options":["White"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126304-HK61","featured_media":{"alt":null,"id":25827203907683,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c2856e4a5dbe306fe94a9bac73707e02cc37867.webp?v=1752629742"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43528486158435,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126324-HK61","requires_shipping":true,"taxable":true,"featured_image":{"id":34192968843363,"product_id":7838016569443,"position":2,"created_at":"2025-07-16T09:35:38+08:00","updated_at":"2025-07-16T09:35:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8526591e7a21a8df8bd57a0270cb630a4aaa1d5c.webp?v=1752629739","variant_ids":[43528486158435]},"available":true,"name":"iPhone 14 Pro Max Mod NX BOUNCE Bounce Universe - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126324-HK61","featured_media":{"alt":null,"id":25827203350627,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8526591e7a21a8df8bd57a0270cb630a4aaa1d5c.webp?v=1752629739"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43528486322275,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01263J5-HK61","requires_shipping":true,"taxable":true,"featured_image":{"id":34192972251235,"product_id":7838016569443,"position":12,"created_at":"2025-07-16T09:35:43+08:00","updated_at":"2025-07-16T09:35:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd1dcad8f43aea7e4df0047eac348e60d30bf0ed.webp?v=1752629745","variant_ids":[43528486322275]},"available":true,"name":"iPhone 14 Pro Max Mod NX BOUNCE Bounce Universe - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01263J5-HK61","featured_media":{"alt":null,"id":25827204661347,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd1dcad8f43aea7e4df0047eac348e60d30bf0ed.webp?v=1752629745"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43528482750563,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"NPB01263C1-HK61","requires_shipping":true,"taxable":true,"featured_image":{"id":34192969564259,"product_id":7838016569443,"position":5,"created_at":"2025-07-16T09:35:39+08:00","updated_at":"2025-07-16T09:35:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/467ce73344e8daaec1d0d4a07f1aa38b0c6141a6.webp?v=1752629741","variant_ids":[43528482750563]},"available":true,"name":"iPhone 14 Pro Max Mod NX BOUNCE Bounce Universe - Lavender","public_title":"Lavender","options":["Lavender"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01263C1-HK61","featured_media":{"alt":null,"id":25827203612771,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/467ce73344e8daaec1d0d4a07f1aa38b0c6141a6.webp?v=1752629741"}},"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: "停產" }