$product = {"id":7408054403171,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - K2SO 2-俠盜一號","handle":"iphone-13-mini-mod-nx-printable-pb69","description":null,"published_at":"2024-06-11T16:30:10+08:00","created_at":"2024-05-03T11:50:08+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":41882167509091,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB69","requires_shipping":true,"taxable":true,"featured_image":{"id":31471078572131,"product_id":7408054403171,"position":9,"created_at":"2024-05-03T11:50:30+08:00","updated_at":"2024-05-03T11:50:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97e073d01c72f2fa85ecb5a1881661ded1c0dcd4_79d1352c-6ef0-474f-878a-9c30c0f9531b.webp?v=1714708230","variant_ids":[41882167509091]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - K2SO 2-俠盜一號 - 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-PB69","featured_media":{"alt":null,"id":23875983638627,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97e073d01c72f2fa85ecb5a1881661ded1c0dcd4_79d1352c-6ef0-474f-878a-9c30c0f9531b.webp?v=1714708230"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882167640163,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB69","requires_shipping":true,"taxable":true,"featured_image":{"id":31471075623011,"product_id":7408054403171,"position":3,"created_at":"2024-05-03T11:50:16+08:00","updated_at":"2024-05-03T11:50:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fded46055fd2df436a07040ad7fc1de424b02e7f_c75d5f5a-962b-47ba-9daa-95aa2b227d2b.webp?v=1714708216","variant_ids":[41882167640163]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - K2SO 2-俠盜一號 - 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-PB69","featured_media":{"alt":null,"id":23875980689507,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fded46055fd2df436a07040ad7fc1de424b02e7f_c75d5f5a-962b-47ba-9daa-95aa2b227d2b.webp?v=1714708216"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882168098915,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB69","requires_shipping":true,"taxable":true,"featured_image":{"id":31471076999267,"product_id":7408054403171,"position":6,"created_at":"2024-05-03T11:50:23+08:00","updated_at":"2024-05-03T11:50:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39f651a42e607ed502120a00d0cb6d80e4c4a785_23aa1fca-e95b-45ff-84c8-5b1a99474251.webp?v=1714708223","variant_ids":[41882168098915]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - K2SO 2-俠盜一號 - 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-PB69","featured_media":{"alt":null,"id":23875982131299,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39f651a42e607ed502120a00d0cb6d80e4c4a785_23aa1fca-e95b-45ff-84c8-5b1a99474251.webp?v=1714708223"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d45a3f46420937900f20fe01bb314e044fa08046_6b65f4a7-82ec-41ae-9d57-075d877bf48d.webp?v=1714708211","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/906ff990df56f40541ce14423cf999913bb2cabd_47671a8b-8c3a-48be-b0c2-37af70497230.webp?v=1714708213","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fded46055fd2df436a07040ad7fc1de424b02e7f_c75d5f5a-962b-47ba-9daa-95aa2b227d2b.webp?v=1714708216","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff9d6a1f2e62f18f52bdfd271d810f5e6639e9c7_46264fca-5855-4f71-8de9-c50c8c41e051.webp?v=1714708218","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48715b76dde01683b5925f187e5ed432b52dd734_5e231636-ed1f-4b4b-85d9-2499f5cb09f2.webp?v=1714708220","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39f651a42e607ed502120a00d0cb6d80e4c4a785_23aa1fca-e95b-45ff-84c8-5b1a99474251.webp?v=1714708223","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/496a7ac4f427865d1733e9cef41961e4c8e390b7_17adfddb-9eff-4ced-94c6-8730a5908456.webp?v=1714708225","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d6bb452be2411a40299f085ae39b519661c9cf0_4a218fb3-fa14-4a61-aa3f-b42e3fb2cfbb.webp?v=1714708228","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97e073d01c72f2fa85ecb5a1881661ded1c0dcd4_79d1352c-6ef0-474f-878a-9c30c0f9531b.webp?v=1714708230","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63d4bfdb476a52d941ab2f8255720d5d30585b90_fc937049-a3aa-4d84-ba0a-b35090e1c3c3.webp?v=1714708233"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d45a3f46420937900f20fe01bb314e044fa08046_6b65f4a7-82ec-41ae-9d57-075d877bf48d.webp?v=1714708211","options":["color"],"media":[{"alt":null,"id":23875979968611,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d45a3f46420937900f20fe01bb314e044fa08046_6b65f4a7-82ec-41ae-9d57-075d877bf48d.webp?v=1714708211"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d45a3f46420937900f20fe01bb314e044fa08046_6b65f4a7-82ec-41ae-9d57-075d877bf48d.webp?v=1714708211","width":2000},{"alt":null,"id":23875980263523,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/906ff990df56f40541ce14423cf999913bb2cabd_47671a8b-8c3a-48be-b0c2-37af70497230.webp?v=1714708213"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/906ff990df56f40541ce14423cf999913bb2cabd_47671a8b-8c3a-48be-b0c2-37af70497230.webp?v=1714708213","width":2000},{"alt":null,"id":23875980689507,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fded46055fd2df436a07040ad7fc1de424b02e7f_c75d5f5a-962b-47ba-9daa-95aa2b227d2b.webp?v=1714708216"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fded46055fd2df436a07040ad7fc1de424b02e7f_c75d5f5a-962b-47ba-9daa-95aa2b227d2b.webp?v=1714708216","width":2000},{"alt":null,"id":23875981148259,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff9d6a1f2e62f18f52bdfd271d810f5e6639e9c7_46264fca-5855-4f71-8de9-c50c8c41e051.webp?v=1714708218"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff9d6a1f2e62f18f52bdfd271d810f5e6639e9c7_46264fca-5855-4f71-8de9-c50c8c41e051.webp?v=1714708218","width":2000},{"alt":null,"id":23875981738083,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48715b76dde01683b5925f187e5ed432b52dd734_5e231636-ed1f-4b4b-85d9-2499f5cb09f2.webp?v=1714708220"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48715b76dde01683b5925f187e5ed432b52dd734_5e231636-ed1f-4b4b-85d9-2499f5cb09f2.webp?v=1714708220","width":2000},{"alt":null,"id":23875982131299,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39f651a42e607ed502120a00d0cb6d80e4c4a785_23aa1fca-e95b-45ff-84c8-5b1a99474251.webp?v=1714708223"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39f651a42e607ed502120a00d0cb6d80e4c4a785_23aa1fca-e95b-45ff-84c8-5b1a99474251.webp?v=1714708223","width":2000},{"alt":null,"id":23875982688355,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/496a7ac4f427865d1733e9cef41961e4c8e390b7_17adfddb-9eff-4ced-94c6-8730a5908456.webp?v=1714708225"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/496a7ac4f427865d1733e9cef41961e4c8e390b7_17adfddb-9eff-4ced-94c6-8730a5908456.webp?v=1714708225","width":2000},{"alt":null,"id":23875983147107,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d6bb452be2411a40299f085ae39b519661c9cf0_4a218fb3-fa14-4a61-aa3f-b42e3fb2cfbb.webp?v=1714708228"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d6bb452be2411a40299f085ae39b519661c9cf0_4a218fb3-fa14-4a61-aa3f-b42e3fb2cfbb.webp?v=1714708228","width":2000},{"alt":null,"id":23875983638627,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97e073d01c72f2fa85ecb5a1881661ded1c0dcd4_79d1352c-6ef0-474f-878a-9c30c0f9531b.webp?v=1714708230"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97e073d01c72f2fa85ecb5a1881661ded1c0dcd4_79d1352c-6ef0-474f-878a-9c30c0f9531b.webp?v=1714708230","width":2000},{"alt":null,"id":23875984457827,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63d4bfdb476a52d941ab2f8255720d5d30585b90_fc937049-a3aa-4d84-ba0a-b35090e1c3c3.webp?v=1714708233"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63d4bfdb476a52d941ab2f8255720d5d30585b90_fc937049-a3aa-4d84-ba0a-b35090e1c3c3.webp?v=1714708233","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41882167509091,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB69","requires_shipping":true,"taxable":true,"featured_image":{"id":31471078572131,"product_id":7408054403171,"position":9,"created_at":"2024-05-03T11:50:30+08:00","updated_at":"2024-05-03T11:50:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97e073d01c72f2fa85ecb5a1881661ded1c0dcd4_79d1352c-6ef0-474f-878a-9c30c0f9531b.webp?v=1714708230","variant_ids":[41882167509091]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - K2SO 2-俠盜一號 - 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-PB69","featured_media":{"alt":null,"id":23875983638627,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97e073d01c72f2fa85ecb5a1881661ded1c0dcd4_79d1352c-6ef0-474f-878a-9c30c0f9531b.webp?v=1714708230"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882167640163,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB69","requires_shipping":true,"taxable":true,"featured_image":{"id":31471075623011,"product_id":7408054403171,"position":3,"created_at":"2024-05-03T11:50:16+08:00","updated_at":"2024-05-03T11:50:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fded46055fd2df436a07040ad7fc1de424b02e7f_c75d5f5a-962b-47ba-9daa-95aa2b227d2b.webp?v=1714708216","variant_ids":[41882167640163]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - K2SO 2-俠盜一號 - 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-PB69","featured_media":{"alt":null,"id":23875980689507,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fded46055fd2df436a07040ad7fc1de424b02e7f_c75d5f5a-962b-47ba-9daa-95aa2b227d2b.webp?v=1714708216"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882168098915,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB69","requires_shipping":true,"taxable":true,"featured_image":{"id":31471076999267,"product_id":7408054403171,"position":6,"created_at":"2024-05-03T11:50:23+08:00","updated_at":"2024-05-03T11:50:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39f651a42e607ed502120a00d0cb6d80e4c4a785_23aa1fca-e95b-45ff-84c8-5b1a99474251.webp?v=1714708223","variant_ids":[41882168098915]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - K2SO 2-俠盜一號 - 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-PB69","featured_media":{"alt":null,"id":23875982131299,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39f651a42e607ed502120a00d0cb6d80e4c4a785_23aa1fca-e95b-45ff-84c8-5b1a99474251.webp?v=1714708223"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41882167509091,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB69","requires_shipping":true,"taxable":true,"featured_image":{"id":31471078572131,"product_id":7408054403171,"position":9,"created_at":"2024-05-03T11:50:30+08:00","updated_at":"2024-05-03T11:50:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97e073d01c72f2fa85ecb5a1881661ded1c0dcd4_79d1352c-6ef0-474f-878a-9c30c0f9531b.webp?v=1714708230","variant_ids":[41882167509091]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - K2SO 2-俠盜一號 - 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-PB69","featured_media":{"alt":null,"id":23875983638627,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97e073d01c72f2fa85ecb5a1881661ded1c0dcd4_79d1352c-6ef0-474f-878a-9c30c0f9531b.webp?v=1714708230"}},"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: "停產" }