$product = {"id":7411274088547,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Batman - 黑白畫風-蝙蝠俠","handle":"iphone-14-pro-mod-nx-magsafe-printable-sb12","description":null,"published_at":"2024-06-11T17:40:31+08:00","created_at":"2024-05-04T23:58:10+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區Batman","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-batman","device-iPhone 14 Pro","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-batman","Top50","type-Mod NX Printable MagSafe Printable"],"price":110000,"price_min":110000,"price_max":110000,"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":41896822898787,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-SB12","requires_shipping":true,"taxable":true,"featured_image":{"id":31480018403427,"product_id":7411274088547,"position":2,"created_at":"2024-05-04T23:58:15+08:00","updated_at":"2024-05-04T23:58:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a9b9cc5b44e6bb1d7b1c50d3670fba63343ed2b_8648a1d4-cf7b-49d6-8463-e19561b6c644.webp?v=1714838295","variant_ids":[41896822898787]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Batman - 黑白畫風-蝙蝠俠 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-SB12","featured_media":{"alt":null,"id":23885269041251,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a9b9cc5b44e6bb1d7b1c50d3670fba63343ed2b_8648a1d4-cf7b-49d6-8463-e19561b6c644.webp?v=1714838295"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896822964323,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-SB12","requires_shipping":true,"taxable":true,"featured_image":{"id":31480022106211,"product_id":7411274088547,"position":8,"created_at":"2024-05-04T23:58:28+08:00","updated_at":"2024-05-04T23:58:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ac6a594d0d11f273adc67ce23a157ef994da29a_09e0b230-5e13-4c91-85d0-7a4a8208f9d4.webp?v=1714838308","variant_ids":[41896822964323]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Batman - 黑白畫風-蝙蝠俠 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-SB12","featured_media":{"alt":null,"id":23885272711267,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ac6a594d0d11f273adc67ce23a157ef994da29a_09e0b230-5e13-4c91-85d0-7a4a8208f9d4.webp?v=1714838308"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896823193699,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-SB12","requires_shipping":true,"taxable":true,"featured_image":{"id":31480020336739,"product_id":7411274088547,"position":5,"created_at":"2024-05-04T23:58:21+08:00","updated_at":"2024-05-04T23:58:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2b31b67f9f329ae505740d7078116c84c5a863b_4a36c178-cdfe-4429-9795-8026ce1e0a2b.webp?v=1714838301","variant_ids":[41896823193699]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Batman - 黑白畫風-蝙蝠俠 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-SB12","featured_media":{"alt":null,"id":23885271072867,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2b31b67f9f329ae505740d7078116c84c5a863b_4a36c178-cdfe-4429-9795-8026ce1e0a2b.webp?v=1714838301"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2bfa53a55134f40bbf384fb2e06db07f0dccaa6_0b82c642-e8df-4159-8f83-4daffce1fb13.webp?v=1714838292","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a9b9cc5b44e6bb1d7b1c50d3670fba63343ed2b_8648a1d4-cf7b-49d6-8463-e19561b6c644.webp?v=1714838295","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/801994a52b12d368ab651911d13146f809663ce1_7e357dc1-371c-456e-a45c-6c0a8019db26.webp?v=1714838297","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f51d9c28bc89248b7ee8eb357bd7c4de877cafb7_67cef653-7dc1-4d3f-9065-d6449f13e030.webp?v=1714838299","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2b31b67f9f329ae505740d7078116c84c5a863b_4a36c178-cdfe-4429-9795-8026ce1e0a2b.webp?v=1714838301","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f381744231aa34df26a30f46e3094620c2507440_15bf029e-d8db-45d4-a8e0-06943bdd1728.webp?v=1714838304","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ccd1eddc604248ee622a001fc7cd0f18f7df1cc_9cff951c-3d42-45ba-83cf-49d2e3b657d5.webp?v=1714838306","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ac6a594d0d11f273adc67ce23a157ef994da29a_09e0b230-5e13-4c91-85d0-7a4a8208f9d4.webp?v=1714838308","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/240d2bbf336359deec80b7e105907f4c3b94057a_72bfa558-7bb9-47c9-90dc-12e6079ae6f8.webp?v=1714838310","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab776c5ef27abcbcbb177ec5746321e008f030f4_fc6907ad-5ac5-43a6-b8a0-f94b95b909d4.webp?v=1714838313"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2bfa53a55134f40bbf384fb2e06db07f0dccaa6_0b82c642-e8df-4159-8f83-4daffce1fb13.webp?v=1714838292","options":["color"],"media":[{"alt":null,"id":23885268451427,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2bfa53a55134f40bbf384fb2e06db07f0dccaa6_0b82c642-e8df-4159-8f83-4daffce1fb13.webp?v=1714838292"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2bfa53a55134f40bbf384fb2e06db07f0dccaa6_0b82c642-e8df-4159-8f83-4daffce1fb13.webp?v=1714838292","width":2000},{"alt":null,"id":23885269041251,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a9b9cc5b44e6bb1d7b1c50d3670fba63343ed2b_8648a1d4-cf7b-49d6-8463-e19561b6c644.webp?v=1714838295"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a9b9cc5b44e6bb1d7b1c50d3670fba63343ed2b_8648a1d4-cf7b-49d6-8463-e19561b6c644.webp?v=1714838295","width":2000},{"alt":null,"id":23885269925987,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/801994a52b12d368ab651911d13146f809663ce1_7e357dc1-371c-456e-a45c-6c0a8019db26.webp?v=1714838297"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/801994a52b12d368ab651911d13146f809663ce1_7e357dc1-371c-456e-a45c-6c0a8019db26.webp?v=1714838297","width":2000},{"alt":null,"id":23885270581347,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f51d9c28bc89248b7ee8eb357bd7c4de877cafb7_67cef653-7dc1-4d3f-9065-d6449f13e030.webp?v=1714838299"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f51d9c28bc89248b7ee8eb357bd7c4de877cafb7_67cef653-7dc1-4d3f-9065-d6449f13e030.webp?v=1714838299","width":2000},{"alt":null,"id":23885271072867,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2b31b67f9f329ae505740d7078116c84c5a863b_4a36c178-cdfe-4429-9795-8026ce1e0a2b.webp?v=1714838301"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2b31b67f9f329ae505740d7078116c84c5a863b_4a36c178-cdfe-4429-9795-8026ce1e0a2b.webp?v=1714838301","width":2000},{"alt":null,"id":23885271695459,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f381744231aa34df26a30f46e3094620c2507440_15bf029e-d8db-45d4-a8e0-06943bdd1728.webp?v=1714838304"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f381744231aa34df26a30f46e3094620c2507440_15bf029e-d8db-45d4-a8e0-06943bdd1728.webp?v=1714838304","width":2000},{"alt":null,"id":23885272219747,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ccd1eddc604248ee622a001fc7cd0f18f7df1cc_9cff951c-3d42-45ba-83cf-49d2e3b657d5.webp?v=1714838306"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ccd1eddc604248ee622a001fc7cd0f18f7df1cc_9cff951c-3d42-45ba-83cf-49d2e3b657d5.webp?v=1714838306","width":2000},{"alt":null,"id":23885272711267,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ac6a594d0d11f273adc67ce23a157ef994da29a_09e0b230-5e13-4c91-85d0-7a4a8208f9d4.webp?v=1714838308"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ac6a594d0d11f273adc67ce23a157ef994da29a_09e0b230-5e13-4c91-85d0-7a4a8208f9d4.webp?v=1714838308","width":2000},{"alt":null,"id":23885273170019,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/240d2bbf336359deec80b7e105907f4c3b94057a_72bfa558-7bb9-47c9-90dc-12e6079ae6f8.webp?v=1714838310"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/240d2bbf336359deec80b7e105907f4c3b94057a_72bfa558-7bb9-47c9-90dc-12e6079ae6f8.webp?v=1714838310","width":2000},{"alt":null,"id":23885273661539,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab776c5ef27abcbcbb177ec5746321e008f030f4_fc6907ad-5ac5-43a6-b8a0-f94b95b909d4.webp?v=1714838313"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab776c5ef27abcbcbb177ec5746321e008f030f4_fc6907ad-5ac5-43a6-b8a0-f94b95b909d4.webp?v=1714838313","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41896822898787,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-SB12","requires_shipping":true,"taxable":true,"featured_image":{"id":31480018403427,"product_id":7411274088547,"position":2,"created_at":"2024-05-04T23:58:15+08:00","updated_at":"2024-05-04T23:58:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a9b9cc5b44e6bb1d7b1c50d3670fba63343ed2b_8648a1d4-cf7b-49d6-8463-e19561b6c644.webp?v=1714838295","variant_ids":[41896822898787]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Batman - 黑白畫風-蝙蝠俠 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-SB12","featured_media":{"alt":null,"id":23885269041251,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a9b9cc5b44e6bb1d7b1c50d3670fba63343ed2b_8648a1d4-cf7b-49d6-8463-e19561b6c644.webp?v=1714838295"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896822964323,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-SB12","requires_shipping":true,"taxable":true,"featured_image":{"id":31480022106211,"product_id":7411274088547,"position":8,"created_at":"2024-05-04T23:58:28+08:00","updated_at":"2024-05-04T23:58:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ac6a594d0d11f273adc67ce23a157ef994da29a_09e0b230-5e13-4c91-85d0-7a4a8208f9d4.webp?v=1714838308","variant_ids":[41896822964323]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Batman - 黑白畫風-蝙蝠俠 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-SB12","featured_media":{"alt":null,"id":23885272711267,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ac6a594d0d11f273adc67ce23a157ef994da29a_09e0b230-5e13-4c91-85d0-7a4a8208f9d4.webp?v=1714838308"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896823193699,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-SB12","requires_shipping":true,"taxable":true,"featured_image":{"id":31480020336739,"product_id":7411274088547,"position":5,"created_at":"2024-05-04T23:58:21+08:00","updated_at":"2024-05-04T23:58:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2b31b67f9f329ae505740d7078116c84c5a863b_4a36c178-cdfe-4429-9795-8026ce1e0a2b.webp?v=1714838301","variant_ids":[41896823193699]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Batman - 黑白畫風-蝙蝠俠 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-SB12","featured_media":{"alt":null,"id":23885271072867,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2b31b67f9f329ae505740d7078116c84c5a863b_4a36c178-cdfe-4429-9795-8026ce1e0a2b.webp?v=1714838301"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41896822898787,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-SB12","requires_shipping":true,"taxable":true,"featured_image":{"id":31480018403427,"product_id":7411274088547,"position":2,"created_at":"2024-05-04T23:58:15+08:00","updated_at":"2024-05-04T23:58:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a9b9cc5b44e6bb1d7b1c50d3670fba63343ed2b_8648a1d4-cf7b-49d6-8463-e19561b6c644.webp?v=1714838295","variant_ids":[41896822898787]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - Batman - 黑白畫風-蝙蝠俠 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-SB12","featured_media":{"alt":null,"id":23885269041251,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a9b9cc5b44e6bb1d7b1c50d3670fba63343ed2b_8648a1d4-cf7b-49d6-8463-e19561b6c644.webp?v=1714838295"}},"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: "停產" }