$product = {"id":7411322060899,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 波巴菲特-剪紙系列","handle":"iphone-14-pro-mod-nx-magsafe-printable-pb58","description":null,"published_at":"2024-06-11T17:41:47+08:00","created_at":"2024-05-05T00:07:15+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區迪士尼-星際大戰 Star Wars","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-starwars","device-iPhone 14 Pro","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-star-wars","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":41897417539683,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB58","requires_shipping":true,"taxable":true,"featured_image":{"id":31480137515107,"product_id":7411322060899,"position":6,"created_at":"2024-05-05T00:07:29+08:00","updated_at":"2024-05-05T00:07:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86ddfba7e97c984316fc08ebdef102474d40d869_c4ebdb44-ca6f-4663-b613-ef978d85cf41.webp?v=1714838849","variant_ids":[41897417539683]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 波巴菲特-剪紙系列 - 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-PB58","featured_media":{"alt":null,"id":23885388382307,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86ddfba7e97c984316fc08ebdef102474d40d869_c4ebdb44-ca6f-4663-b613-ef978d85cf41.webp?v=1714838849"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41897417605219,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-PB58","requires_shipping":true,"taxable":true,"featured_image":{"id":31480138858595,"product_id":7411322060899,"position":9,"created_at":"2024-05-05T00:07:36+08:00","updated_at":"2024-05-05T00:07:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a553128aceac8c79e8376d911fe71de79d4a14e0_34ee986a-934a-413d-b42c-786d0ed601c3.webp?v=1714838856","variant_ids":[41897417605219]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 波巴菲特-剪紙系列 - 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-PB58","featured_media":{"alt":null,"id":23885389791331,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a553128aceac8c79e8376d911fe71de79d4a14e0_34ee986a-934a-413d-b42c-786d0ed601c3.webp?v=1714838856"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41897418063971,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-PB58","requires_shipping":true,"taxable":true,"featured_image":{"id":31480138465379,"product_id":7411322060899,"position":8,"created_at":"2024-05-05T00:07:33+08:00","updated_at":"2024-05-05T00:07:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71ffdb18c0f4887c361377db532ee260443e47d2_4730bc47-7980-41d3-adb9-ea3d5c4f93ff.webp?v=1714838853","variant_ids":[41897418063971]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 波巴菲特-剪紙系列 - 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-PB58","featured_media":{"alt":null,"id":23885389332579,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71ffdb18c0f4887c361377db532ee260443e47d2_4730bc47-7980-41d3-adb9-ea3d5c4f93ff.webp?v=1714838853"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb4c1262210997085c03b59205447c17881cf4dc_35ef7dfa-5a0d-4853-8144-ab450ce087d7.webp?v=1714838837","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f039c81522f795f8a2f5f6ef9ffc7d2577a4152_59b6361c-9fa8-4151-8333-459ec7f1cdd6.webp?v=1714838839","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/919124ce773953b9ea9288ee1faa74d8518890d2_73ff7256-7c4f-47cb-8d39-fc80ec1b7ddf.webp?v=1714838842","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/010f4fb7d418ab0eb898416216575de5a0466f2f_86f799f3-df45-4c13-822a-633ab50787be.webp?v=1714838844","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03fbd76b43225bca8ad3ddab76fb969ba0ee1bde_cdbb1f2b-3cc8-4ddd-a78e-fef214de7e32.webp?v=1714838847","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86ddfba7e97c984316fc08ebdef102474d40d869_c4ebdb44-ca6f-4663-b613-ef978d85cf41.webp?v=1714838849","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/014d1fced86539e36d4fa23d823ea68de7d13090_2d7a7418-1897-4b89-868f-fac25fa1922a.webp?v=1714838851","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71ffdb18c0f4887c361377db532ee260443e47d2_4730bc47-7980-41d3-adb9-ea3d5c4f93ff.webp?v=1714838853","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a553128aceac8c79e8376d911fe71de79d4a14e0_34ee986a-934a-413d-b42c-786d0ed601c3.webp?v=1714838856","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a0194a526a36a81001ddb112ad2031e63a2742b0_72533fba-4a0f-4340-a6a4-55dd29dfe999.webp?v=1714838858"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb4c1262210997085c03b59205447c17881cf4dc_35ef7dfa-5a0d-4853-8144-ab450ce087d7.webp?v=1714838837","options":["color"],"media":[{"alt":null,"id":23885385859171,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb4c1262210997085c03b59205447c17881cf4dc_35ef7dfa-5a0d-4853-8144-ab450ce087d7.webp?v=1714838837"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb4c1262210997085c03b59205447c17881cf4dc_35ef7dfa-5a0d-4853-8144-ab450ce087d7.webp?v=1714838837","width":2000},{"alt":null,"id":23885386219619,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f039c81522f795f8a2f5f6ef9ffc7d2577a4152_59b6361c-9fa8-4151-8333-459ec7f1cdd6.webp?v=1714838839"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f039c81522f795f8a2f5f6ef9ffc7d2577a4152_59b6361c-9fa8-4151-8333-459ec7f1cdd6.webp?v=1714838839","width":2000},{"alt":null,"id":23885386645603,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/919124ce773953b9ea9288ee1faa74d8518890d2_73ff7256-7c4f-47cb-8d39-fc80ec1b7ddf.webp?v=1714838842"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/919124ce773953b9ea9288ee1faa74d8518890d2_73ff7256-7c4f-47cb-8d39-fc80ec1b7ddf.webp?v=1714838842","width":2000},{"alt":null,"id":23885387202659,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/010f4fb7d418ab0eb898416216575de5a0466f2f_86f799f3-df45-4c13-822a-633ab50787be.webp?v=1714838844"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/010f4fb7d418ab0eb898416216575de5a0466f2f_86f799f3-df45-4c13-822a-633ab50787be.webp?v=1714838844","width":2000},{"alt":null,"id":23885387792483,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03fbd76b43225bca8ad3ddab76fb969ba0ee1bde_cdbb1f2b-3cc8-4ddd-a78e-fef214de7e32.webp?v=1714838847"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03fbd76b43225bca8ad3ddab76fb969ba0ee1bde_cdbb1f2b-3cc8-4ddd-a78e-fef214de7e32.webp?v=1714838847","width":2000},{"alt":null,"id":23885388382307,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86ddfba7e97c984316fc08ebdef102474d40d869_c4ebdb44-ca6f-4663-b613-ef978d85cf41.webp?v=1714838849"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86ddfba7e97c984316fc08ebdef102474d40d869_c4ebdb44-ca6f-4663-b613-ef978d85cf41.webp?v=1714838849","width":2000},{"alt":null,"id":23885388775523,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/014d1fced86539e36d4fa23d823ea68de7d13090_2d7a7418-1897-4b89-868f-fac25fa1922a.webp?v=1714838851"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/014d1fced86539e36d4fa23d823ea68de7d13090_2d7a7418-1897-4b89-868f-fac25fa1922a.webp?v=1714838851","width":2000},{"alt":null,"id":23885389332579,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71ffdb18c0f4887c361377db532ee260443e47d2_4730bc47-7980-41d3-adb9-ea3d5c4f93ff.webp?v=1714838853"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71ffdb18c0f4887c361377db532ee260443e47d2_4730bc47-7980-41d3-adb9-ea3d5c4f93ff.webp?v=1714838853","width":2000},{"alt":null,"id":23885389791331,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a553128aceac8c79e8376d911fe71de79d4a14e0_34ee986a-934a-413d-b42c-786d0ed601c3.webp?v=1714838856"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a553128aceac8c79e8376d911fe71de79d4a14e0_34ee986a-934a-413d-b42c-786d0ed601c3.webp?v=1714838856","width":2000},{"alt":null,"id":23885390217315,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a0194a526a36a81001ddb112ad2031e63a2742b0_72533fba-4a0f-4340-a6a4-55dd29dfe999.webp?v=1714838858"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a0194a526a36a81001ddb112ad2031e63a2742b0_72533fba-4a0f-4340-a6a4-55dd29dfe999.webp?v=1714838858","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41897417539683,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB58","requires_shipping":true,"taxable":true,"featured_image":{"id":31480137515107,"product_id":7411322060899,"position":6,"created_at":"2024-05-05T00:07:29+08:00","updated_at":"2024-05-05T00:07:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86ddfba7e97c984316fc08ebdef102474d40d869_c4ebdb44-ca6f-4663-b613-ef978d85cf41.webp?v=1714838849","variant_ids":[41897417539683]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 波巴菲特-剪紙系列 - 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-PB58","featured_media":{"alt":null,"id":23885388382307,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86ddfba7e97c984316fc08ebdef102474d40d869_c4ebdb44-ca6f-4663-b613-ef978d85cf41.webp?v=1714838849"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41897417605219,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-PB58","requires_shipping":true,"taxable":true,"featured_image":{"id":31480138858595,"product_id":7411322060899,"position":9,"created_at":"2024-05-05T00:07:36+08:00","updated_at":"2024-05-05T00:07:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a553128aceac8c79e8376d911fe71de79d4a14e0_34ee986a-934a-413d-b42c-786d0ed601c3.webp?v=1714838856","variant_ids":[41897417605219]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 波巴菲特-剪紙系列 - 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-PB58","featured_media":{"alt":null,"id":23885389791331,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a553128aceac8c79e8376d911fe71de79d4a14e0_34ee986a-934a-413d-b42c-786d0ed601c3.webp?v=1714838856"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41897418063971,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-PB58","requires_shipping":true,"taxable":true,"featured_image":{"id":31480138465379,"product_id":7411322060899,"position":8,"created_at":"2024-05-05T00:07:33+08:00","updated_at":"2024-05-05T00:07:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71ffdb18c0f4887c361377db532ee260443e47d2_4730bc47-7980-41d3-adb9-ea3d5c4f93ff.webp?v=1714838853","variant_ids":[41897418063971]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 波巴菲特-剪紙系列 - 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-PB58","featured_media":{"alt":null,"id":23885389332579,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71ffdb18c0f4887c361377db532ee260443e47d2_4730bc47-7980-41d3-adb9-ea3d5c4f93ff.webp?v=1714838853"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41897417539683,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB58","requires_shipping":true,"taxable":true,"featured_image":{"id":31480137515107,"product_id":7411322060899,"position":6,"created_at":"2024-05-05T00:07:29+08:00","updated_at":"2024-05-05T00:07:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86ddfba7e97c984316fc08ebdef102474d40d869_c4ebdb44-ca6f-4663-b613-ef978d85cf41.webp?v=1714838849","variant_ids":[41897417539683]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 波巴菲特-剪紙系列 - 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-PB58","featured_media":{"alt":null,"id":23885388382307,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86ddfba7e97c984316fc08ebdef102474d40d869_c4ebdb44-ca6f-4663-b613-ef978d85cf41.webp?v=1714838849"}},"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: "停產" }