$product = {"id":7911260356707,"title":"iPhone 14 Pro Max Mod NX PosterLad 郊區","handle":"iphone-14-pro-max-mod-nx-printable-pos08","description":null,"published_at":"2025-11-05T10:37:50+08:00","created_at":"2025-11-04T10:46:26+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":43812134387811,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"NPB01263C1-POS08","requires_shipping":true,"taxable":true,"featured_image":{"id":34729256321123,"product_id":7911260356707,"position":8,"created_at":"2025-11-04T10:46:33+08:00","updated_at":"2025-11-04T10:46:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c56661910acbf93894ed7dcd42c2f8be09364417.webp?v=1762224395","variant_ids":[43812134387811]},"available":true,"name":"iPhone 14 Pro Max Mod NX PosterLad 郊區 - 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-POS08","featured_media":{"alt":null,"id":26297124454499,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c56661910acbf93894ed7dcd42c2f8be09364417.webp?v=1762224395"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43812138778723,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126324-POS08","requires_shipping":true,"taxable":true,"featured_image":{"id":34729256058979,"product_id":7911260356707,"position":7,"created_at":"2025-11-04T10:46:32+08:00","updated_at":"2025-11-04T10:46:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8e7208ed1995ab9e4e3ab1ce112b16ab34aecdc.webp?v=1762224394","variant_ids":[43812138778723]},"available":true,"name":"iPhone 14 Pro Max Mod NX PosterLad 郊區 - 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-POS08","featured_media":{"alt":null,"id":26297124192355,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8e7208ed1995ab9e4e3ab1ce112b16ab34aecdc.webp?v=1762224394"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43812138811491,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01263J5-POS08","requires_shipping":true,"taxable":true,"featured_image":{"id":34729255501923,"product_id":7911260356707,"position":5,"created_at":"2025-11-04T10:46:31+08:00","updated_at":"2025-11-04T10:46:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/32e295be02db39c2f05636167898484535d0dd9d.webp?v=1762224392","variant_ids":[43812138811491]},"available":true,"name":"iPhone 14 Pro Max Mod NX PosterLad 郊區 - 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-POS08","featured_media":{"alt":null,"id":26297123668067,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/32e295be02db39c2f05636167898484535d0dd9d.webp?v=1762224392"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43812138844259,"title":"Graphite","option1":"Graphite","option2":null,"option3":null,"sku":"NPB0126369-POS08","requires_shipping":true,"taxable":true,"featured_image":{"id":34729257730147,"product_id":7911260356707,"position":13,"created_at":"2025-11-04T10:46:38+08:00","updated_at":"2025-11-04T10:46:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/752fff4a31eb55b52ed3a4f9de5245e27ac35a4d.webp?v=1762224399","variant_ids":[43812138844259]},"available":true,"name":"iPhone 14 Pro Max Mod NX PosterLad 郊區 - 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-POS08","featured_media":{"alt":null,"id":26297125863523,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/752fff4a31eb55b52ed3a4f9de5245e27ac35a4d.webp?v=1762224399"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43812139040867,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0126304-POS08","requires_shipping":true,"taxable":true,"featured_image":{"id":34729255272547,"product_id":7911260356707,"position":4,"created_at":"2025-11-04T10:46:30+08:00","updated_at":"2025-11-04T10:46:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e6336e109d54aadfcd6eea4b8a714b99c4958c8.webp?v=1762224392","variant_ids":[43812139040867]},"available":true,"name":"iPhone 14 Pro Max Mod NX PosterLad 郊區 - 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-POS08","featured_media":{"alt":null,"id":26297123438691,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e6336e109d54aadfcd6eea4b8a714b99c4958c8.webp?v=1762224392"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af5d62bd503007a426941d8f6570bbd411649c66.webp?v=1762224389","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b93e8213161ddaab9d26dba758669bd11164e888.webp?v=1762224390","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e449f2a07063fcfa18ff35121b16cb37cc340cc.webp?v=1762224391","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e6336e109d54aadfcd6eea4b8a714b99c4958c8.webp?v=1762224392","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/32e295be02db39c2f05636167898484535d0dd9d.webp?v=1762224392","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29639cb35c1c6b37316192ecf7fa6bc38d3f29f6.webp?v=1762224393","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8e7208ed1995ab9e4e3ab1ce112b16ab34aecdc.webp?v=1762224394","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c56661910acbf93894ed7dcd42c2f8be09364417.webp?v=1762224395","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4aaa2fb610f705af695821dc51130507734f43c.webp?v=1762224396","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76eba3e45477d036dda7c3b750d554360d213f40.webp?v=1762224397","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/808b12c917f6dd011deefbe14cbb81e4648b3b32.webp?v=1762224398","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5469cfd4afd33e246c80832326495f2d87620657.webp?v=1762224399","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/752fff4a31eb55b52ed3a4f9de5245e27ac35a4d.webp?v=1762224399"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af5d62bd503007a426941d8f6570bbd411649c66.webp?v=1762224389","options":["color"],"media":[{"alt":null,"id":26297122390115,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af5d62bd503007a426941d8f6570bbd411649c66.webp?v=1762224389"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af5d62bd503007a426941d8f6570bbd411649c66.webp?v=1762224389","width":2000},{"alt":null,"id":26297122783331,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b93e8213161ddaab9d26dba758669bd11164e888.webp?v=1762224390"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b93e8213161ddaab9d26dba758669bd11164e888.webp?v=1762224390","width":2000},{"alt":null,"id":26297123078243,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e449f2a07063fcfa18ff35121b16cb37cc340cc.webp?v=1762224391"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e449f2a07063fcfa18ff35121b16cb37cc340cc.webp?v=1762224391","width":2000},{"alt":null,"id":26297123438691,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e6336e109d54aadfcd6eea4b8a714b99c4958c8.webp?v=1762224392"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e6336e109d54aadfcd6eea4b8a714b99c4958c8.webp?v=1762224392","width":2000},{"alt":null,"id":26297123668067,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/32e295be02db39c2f05636167898484535d0dd9d.webp?v=1762224392"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/32e295be02db39c2f05636167898484535d0dd9d.webp?v=1762224392","width":2000},{"alt":null,"id":26297123897443,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29639cb35c1c6b37316192ecf7fa6bc38d3f29f6.webp?v=1762224393"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29639cb35c1c6b37316192ecf7fa6bc38d3f29f6.webp?v=1762224393","width":2000},{"alt":null,"id":26297124192355,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8e7208ed1995ab9e4e3ab1ce112b16ab34aecdc.webp?v=1762224394"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8e7208ed1995ab9e4e3ab1ce112b16ab34aecdc.webp?v=1762224394","width":2000},{"alt":null,"id":26297124454499,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c56661910acbf93894ed7dcd42c2f8be09364417.webp?v=1762224395"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c56661910acbf93894ed7dcd42c2f8be09364417.webp?v=1762224395","width":2000},{"alt":null,"id":26297124716643,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4aaa2fb610f705af695821dc51130507734f43c.webp?v=1762224396"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4aaa2fb610f705af695821dc51130507734f43c.webp?v=1762224396","width":2000},{"alt":null,"id":26297124978787,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76eba3e45477d036dda7c3b750d554360d213f40.webp?v=1762224397"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76eba3e45477d036dda7c3b750d554360d213f40.webp?v=1762224397","width":2000},{"alt":null,"id":26297125339235,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/808b12c917f6dd011deefbe14cbb81e4648b3b32.webp?v=1762224398"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/808b12c917f6dd011deefbe14cbb81e4648b3b32.webp?v=1762224398","width":2000},{"alt":null,"id":26297125568611,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5469cfd4afd33e246c80832326495f2d87620657.webp?v=1762224399"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5469cfd4afd33e246c80832326495f2d87620657.webp?v=1762224399","width":2000},{"alt":null,"id":26297125863523,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/752fff4a31eb55b52ed3a4f9de5245e27ac35a4d.webp?v=1762224399"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/752fff4a31eb55b52ed3a4f9de5245e27ac35a4d.webp?v=1762224399","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$bumper = null;
$variants = [{"id":43812134387811,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"NPB01263C1-POS08","requires_shipping":true,"taxable":true,"featured_image":{"id":34729256321123,"product_id":7911260356707,"position":8,"created_at":"2025-11-04T10:46:33+08:00","updated_at":"2025-11-04T10:46:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c56661910acbf93894ed7dcd42c2f8be09364417.webp?v=1762224395","variant_ids":[43812134387811]},"available":true,"name":"iPhone 14 Pro Max Mod NX PosterLad 郊區 - 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-POS08","featured_media":{"alt":null,"id":26297124454499,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c56661910acbf93894ed7dcd42c2f8be09364417.webp?v=1762224395"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43812138778723,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126324-POS08","requires_shipping":true,"taxable":true,"featured_image":{"id":34729256058979,"product_id":7911260356707,"position":7,"created_at":"2025-11-04T10:46:32+08:00","updated_at":"2025-11-04T10:46:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8e7208ed1995ab9e4e3ab1ce112b16ab34aecdc.webp?v=1762224394","variant_ids":[43812138778723]},"available":true,"name":"iPhone 14 Pro Max Mod NX PosterLad 郊區 - 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-POS08","featured_media":{"alt":null,"id":26297124192355,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8e7208ed1995ab9e4e3ab1ce112b16ab34aecdc.webp?v=1762224394"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43812138811491,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01263J5-POS08","requires_shipping":true,"taxable":true,"featured_image":{"id":34729255501923,"product_id":7911260356707,"position":5,"created_at":"2025-11-04T10:46:31+08:00","updated_at":"2025-11-04T10:46:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/32e295be02db39c2f05636167898484535d0dd9d.webp?v=1762224392","variant_ids":[43812138811491]},"available":true,"name":"iPhone 14 Pro Max Mod NX PosterLad 郊區 - 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-POS08","featured_media":{"alt":null,"id":26297123668067,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/32e295be02db39c2f05636167898484535d0dd9d.webp?v=1762224392"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43812138844259,"title":"Graphite","option1":"Graphite","option2":null,"option3":null,"sku":"NPB0126369-POS08","requires_shipping":true,"taxable":true,"featured_image":{"id":34729257730147,"product_id":7911260356707,"position":13,"created_at":"2025-11-04T10:46:38+08:00","updated_at":"2025-11-04T10:46:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/752fff4a31eb55b52ed3a4f9de5245e27ac35a4d.webp?v=1762224399","variant_ids":[43812138844259]},"available":true,"name":"iPhone 14 Pro Max Mod NX PosterLad 郊區 - 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-POS08","featured_media":{"alt":null,"id":26297125863523,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/752fff4a31eb55b52ed3a4f9de5245e27ac35a4d.webp?v=1762224399"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43812139040867,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0126304-POS08","requires_shipping":true,"taxable":true,"featured_image":{"id":34729255272547,"product_id":7911260356707,"position":4,"created_at":"2025-11-04T10:46:30+08:00","updated_at":"2025-11-04T10:46:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e6336e109d54aadfcd6eea4b8a714b99c4958c8.webp?v=1762224392","variant_ids":[43812139040867]},"available":true,"name":"iPhone 14 Pro Max Mod NX PosterLad 郊區 - 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-POS08","featured_media":{"alt":null,"id":26297123438691,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e6336e109d54aadfcd6eea4b8a714b99c4958c8.webp?v=1762224392"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43812134387811,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"NPB01263C1-POS08","requires_shipping":true,"taxable":true,"featured_image":{"id":34729256321123,"product_id":7911260356707,"position":8,"created_at":"2025-11-04T10:46:33+08:00","updated_at":"2025-11-04T10:46:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c56661910acbf93894ed7dcd42c2f8be09364417.webp?v=1762224395","variant_ids":[43812134387811]},"available":true,"name":"iPhone 14 Pro Max Mod NX PosterLad 郊區 - 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-POS08","featured_media":{"alt":null,"id":26297124454499,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c56661910acbf93894ed7dcd42c2f8be09364417.webp?v=1762224395"}},"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: "停產"
}