$product = {"id":7884182159459,"title":"iPhone 15 Pro Max SolidX 坂本日常 坂本商店 - 外送中","handle":"iphone-15-pro-max-solidx-ifc15","description":null,"published_at":"2025-09-19T10:01:16+08:00","created_at":"2025-09-16T12:20:42+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-sakamoto-days","device-iPhone 15 Pro Max","merge","reseller-sakamoto-days"],"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":43697326293091,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0129853-IFC15","requires_shipping":true,"taxable":true,"featured_image":{"id":34474963632227,"product_id":7884182159459,"position":10,"created_at":"2025-09-16T12:20:51+08:00","updated_at":"2025-09-16T12:20:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38e7fc57143a4ffb9479b8ba78caa7104706cfca.webp?v=1757996453","variant_ids":[43697326293091]},"available":true,"name":"iPhone 15 Pro Max SolidX 坂本日常 坂本商店 - 外送中 - White","public_title":"White","options":["White"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129853-IFC15","featured_media":{"alt":null,"id":26046569218147,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38e7fc57143a4ffb9479b8ba78caa7104706cfca.webp?v=1757996453"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43697329700963,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129852-IFC15","requires_shipping":true,"taxable":true,"featured_image":{"id":34474962485347,"product_id":7884182159459,"position":5,"created_at":"2025-09-16T12:20:49+08:00","updated_at":"2025-09-16T12:20:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbe0b22b5d750b9b457baa35218b03b666fe2d09.webp?v=1757996451","variant_ids":[43697329700963]},"available":true,"name":"iPhone 15 Pro Max SolidX 坂本日常 坂本商店 - 外送中 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129852-IFC15","featured_media":{"alt":null,"id":26046568071267,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbe0b22b5d750b9b457baa35218b03b666fe2d09.webp?v=1757996451"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43697329799267,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST01298Z7-IFC15","requires_shipping":true,"taxable":true,"featured_image":{"id":34474961993827,"product_id":7884182159459,"position":3,"created_at":"2025-09-16T12:20:48+08:00","updated_at":"2025-09-16T12:20:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38c813c4e361c0803a9bfd79f0e7a95d0eff2545.webp?v=1757996450","variant_ids":[43697329799267]},"available":true,"name":"iPhone 15 Pro Max SolidX 坂本日常 坂本商店 - 外送中 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST01298Z7-IFC15","featured_media":{"alt":null,"id":26046567514211,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38c813c4e361c0803a9bfd79f0e7a95d0eff2545.webp?v=1757996450"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43697329864803,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01298O8-IFC15","requires_shipping":true,"taxable":true,"featured_image":{"id":34474963337315,"product_id":7884182159459,"position":8,"created_at":"2025-09-16T12:20:50+08:00","updated_at":"2025-09-16T12:20:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66d458007eaff130a0e2ac728fe7fdd9131fde54.webp?v=1757996452","variant_ids":[43697329864803]},"available":true,"name":"iPhone 15 Pro Max SolidX 坂本日常 坂本商店 - 外送中 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST01298O8-IFC15","featured_media":{"alt":null,"id":26046568923235,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66d458007eaff130a0e2ac728fe7fdd9131fde54.webp?v=1757996452"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/526e9e7c0f7327eafee52e21313016fafed408a8.webp?v=1757996449","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/151ec67105fd8ca98d36993bd7a23f0bcf34d534.webp?v=1757996449","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38c813c4e361c0803a9bfd79f0e7a95d0eff2545.webp?v=1757996450","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a116f2a6680910a8c8177bfc9a1fa08bf4d19e23.webp?v=1757996450","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbe0b22b5d750b9b457baa35218b03b666fe2d09.webp?v=1757996451","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f015b51d8187863c83a40d47b3e10c90008f1f81.webp?v=1757996451","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1487a2acb76460de0dd0afe9f46bb1bbed9e71ed.webp?v=1757996452","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66d458007eaff130a0e2ac728fe7fdd9131fde54.webp?v=1757996452","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ea3d6f5067882ff3adf06b55e1684a531362d99.webp?v=1757996453","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38e7fc57143a4ffb9479b8ba78caa7104706cfca.webp?v=1757996453"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/526e9e7c0f7327eafee52e21313016fafed408a8.webp?v=1757996449","options":["color"],"media":[{"alt":null,"id":26046567153763,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/526e9e7c0f7327eafee52e21313016fafed408a8.webp?v=1757996449"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/526e9e7c0f7327eafee52e21313016fafed408a8.webp?v=1757996449","width":2000},{"alt":null,"id":26046567350371,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/151ec67105fd8ca98d36993bd7a23f0bcf34d534.webp?v=1757996449"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/151ec67105fd8ca98d36993bd7a23f0bcf34d534.webp?v=1757996449","width":2000},{"alt":null,"id":26046567514211,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38c813c4e361c0803a9bfd79f0e7a95d0eff2545.webp?v=1757996450"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38c813c4e361c0803a9bfd79f0e7a95d0eff2545.webp?v=1757996450","width":2000},{"alt":null,"id":26046567776355,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a116f2a6680910a8c8177bfc9a1fa08bf4d19e23.webp?v=1757996450"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a116f2a6680910a8c8177bfc9a1fa08bf4d19e23.webp?v=1757996450","width":2000},{"alt":null,"id":26046568071267,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbe0b22b5d750b9b457baa35218b03b666fe2d09.webp?v=1757996451"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbe0b22b5d750b9b457baa35218b03b666fe2d09.webp?v=1757996451","width":2000},{"alt":null,"id":26046568235107,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f015b51d8187863c83a40d47b3e10c90008f1f81.webp?v=1757996451"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f015b51d8187863c83a40d47b3e10c90008f1f81.webp?v=1757996451","width":2000},{"alt":null,"id":26046568595555,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1487a2acb76460de0dd0afe9f46bb1bbed9e71ed.webp?v=1757996452"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1487a2acb76460de0dd0afe9f46bb1bbed9e71ed.webp?v=1757996452","width":2000},{"alt":null,"id":26046568923235,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66d458007eaff130a0e2ac728fe7fdd9131fde54.webp?v=1757996452"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66d458007eaff130a0e2ac728fe7fdd9131fde54.webp?v=1757996452","width":2000},{"alt":null,"id":26046569119843,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ea3d6f5067882ff3adf06b55e1684a531362d99.webp?v=1757996453"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ea3d6f5067882ff3adf06b55e1684a531362d99.webp?v=1757996453","width":2000},{"alt":null,"id":26046569218147,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38e7fc57143a4ffb9479b8ba78caa7104706cfca.webp?v=1757996453"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38e7fc57143a4ffb9479b8ba78caa7104706cfca.webp?v=1757996453","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43697326293091,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0129853-IFC15","requires_shipping":true,"taxable":true,"featured_image":{"id":34474963632227,"product_id":7884182159459,"position":10,"created_at":"2025-09-16T12:20:51+08:00","updated_at":"2025-09-16T12:20:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38e7fc57143a4ffb9479b8ba78caa7104706cfca.webp?v=1757996453","variant_ids":[43697326293091]},"available":true,"name":"iPhone 15 Pro Max SolidX 坂本日常 坂本商店 - 外送中 - White","public_title":"White","options":["White"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129853-IFC15","featured_media":{"alt":null,"id":26046569218147,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38e7fc57143a4ffb9479b8ba78caa7104706cfca.webp?v=1757996453"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43697329700963,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129852-IFC15","requires_shipping":true,"taxable":true,"featured_image":{"id":34474962485347,"product_id":7884182159459,"position":5,"created_at":"2025-09-16T12:20:49+08:00","updated_at":"2025-09-16T12:20:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbe0b22b5d750b9b457baa35218b03b666fe2d09.webp?v=1757996451","variant_ids":[43697329700963]},"available":true,"name":"iPhone 15 Pro Max SolidX 坂本日常 坂本商店 - 外送中 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129852-IFC15","featured_media":{"alt":null,"id":26046568071267,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbe0b22b5d750b9b457baa35218b03b666fe2d09.webp?v=1757996451"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43697329799267,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST01298Z7-IFC15","requires_shipping":true,"taxable":true,"featured_image":{"id":34474961993827,"product_id":7884182159459,"position":3,"created_at":"2025-09-16T12:20:48+08:00","updated_at":"2025-09-16T12:20:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38c813c4e361c0803a9bfd79f0e7a95d0eff2545.webp?v=1757996450","variant_ids":[43697329799267]},"available":true,"name":"iPhone 15 Pro Max SolidX 坂本日常 坂本商店 - 外送中 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST01298Z7-IFC15","featured_media":{"alt":null,"id":26046567514211,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38c813c4e361c0803a9bfd79f0e7a95d0eff2545.webp?v=1757996450"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43697329864803,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01298O8-IFC15","requires_shipping":true,"taxable":true,"featured_image":{"id":34474963337315,"product_id":7884182159459,"position":8,"created_at":"2025-09-16T12:20:50+08:00","updated_at":"2025-09-16T12:20:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66d458007eaff130a0e2ac728fe7fdd9131fde54.webp?v=1757996452","variant_ids":[43697329864803]},"available":true,"name":"iPhone 15 Pro Max SolidX 坂本日常 坂本商店 - 外送中 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST01298O8-IFC15","featured_media":{"alt":null,"id":26046568923235,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66d458007eaff130a0e2ac728fe7fdd9131fde54.webp?v=1757996452"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43697326293091,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0129853-IFC15","requires_shipping":true,"taxable":true,"featured_image":{"id":34474963632227,"product_id":7884182159459,"position":10,"created_at":"2025-09-16T12:20:51+08:00","updated_at":"2025-09-16T12:20:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38e7fc57143a4ffb9479b8ba78caa7104706cfca.webp?v=1757996453","variant_ids":[43697326293091]},"available":true,"name":"iPhone 15 Pro Max SolidX 坂本日常 坂本商店 - 外送中 - White","public_title":"White","options":["White"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129853-IFC15","featured_media":{"alt":null,"id":26046569218147,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38e7fc57143a4ffb9479b8ba78caa7104706cfca.webp?v=1757996453"}},"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: "停產" }