$product = {"id":7408196452451,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Pattern 星際大戰-Galaxy","handle":"iphone-13-mini-mod-nx-printable-pb61","description":null,"published_at":"2024-06-11T16:33:59+08:00","created_at":"2024-05-03T12:18:46+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-迪士尼-星際大戰 Star Wars","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-starwars","device-iPhone 13 mini","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-star-wars","Top50","type-Mod NX Printable"],"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":41883743846499,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB61","requires_shipping":true,"taxable":true,"featured_image":{"id":31471445311587,"product_id":7408196452451,"position":6,"created_at":"2024-05-03T12:19:00+08:00","updated_at":"2024-05-03T12:19:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0009cebf68f12072d3d86d9658d29a76fb4bc7da_9e8c4e44-9294-4ae8-9022-6afb05b21756.webp?v=1714709940","variant_ids":[41883743846499]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Pattern 星際大戰-Galaxy - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-PB61","featured_media":{"alt":null,"id":23876351688803,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0009cebf68f12072d3d86d9658d29a76fb4bc7da_9e8c4e44-9294-4ae8-9022-6afb05b21756.webp?v=1714709940"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883743912035,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB61","requires_shipping":true,"taxable":true,"featured_image":{"id":31471443935331,"product_id":7408196452451,"position":3,"created_at":"2024-05-03T12:18:53+08:00","updated_at":"2024-05-03T12:18:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9853ebe514ef0ab25b97b86a2a39a8c7abdb8c93_92677c24-045c-4fa9-abb3-5a046dcf4353.webp?v=1714709933","variant_ids":[41883743912035]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Pattern 星際大戰-Galaxy - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122804-PB61","featured_media":{"alt":null,"id":23876350279779,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9853ebe514ef0ab25b97b86a2a39a8c7abdb8c93_92677c24-045c-4fa9-abb3-5a046dcf4353.webp?v=1714709933"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883744141411,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB61","requires_shipping":true,"taxable":true,"featured_image":{"id":31471446556771,"product_id":7408196452451,"position":8,"created_at":"2024-05-03T12:19:05+08:00","updated_at":"2024-05-03T12:19:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e01c862607c2835e8c24b4bb3268a4b4ce3f3cbd_c82f7614-78a5-4967-9697-dd407a168986.webp?v=1714709945","variant_ids":[41883744141411]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Pattern 星際大戰-Galaxy - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01228J5-PB61","featured_media":{"alt":null,"id":23876352966755,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e01c862607c2835e8c24b4bb3268a4b4ce3f3cbd_c82f7614-78a5-4967-9697-dd407a168986.webp?v=1714709945"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/297da0e165ed8cda9d8248be3433bd34c09f873e_387ca466-f0ea-4541-94a0-b116bf1888e4.webp?v=1714709928","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f01fc0f2675bac6377119b0626efcc80ca737166_b8249d5e-1678-483f-850d-6e1aef88a3f0.webp?v=1714709930","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9853ebe514ef0ab25b97b86a2a39a8c7abdb8c93_92677c24-045c-4fa9-abb3-5a046dcf4353.webp?v=1714709933","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eef1ff1401f583a47c257235efdceb6d2a54eb3f_af265577-2960-479f-b173-5367570dfe82.webp?v=1714709935","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0eadcd11276c4aa4f865cb1acc9bccf3e11bf819_f3f3385f-1570-4348-afe4-a2f79f3796a6.webp?v=1714709937","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0009cebf68f12072d3d86d9658d29a76fb4bc7da_9e8c4e44-9294-4ae8-9022-6afb05b21756.webp?v=1714709940","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5bc8eefe1420cb335bcb96b9715837dfd049bc3_bdae686a-fb87-4578-99f6-a106e3c83972.webp?v=1714709942","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e01c862607c2835e8c24b4bb3268a4b4ce3f3cbd_c82f7614-78a5-4967-9697-dd407a168986.webp?v=1714709945","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52a5f4cb718b6515ff613f413e48bff044f57931_fd5debd2-1eec-46f1-9c34-6023edfb107c.webp?v=1714709947","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/419bc8323f548804226a95881544d860166d379d_9177eae0-8383-4625-9353-7d54c3f9ec9a.webp?v=1714709950"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/297da0e165ed8cda9d8248be3433bd34c09f873e_387ca466-f0ea-4541-94a0-b116bf1888e4.webp?v=1714709928","options":["color"],"media":[{"alt":null,"id":23876349034595,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/297da0e165ed8cda9d8248be3433bd34c09f873e_387ca466-f0ea-4541-94a0-b116bf1888e4.webp?v=1714709928"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/297da0e165ed8cda9d8248be3433bd34c09f873e_387ca466-f0ea-4541-94a0-b116bf1888e4.webp?v=1714709928","width":2000},{"alt":null,"id":23876349493347,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f01fc0f2675bac6377119b0626efcc80ca737166_b8249d5e-1678-483f-850d-6e1aef88a3f0.webp?v=1714709930"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f01fc0f2675bac6377119b0626efcc80ca737166_b8249d5e-1678-483f-850d-6e1aef88a3f0.webp?v=1714709930","width":2000},{"alt":null,"id":23876350279779,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9853ebe514ef0ab25b97b86a2a39a8c7abdb8c93_92677c24-045c-4fa9-abb3-5a046dcf4353.webp?v=1714709933"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9853ebe514ef0ab25b97b86a2a39a8c7abdb8c93_92677c24-045c-4fa9-abb3-5a046dcf4353.webp?v=1714709933","width":2000},{"alt":null,"id":23876350738531,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eef1ff1401f583a47c257235efdceb6d2a54eb3f_af265577-2960-479f-b173-5367570dfe82.webp?v=1714709935"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eef1ff1401f583a47c257235efdceb6d2a54eb3f_af265577-2960-479f-b173-5367570dfe82.webp?v=1714709935","width":2000},{"alt":null,"id":23876351230051,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0eadcd11276c4aa4f865cb1acc9bccf3e11bf819_f3f3385f-1570-4348-afe4-a2f79f3796a6.webp?v=1714709937"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0eadcd11276c4aa4f865cb1acc9bccf3e11bf819_f3f3385f-1570-4348-afe4-a2f79f3796a6.webp?v=1714709937","width":2000},{"alt":null,"id":23876351688803,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0009cebf68f12072d3d86d9658d29a76fb4bc7da_9e8c4e44-9294-4ae8-9022-6afb05b21756.webp?v=1714709940"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0009cebf68f12072d3d86d9658d29a76fb4bc7da_9e8c4e44-9294-4ae8-9022-6afb05b21756.webp?v=1714709940","width":2000},{"alt":null,"id":23876352344163,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5bc8eefe1420cb335bcb96b9715837dfd049bc3_bdae686a-fb87-4578-99f6-a106e3c83972.webp?v=1714709942"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5bc8eefe1420cb335bcb96b9715837dfd049bc3_bdae686a-fb87-4578-99f6-a106e3c83972.webp?v=1714709942","width":2000},{"alt":null,"id":23876352966755,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e01c862607c2835e8c24b4bb3268a4b4ce3f3cbd_c82f7614-78a5-4967-9697-dd407a168986.webp?v=1714709945"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e01c862607c2835e8c24b4bb3268a4b4ce3f3cbd_c82f7614-78a5-4967-9697-dd407a168986.webp?v=1714709945","width":2000},{"alt":null,"id":23876353589347,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52a5f4cb718b6515ff613f413e48bff044f57931_fd5debd2-1eec-46f1-9c34-6023edfb107c.webp?v=1714709947"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52a5f4cb718b6515ff613f413e48bff044f57931_fd5debd2-1eec-46f1-9c34-6023edfb107c.webp?v=1714709947","width":2000},{"alt":null,"id":23876354146403,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/419bc8323f548804226a95881544d860166d379d_9177eae0-8383-4625-9353-7d54c3f9ec9a.webp?v=1714709950"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/419bc8323f548804226a95881544d860166d379d_9177eae0-8383-4625-9353-7d54c3f9ec9a.webp?v=1714709950","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41883743846499,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB61","requires_shipping":true,"taxable":true,"featured_image":{"id":31471445311587,"product_id":7408196452451,"position":6,"created_at":"2024-05-03T12:19:00+08:00","updated_at":"2024-05-03T12:19:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0009cebf68f12072d3d86d9658d29a76fb4bc7da_9e8c4e44-9294-4ae8-9022-6afb05b21756.webp?v=1714709940","variant_ids":[41883743846499]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Pattern 星際大戰-Galaxy - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-PB61","featured_media":{"alt":null,"id":23876351688803,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0009cebf68f12072d3d86d9658d29a76fb4bc7da_9e8c4e44-9294-4ae8-9022-6afb05b21756.webp?v=1714709940"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883743912035,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB61","requires_shipping":true,"taxable":true,"featured_image":{"id":31471443935331,"product_id":7408196452451,"position":3,"created_at":"2024-05-03T12:18:53+08:00","updated_at":"2024-05-03T12:18:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9853ebe514ef0ab25b97b86a2a39a8c7abdb8c93_92677c24-045c-4fa9-abb3-5a046dcf4353.webp?v=1714709933","variant_ids":[41883743912035]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Pattern 星際大戰-Galaxy - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122804-PB61","featured_media":{"alt":null,"id":23876350279779,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9853ebe514ef0ab25b97b86a2a39a8c7abdb8c93_92677c24-045c-4fa9-abb3-5a046dcf4353.webp?v=1714709933"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883744141411,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB61","requires_shipping":true,"taxable":true,"featured_image":{"id":31471446556771,"product_id":7408196452451,"position":8,"created_at":"2024-05-03T12:19:05+08:00","updated_at":"2024-05-03T12:19:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e01c862607c2835e8c24b4bb3268a4b4ce3f3cbd_c82f7614-78a5-4967-9697-dd407a168986.webp?v=1714709945","variant_ids":[41883744141411]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Pattern 星際大戰-Galaxy - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01228J5-PB61","featured_media":{"alt":null,"id":23876352966755,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e01c862607c2835e8c24b4bb3268a4b4ce3f3cbd_c82f7614-78a5-4967-9697-dd407a168986.webp?v=1714709945"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41883743846499,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB61","requires_shipping":true,"taxable":true,"featured_image":{"id":31471445311587,"product_id":7408196452451,"position":6,"created_at":"2024-05-03T12:19:00+08:00","updated_at":"2024-05-03T12:19:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0009cebf68f12072d3d86d9658d29a76fb4bc7da_9e8c4e44-9294-4ae8-9022-6afb05b21756.webp?v=1714709940","variant_ids":[41883743846499]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - Pattern 星際大戰-Galaxy - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-PB61","featured_media":{"alt":null,"id":23876351688803,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0009cebf68f12072d3d86d9658d29a76fb4bc7da_9e8c4e44-9294-4ae8-9022-6afb05b21756.webp?v=1714709940"}},"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: "停產" }