$product = {"id":7824439967843,"title":"iPhone 15 Plus SolidX 小高潮色計事務所 澳洲好吃驚","handle":"iphone-15-plus-solidx-iku03","description":null,"published_at":"2025-07-01T17:49:15+08:00","created_at":"2025-06-20T17:57:07+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-ikuiku-studio","device-iPhone 15 Plus","merge","reseller-ikuiku-studio"],"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":43479200956515,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129652-IKU03","requires_shipping":true,"taxable":true,"featured_image":{"id":34515682361443,"product_id":7824439967843,"position":3,"created_at":"2025-09-22T16:45:52+08:00","updated_at":"2025-09-22T16:45:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/835695f22ed42cc7e3381af9fd33d875ec71e8a3.webp?v=1758530754","variant_ids":[43479200956515]},"available":true,"name":"iPhone 15 Plus 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":"NST0129652-IKU03","featured_media":{"alt":null,"id":26086119899235,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/835695f22ed42cc7e3381af9fd33d875ec71e8a3.webp?v=1758530754"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43479205118051,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01296O8-IKU03","requires_shipping":true,"taxable":true,"featured_image":{"id":34515683573859,"product_id":7824439967843,"position":8,"created_at":"2025-09-22T16:45:55+08:00","updated_at":"2025-09-22T16:45:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f2bcdc63f00160e79e796f219ae3b70a82ed3ff.webp?v=1758530757","variant_ids":[43479205118051]},"available":true,"name":"iPhone 15 Plus 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":"NST01296O8-IKU03","featured_media":{"alt":null,"id":26086121209955,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f2bcdc63f00160e79e796f219ae3b70a82ed3ff.webp?v=1758530757"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43479205314659,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST012960B-IKU03","requires_shipping":true,"taxable":true,"featured_image":{"id":34515684524131,"product_id":7824439967843,"position":12,"created_at":"2025-09-22T16:45:57+08:00","updated_at":"2025-09-22T16:45:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c288c4688e519f617129aacc95d074343182087.webp?v=1758530759","variant_ids":[43479205314659]},"available":true,"name":"iPhone 15 Plus SolidX 小高潮色計事務所 澳洲好吃驚 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST012960B-IKU03","featured_media":{"alt":null,"id":26086122389603,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c288c4688e519f617129aacc95d074343182087.webp?v=1758530759"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-296-IKU03.png?v=1750413429","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-295-IKU03_baecf63e-763a-40a9-ae76-1104815d77d9.png?v=1750820648","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/835695f22ed42cc7e3381af9fd33d875ec71e8a3.webp?v=1758530754","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16bdf5cc2494a4f1cd3c41381f81ebad0f30fcc4.webp?v=1758530754","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e731a67418defce5256a7a0f5adc6ec9c04fe72.webp?v=1758530755","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0691f882ba5013c83677adf2d6ec8733f84c06a5.webp?v=1758530756","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb8ad404bbcf28cf04d7942f4bfb9a0845276b0f.webp?v=1758530756","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f2bcdc63f00160e79e796f219ae3b70a82ed3ff.webp?v=1758530757","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ec783de896cc810bdbc5e47eab0419def321d58.webp?v=1758530757","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2820d6a22df3601a89b8329f95e934641365ad8a.webp?v=1758530758","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/859a0cce7c6fc9f2b7e0204171121d5d691814b0.webp?v=1758530758","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c288c4688e519f617129aacc95d074343182087.webp?v=1758530759"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-296-IKU03.png?v=1750413429","options":["color"],"media":[{"alt":null,"id":25722084851811,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-296-IKU03.png?v=1750413429"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-296-IKU03.png?v=1750413429","width":2000},{"alt":null,"id":25735143850083,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-295-IKU03_baecf63e-763a-40a9-ae76-1104815d77d9.png?v=1750820648"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-295-IKU03_baecf63e-763a-40a9-ae76-1104815d77d9.png?v=1750820648","width":2000},{"alt":null,"id":26086119899235,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/835695f22ed42cc7e3381af9fd33d875ec71e8a3.webp?v=1758530754"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/835695f22ed42cc7e3381af9fd33d875ec71e8a3.webp?v=1758530754","width":2000},{"alt":null,"id":26086120095843,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16bdf5cc2494a4f1cd3c41381f81ebad0f30fcc4.webp?v=1758530754"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16bdf5cc2494a4f1cd3c41381f81ebad0f30fcc4.webp?v=1758530754","width":2000},{"alt":null,"id":26086120357987,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e731a67418defce5256a7a0f5adc6ec9c04fe72.webp?v=1758530755"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e731a67418defce5256a7a0f5adc6ec9c04fe72.webp?v=1758530755","width":2000},{"alt":null,"id":26086120685667,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0691f882ba5013c83677adf2d6ec8733f84c06a5.webp?v=1758530756"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0691f882ba5013c83677adf2d6ec8733f84c06a5.webp?v=1758530756","width":2000},{"alt":null,"id":26086120915043,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb8ad404bbcf28cf04d7942f4bfb9a0845276b0f.webp?v=1758530756"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb8ad404bbcf28cf04d7942f4bfb9a0845276b0f.webp?v=1758530756","width":2000},{"alt":null,"id":26086121209955,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f2bcdc63f00160e79e796f219ae3b70a82ed3ff.webp?v=1758530757"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f2bcdc63f00160e79e796f219ae3b70a82ed3ff.webp?v=1758530757","width":2000},{"alt":null,"id":26086121406563,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ec783de896cc810bdbc5e47eab0419def321d58.webp?v=1758530757"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ec783de896cc810bdbc5e47eab0419def321d58.webp?v=1758530757","width":2000},{"alt":null,"id":26086121767011,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2820d6a22df3601a89b8329f95e934641365ad8a.webp?v=1758530758"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2820d6a22df3601a89b8329f95e934641365ad8a.webp?v=1758530758","width":2000},{"alt":null,"id":26086122160227,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/859a0cce7c6fc9f2b7e0204171121d5d691814b0.webp?v=1758530758"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/859a0cce7c6fc9f2b7e0204171121d5d691814b0.webp?v=1758530758","width":2000},{"alt":null,"id":26086122389603,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c288c4688e519f617129aacc95d074343182087.webp?v=1758530759"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c288c4688e519f617129aacc95d074343182087.webp?v=1758530759","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43479200956515,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129652-IKU03","requires_shipping":true,"taxable":true,"featured_image":{"id":34515682361443,"product_id":7824439967843,"position":3,"created_at":"2025-09-22T16:45:52+08:00","updated_at":"2025-09-22T16:45:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/835695f22ed42cc7e3381af9fd33d875ec71e8a3.webp?v=1758530754","variant_ids":[43479200956515]},"available":true,"name":"iPhone 15 Plus 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":"NST0129652-IKU03","featured_media":{"alt":null,"id":26086119899235,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/835695f22ed42cc7e3381af9fd33d875ec71e8a3.webp?v=1758530754"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43479205118051,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01296O8-IKU03","requires_shipping":true,"taxable":true,"featured_image":{"id":34515683573859,"product_id":7824439967843,"position":8,"created_at":"2025-09-22T16:45:55+08:00","updated_at":"2025-09-22T16:45:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f2bcdc63f00160e79e796f219ae3b70a82ed3ff.webp?v=1758530757","variant_ids":[43479205118051]},"available":true,"name":"iPhone 15 Plus 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":"NST01296O8-IKU03","featured_media":{"alt":null,"id":26086121209955,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f2bcdc63f00160e79e796f219ae3b70a82ed3ff.webp?v=1758530757"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43479205314659,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST012960B-IKU03","requires_shipping":true,"taxable":true,"featured_image":{"id":34515684524131,"product_id":7824439967843,"position":12,"created_at":"2025-09-22T16:45:57+08:00","updated_at":"2025-09-22T16:45:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c288c4688e519f617129aacc95d074343182087.webp?v=1758530759","variant_ids":[43479205314659]},"available":true,"name":"iPhone 15 Plus SolidX 小高潮色計事務所 澳洲好吃驚 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST012960B-IKU03","featured_media":{"alt":null,"id":26086122389603,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c288c4688e519f617129aacc95d074343182087.webp?v=1758530759"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43479200956515,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129652-IKU03","requires_shipping":true,"taxable":true,"featured_image":{"id":34515682361443,"product_id":7824439967843,"position":3,"created_at":"2025-09-22T16:45:52+08:00","updated_at":"2025-09-22T16:45:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/835695f22ed42cc7e3381af9fd33d875ec71e8a3.webp?v=1758530754","variant_ids":[43479200956515]},"available":true,"name":"iPhone 15 Plus 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":"NST0129652-IKU03","featured_media":{"alt":null,"id":26086119899235,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/835695f22ed42cc7e3381af9fd33d875ec71e8a3.webp?v=1758530754"}},"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: "停產" }