$product = {"id":7911348142179,"title":"iPhone 14 Pro Max Mod NX PosterLad Arial","handle":"iphone-14-pro-max-mod-nx-printable-pos01","description":null,"published_at":"2025-11-05T10:25:20+08:00","created_at":"2025-11-04T11:01:25+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-posterlad","device-iPhone 14 Pro Max","merge","reseller-posterlad"],"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":43812385292387,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"NPB01263C1-POS01","requires_shipping":true,"taxable":true,"featured_image":{"id":34729488121955,"product_id":7911348142179,"position":10,"created_at":"2025-11-04T11:01:35+08:00","updated_at":"2025-11-04T11:01:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b4dda93d6ea7770e28ec61ecdd04c351febfb72.webp?v=1762225297","variant_ids":[43812385292387]},"available":true,"name":"iPhone 14 Pro Max Mod NX PosterLad Arial - 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-POS01","featured_media":{"alt":null,"id":26297355698275,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b4dda93d6ea7770e28ec61ecdd04c351febfb72.webp?v=1762225297"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43812388765795,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126324-POS01","requires_shipping":true,"taxable":true,"featured_image":{"id":34729486057571,"product_id":7911348142179,"position":2,"created_at":"2025-11-04T11:01:28+08:00","updated_at":"2025-11-04T11:01:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b9e12cd1d1b5ef893b9490fd46cf81748c342ea.webp?v=1762225290","variant_ids":[43812388765795]},"available":true,"name":"iPhone 14 Pro Max Mod NX PosterLad Arial - 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-POS01","featured_media":{"alt":null,"id":26297353633891,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b9e12cd1d1b5ef893b9490fd46cf81748c342ea.webp?v=1762225290"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43812388798563,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01263J5-POS01","requires_shipping":true,"taxable":true,"featured_image":{"id":34729488679011,"product_id":7911348142179,"position":12,"created_at":"2025-11-04T11:01:36+08:00","updated_at":"2025-11-04T11:01:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e0d2c27e742f46ebac9ea1168cde5481c1592abd.webp?v=1762225298","variant_ids":[43812388798563]},"available":true,"name":"iPhone 14 Pro Max Mod NX PosterLad Arial - 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-POS01","featured_media":{"alt":null,"id":26297356255331,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e0d2c27e742f46ebac9ea1168cde5481c1592abd.webp?v=1762225298"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43812388831331,"title":"Graphite","option1":"Graphite","option2":null,"option3":null,"sku":"NPB0126369-POS01","requires_shipping":true,"taxable":true,"featured_image":{"id":34729486745699,"product_id":7911348142179,"position":5,"created_at":"2025-11-04T11:01:30+08:00","updated_at":"2025-11-04T11:01:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ac4df5914eb4aa9b9c3d5e7b739f3b5d15917d2.webp?v=1762225293","variant_ids":[43812388831331]},"available":true,"name":"iPhone 14 Pro Max Mod NX PosterLad Arial - 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-POS01","featured_media":{"alt":null,"id":26297354289251,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ac4df5914eb4aa9b9c3d5e7b739f3b5d15917d2.webp?v=1762225293"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43812389027939,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0126304-POS01","requires_shipping":true,"taxable":true,"featured_image":{"id":34729487597667,"product_id":7911348142179,"position":8,"created_at":"2025-11-04T11:01:33+08:00","updated_at":"2025-11-04T11:01:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86d8006bf0c2b4d19af5297407add8b0fa288e72.webp?v=1762225295","variant_ids":[43812389027939]},"available":true,"name":"iPhone 14 Pro Max Mod NX PosterLad Arial - 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-POS01","featured_media":{"alt":null,"id":26297355173987,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86d8006bf0c2b4d19af5297407add8b0fa288e72.webp?v=1762225295"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d61fc27075eda763296e08f10ee1800bb17c5b7e.webp?v=1762225289","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b9e12cd1d1b5ef893b9490fd46cf81748c342ea.webp?v=1762225290","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45dba967d4837bd62f629ef1adb869cd0cede294.webp?v=1762225291","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c9a35e7f0906c9af18221f18cf98629ffd7500e.webp?v=1762225292","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ac4df5914eb4aa9b9c3d5e7b739f3b5d15917d2.webp?v=1762225293","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd8514125e9564a87c00e50cdf4cebb34d34b6f3.webp?v=1762225294","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5dbde3c3b1927147522d8b96ae4d33e9160e42b1.webp?v=1762225294","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86d8006bf0c2b4d19af5297407add8b0fa288e72.webp?v=1762225295","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/658598e8d0da4a235da4614c2cba0e8a5ddb1766.webp?v=1762225296","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b4dda93d6ea7770e28ec61ecdd04c351febfb72.webp?v=1762225297","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ab25d4ca4e9015ba878ec4e6557e09261d6a676.webp?v=1762225298","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e0d2c27e742f46ebac9ea1168cde5481c1592abd.webp?v=1762225298","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52414c8a7ff3cd672f5d38e30484f9230b089ab7.webp?v=1762225299"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d61fc27075eda763296e08f10ee1800bb17c5b7e.webp?v=1762225289","options":["color"],"media":[{"alt":null,"id":26297353437283,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d61fc27075eda763296e08f10ee1800bb17c5b7e.webp?v=1762225289"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d61fc27075eda763296e08f10ee1800bb17c5b7e.webp?v=1762225289","width":2000},{"alt":null,"id":26297353633891,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b9e12cd1d1b5ef893b9490fd46cf81748c342ea.webp?v=1762225290"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b9e12cd1d1b5ef893b9490fd46cf81748c342ea.webp?v=1762225290","width":2000},{"alt":null,"id":26297353863267,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45dba967d4837bd62f629ef1adb869cd0cede294.webp?v=1762225291"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45dba967d4837bd62f629ef1adb869cd0cede294.webp?v=1762225291","width":2000},{"alt":null,"id":26297354125411,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c9a35e7f0906c9af18221f18cf98629ffd7500e.webp?v=1762225292"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c9a35e7f0906c9af18221f18cf98629ffd7500e.webp?v=1762225292","width":2000},{"alt":null,"id":26297354289251,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ac4df5914eb4aa9b9c3d5e7b739f3b5d15917d2.webp?v=1762225293"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ac4df5914eb4aa9b9c3d5e7b739f3b5d15917d2.webp?v=1762225293","width":2000},{"alt":null,"id":26297354551395,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd8514125e9564a87c00e50cdf4cebb34d34b6f3.webp?v=1762225294"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd8514125e9564a87c00e50cdf4cebb34d34b6f3.webp?v=1762225294","width":2000},{"alt":null,"id":26297354813539,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5dbde3c3b1927147522d8b96ae4d33e9160e42b1.webp?v=1762225294"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5dbde3c3b1927147522d8b96ae4d33e9160e42b1.webp?v=1762225294","width":2000},{"alt":null,"id":26297355173987,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86d8006bf0c2b4d19af5297407add8b0fa288e72.webp?v=1762225295"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86d8006bf0c2b4d19af5297407add8b0fa288e72.webp?v=1762225295","width":2000},{"alt":null,"id":26297355403363,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/658598e8d0da4a235da4614c2cba0e8a5ddb1766.webp?v=1762225296"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/658598e8d0da4a235da4614c2cba0e8a5ddb1766.webp?v=1762225296","width":2000},{"alt":null,"id":26297355698275,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b4dda93d6ea7770e28ec61ecdd04c351febfb72.webp?v=1762225297"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b4dda93d6ea7770e28ec61ecdd04c351febfb72.webp?v=1762225297","width":2000},{"alt":null,"id":26297355894883,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ab25d4ca4e9015ba878ec4e6557e09261d6a676.webp?v=1762225298"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ab25d4ca4e9015ba878ec4e6557e09261d6a676.webp?v=1762225298","width":2000},{"alt":null,"id":26297356255331,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e0d2c27e742f46ebac9ea1168cde5481c1592abd.webp?v=1762225298"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e0d2c27e742f46ebac9ea1168cde5481c1592abd.webp?v=1762225298","width":2000},{"alt":null,"id":26297356648547,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52414c8a7ff3cd672f5d38e30484f9230b089ab7.webp?v=1762225299"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52414c8a7ff3cd672f5d38e30484f9230b089ab7.webp?v=1762225299","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$bumper = null;
$variants = [{"id":43812385292387,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"NPB01263C1-POS01","requires_shipping":true,"taxable":true,"featured_image":{"id":34729488121955,"product_id":7911348142179,"position":10,"created_at":"2025-11-04T11:01:35+08:00","updated_at":"2025-11-04T11:01:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b4dda93d6ea7770e28ec61ecdd04c351febfb72.webp?v=1762225297","variant_ids":[43812385292387]},"available":true,"name":"iPhone 14 Pro Max Mod NX PosterLad Arial - 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-POS01","featured_media":{"alt":null,"id":26297355698275,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b4dda93d6ea7770e28ec61ecdd04c351febfb72.webp?v=1762225297"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43812388765795,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126324-POS01","requires_shipping":true,"taxable":true,"featured_image":{"id":34729486057571,"product_id":7911348142179,"position":2,"created_at":"2025-11-04T11:01:28+08:00","updated_at":"2025-11-04T11:01:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b9e12cd1d1b5ef893b9490fd46cf81748c342ea.webp?v=1762225290","variant_ids":[43812388765795]},"available":true,"name":"iPhone 14 Pro Max Mod NX PosterLad Arial - 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-POS01","featured_media":{"alt":null,"id":26297353633891,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b9e12cd1d1b5ef893b9490fd46cf81748c342ea.webp?v=1762225290"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43812388798563,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01263J5-POS01","requires_shipping":true,"taxable":true,"featured_image":{"id":34729488679011,"product_id":7911348142179,"position":12,"created_at":"2025-11-04T11:01:36+08:00","updated_at":"2025-11-04T11:01:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e0d2c27e742f46ebac9ea1168cde5481c1592abd.webp?v=1762225298","variant_ids":[43812388798563]},"available":true,"name":"iPhone 14 Pro Max Mod NX PosterLad Arial - 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-POS01","featured_media":{"alt":null,"id":26297356255331,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e0d2c27e742f46ebac9ea1168cde5481c1592abd.webp?v=1762225298"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43812388831331,"title":"Graphite","option1":"Graphite","option2":null,"option3":null,"sku":"NPB0126369-POS01","requires_shipping":true,"taxable":true,"featured_image":{"id":34729486745699,"product_id":7911348142179,"position":5,"created_at":"2025-11-04T11:01:30+08:00","updated_at":"2025-11-04T11:01:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ac4df5914eb4aa9b9c3d5e7b739f3b5d15917d2.webp?v=1762225293","variant_ids":[43812388831331]},"available":true,"name":"iPhone 14 Pro Max Mod NX PosterLad Arial - 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-POS01","featured_media":{"alt":null,"id":26297354289251,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ac4df5914eb4aa9b9c3d5e7b739f3b5d15917d2.webp?v=1762225293"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43812389027939,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0126304-POS01","requires_shipping":true,"taxable":true,"featured_image":{"id":34729487597667,"product_id":7911348142179,"position":8,"created_at":"2025-11-04T11:01:33+08:00","updated_at":"2025-11-04T11:01:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86d8006bf0c2b4d19af5297407add8b0fa288e72.webp?v=1762225295","variant_ids":[43812389027939]},"available":true,"name":"iPhone 14 Pro Max Mod NX PosterLad Arial - 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-POS01","featured_media":{"alt":null,"id":26297355173987,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86d8006bf0c2b4d19af5297407add8b0fa288e72.webp?v=1762225295"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43812385292387,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"NPB01263C1-POS01","requires_shipping":true,"taxable":true,"featured_image":{"id":34729488121955,"product_id":7911348142179,"position":10,"created_at":"2025-11-04T11:01:35+08:00","updated_at":"2025-11-04T11:01:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b4dda93d6ea7770e28ec61ecdd04c351febfb72.webp?v=1762225297","variant_ids":[43812385292387]},"available":true,"name":"iPhone 14 Pro Max Mod NX PosterLad Arial - 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-POS01","featured_media":{"alt":null,"id":26297355698275,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b4dda93d6ea7770e28ec61ecdd04c351febfb72.webp?v=1762225297"}},"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: "停產"
}