$product = {"id":6981302583395,"title":"iPhone 13 mini SolidSuit (MagSafe 兼容) 白白日記 By Darylhochi 沐浴於星空中","handle":"iphone-13-mini-solidsuit-classic-magsafe-ei09","description":null,"published_at":"2023-08-01T19:10:21+08:00","created_at":"2023-07-26T20:20:40+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師SolidSuit MagSafe專區-齊柏林《看見台灣》十週年原創設計系列","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-darylhochi","device-iPhone 13 Mini","merge","reseller-darylhochi"],"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":43102802116707,"title":"Black \/ Classic","option1":"Black","option2":"Classic","option3":null,"sku":"MST0122852-EI09","requires_shipping":true,"taxable":true,"featured_image":{"id":35582264344675,"product_id":6981302583395,"position":2,"created_at":"2026-04-02T16:16:20+08:00","updated_at":"2026-04-02T16:16:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18be6fff374b7f9efe89e4ead33ca1ff1bfde183.webp?v=1775117782","variant_ids":[43102802116707]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) 白白日記 By Darylhochi 沐浴於星空中 - Black \/ Classic","public_title":"Black \/ Classic","options":["Black","Classic"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0122852-EI09","featured_media":{"alt":null,"id":27114884104291,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18be6fff374b7f9efe89e4ead33ca1ff1bfde183.webp?v=1775117782"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102802444387,"title":"Seaweed Green \/ Classic","option1":"Seaweed Green","option2":"Classic","option3":null,"sku":"MST01228Z8-EI09","requires_shipping":true,"taxable":true,"featured_image":{"id":35582265065571,"product_id":6981302583395,"position":6,"created_at":"2026-04-02T16:16:22+08:00","updated_at":"2026-04-02T16:16:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a994903e837b02769c8c7a8804ed7fcde4c8530.webp?v=1775117784","variant_ids":[43102802444387]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) 白白日記 By Darylhochi 沐浴於星空中 - Seaweed Green \/ Classic","public_title":"Seaweed Green \/ Classic","options":["Seaweed Green","Classic"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01228Z8-EI09","featured_media":{"alt":null,"id":27114884857955,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a994903e837b02769c8c7a8804ed7fcde4c8530.webp?v=1775117784"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-EI09.png?v=1690374043","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18be6fff374b7f9efe89e4ead33ca1ff1bfde183.webp?v=1775117782","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0638fc43f52c45af324c9ffb45f5e3aabd028d50.webp?v=1775117783","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/feb066e47311bd85d3a7e2397507d692078375a8.webp?v=1775117783","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/331e591f8e5f5550846c8336672bfb4233851fc7.webp?v=1775117784","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a994903e837b02769c8c7a8804ed7fcde4c8530.webp?v=1775117784","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ff6f43e6059dce82c06c9a8d0903f1a76114673.webp?v=1775117785","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0da7e3b4412d8281607104994a6061abddcfc5e6.webp?v=1775117785","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1017f189097b4c3da0846efc08876c0d39a2601b.webp?v=1775117786"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-EI09.png?v=1690374043","options":["color","Types"],"media":[{"alt":null,"id":22630739837027,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-EI09.png?v=1690374043"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-EI09.png?v=1690374043","width":2000},{"alt":null,"id":27114884104291,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18be6fff374b7f9efe89e4ead33ca1ff1bfde183.webp?v=1775117782"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18be6fff374b7f9efe89e4ead33ca1ff1bfde183.webp?v=1775117782","width":2000},{"alt":null,"id":27114884333667,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0638fc43f52c45af324c9ffb45f5e3aabd028d50.webp?v=1775117783"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0638fc43f52c45af324c9ffb45f5e3aabd028d50.webp?v=1775117783","width":2000},{"alt":null,"id":27114884497507,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/feb066e47311bd85d3a7e2397507d692078375a8.webp?v=1775117783"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/feb066e47311bd85d3a7e2397507d692078375a8.webp?v=1775117783","width":2000},{"alt":null,"id":27114884628579,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/331e591f8e5f5550846c8336672bfb4233851fc7.webp?v=1775117784"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/331e591f8e5f5550846c8336672bfb4233851fc7.webp?v=1775117784","width":2000},{"alt":null,"id":27114884857955,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a994903e837b02769c8c7a8804ed7fcde4c8530.webp?v=1775117784"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a994903e837b02769c8c7a8804ed7fcde4c8530.webp?v=1775117784","width":2000},{"alt":null,"id":27114885054563,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ff6f43e6059dce82c06c9a8d0903f1a76114673.webp?v=1775117785"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ff6f43e6059dce82c06c9a8d0903f1a76114673.webp?v=1775117785","width":2000},{"alt":null,"id":27114885152867,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0da7e3b4412d8281607104994a6061abddcfc5e6.webp?v=1775117785"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0da7e3b4412d8281607104994a6061abddcfc5e6.webp?v=1775117785","width":2000},{"alt":null,"id":27114885283939,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1017f189097b4c3da0846efc08876c0d39a2601b.webp?v=1775117786"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1017f189097b4c3da0846efc08876c0d39a2601b.webp?v=1775117786","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43102802116707,"title":"Black \/ Classic","option1":"Black","option2":"Classic","option3":null,"sku":"MST0122852-EI09","requires_shipping":true,"taxable":true,"featured_image":{"id":35582264344675,"product_id":6981302583395,"position":2,"created_at":"2026-04-02T16:16:20+08:00","updated_at":"2026-04-02T16:16:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18be6fff374b7f9efe89e4ead33ca1ff1bfde183.webp?v=1775117782","variant_ids":[43102802116707]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) 白白日記 By Darylhochi 沐浴於星空中 - Black \/ Classic","public_title":"Black \/ Classic","options":["Black","Classic"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0122852-EI09","featured_media":{"alt":null,"id":27114884104291,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18be6fff374b7f9efe89e4ead33ca1ff1bfde183.webp?v=1775117782"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102802444387,"title":"Seaweed Green \/ Classic","option1":"Seaweed Green","option2":"Classic","option3":null,"sku":"MST01228Z8-EI09","requires_shipping":true,"taxable":true,"featured_image":{"id":35582265065571,"product_id":6981302583395,"position":6,"created_at":"2026-04-02T16:16:22+08:00","updated_at":"2026-04-02T16:16:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a994903e837b02769c8c7a8804ed7fcde4c8530.webp?v=1775117784","variant_ids":[43102802444387]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) 白白日記 By Darylhochi 沐浴於星空中 - Seaweed Green \/ Classic","public_title":"Seaweed Green \/ Classic","options":["Seaweed Green","Classic"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01228Z8-EI09","featured_media":{"alt":null,"id":27114884857955,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a994903e837b02769c8c7a8804ed7fcde4c8530.webp?v=1775117784"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43102802116707,"title":"Black \/ Classic","option1":"Black","option2":"Classic","option3":null,"sku":"MST0122852-EI09","requires_shipping":true,"taxable":true,"featured_image":{"id":35582264344675,"product_id":6981302583395,"position":2,"created_at":"2026-04-02T16:16:20+08:00","updated_at":"2026-04-02T16:16:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18be6fff374b7f9efe89e4ead33ca1ff1bfde183.webp?v=1775117782","variant_ids":[43102802116707]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) 白白日記 By Darylhochi 沐浴於星空中 - Black \/ Classic","public_title":"Black \/ Classic","options":["Black","Classic"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0122852-EI09","featured_media":{"alt":null,"id":27114884104291,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18be6fff374b7f9efe89e4ead33ca1ff1bfde183.webp?v=1775117782"}},"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: "停產" }