$product = {"id":7414124183651,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Batman - 超級惡棍和蝙蝠俠Logo貼紙款","handle":"iphone-13-mini-mod-nx-magsafe-printable-sb10","description":null,"published_at":"2024-06-11T17:49:10+08:00","created_at":"2024-05-05T14:11:11+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 13 mini","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":41904252878947,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-SB10","requires_shipping":true,"taxable":true,"featured_image":{"id":31484722610275,"product_id":7414124183651,"position":1,"created_at":"2024-05-05T14:11:13+08:00","updated_at":"2024-05-05T14:11:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/238e83b5b9e14616a11dca4ea1f6184934324daf_8fe12826-b9e7-4674-ba2c-b838ce8e0ef2.webp?v=1714889473","variant_ids":[41904252878947]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Batman - 超級惡棍和蝙蝠俠Logo貼紙款 - 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":"MPB0122824-SB10","featured_media":{"alt":null,"id":23890018009187,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/238e83b5b9e14616a11dca4ea1f6184934324daf_8fe12826-b9e7-4674-ba2c-b838ce8e0ef2.webp?v=1714889473"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41904253042787,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-SB10","requires_shipping":true,"taxable":true,"featured_image":{"id":31484730474595,"product_id":7414124183651,"position":8,"created_at":"2024-05-05T14:11:31+08:00","updated_at":"2024-05-05T14:11:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4f7a01ae4d277bbe6d78c946f1f72fc684c509f_240dd2ff-0d0e-44c2-80c6-eeb04e7b127a.webp?v=1714889491","variant_ids":[41904253042787]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Batman - 超級惡棍和蝙蝠俠Logo貼紙款 - 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":"MPB0122804-SB10","featured_media":{"alt":null,"id":23890025316451,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4f7a01ae4d277bbe6d78c946f1f72fc684c509f_240dd2ff-0d0e-44c2-80c6-eeb04e7b127a.webp?v=1714889491"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41904253861987,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-SB10","requires_shipping":true,"taxable":true,"featured_image":{"id":31484732375139,"product_id":7414124183651,"position":10,"created_at":"2024-05-05T14:11:36+08:00","updated_at":"2024-05-05T14:11:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40e9e2a473fb0bfad287be40b83436237b74b69e_6c6ea880-190e-4ac7-9856-d54d01098592.webp?v=1714889496","variant_ids":[41904253861987]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Batman - 超級惡棍和蝙蝠俠Logo貼紙款 - 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":"MPB01228J5-SB10","featured_media":{"alt":null,"id":23890027282531,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40e9e2a473fb0bfad287be40b83436237b74b69e_6c6ea880-190e-4ac7-9856-d54d01098592.webp?v=1714889496"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/238e83b5b9e14616a11dca4ea1f6184934324daf_8fe12826-b9e7-4674-ba2c-b838ce8e0ef2.webp?v=1714889473","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8385af45ea67396ef316a9bd9815510e65827f4_cca92ab2-cdb0-49cc-91d1-db540a26ba08.webp?v=1714889476","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83f7a004020071d5f94f5a47a9cde039ea685345_0c1b8b1f-0824-4bfb-acc0-aba3436bc322.webp?v=1714889478","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cd74a1af55a414f5307de6e596127dd0eb00c1c_be994c7a-0cf0-404e-8218-87f6eb90fb7d.webp?v=1714889481","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ead1894f479ad31deb7dc54dd599c46e732fc49_47b57d7c-e1ad-490a-b7b4-43cd339a8a61.webp?v=1714889483","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03ea1904bb31d169e36d2f7a62623bfc153cef05_1a5283dd-8504-40e2-a374-d5e12293ae88.webp?v=1714889486","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/613eb5a9e486bfdd987c779519e74e32e93eaf83_a9e00090-fbdd-4122-90be-ebfc9a7e2337.webp?v=1714889488","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4f7a01ae4d277bbe6d78c946f1f72fc684c509f_240dd2ff-0d0e-44c2-80c6-eeb04e7b127a.webp?v=1714889491","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2df42110370bd4954da3850450adb847871bea82_bc8ed8eb-8ffc-49ee-8003-18ec3b3d7106.webp?v=1714889493","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40e9e2a473fb0bfad287be40b83436237b74b69e_6c6ea880-190e-4ac7-9856-d54d01098592.webp?v=1714889496"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/238e83b5b9e14616a11dca4ea1f6184934324daf_8fe12826-b9e7-4674-ba2c-b838ce8e0ef2.webp?v=1714889473","options":["color"],"media":[{"alt":null,"id":23890018009187,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/238e83b5b9e14616a11dca4ea1f6184934324daf_8fe12826-b9e7-4674-ba2c-b838ce8e0ef2.webp?v=1714889473"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/238e83b5b9e14616a11dca4ea1f6184934324daf_8fe12826-b9e7-4674-ba2c-b838ce8e0ef2.webp?v=1714889473","width":2000},{"alt":null,"id":23890019418211,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8385af45ea67396ef316a9bd9815510e65827f4_cca92ab2-cdb0-49cc-91d1-db540a26ba08.webp?v=1714889476"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8385af45ea67396ef316a9bd9815510e65827f4_cca92ab2-cdb0-49cc-91d1-db540a26ba08.webp?v=1714889476","width":2000},{"alt":null,"id":23890020794467,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83f7a004020071d5f94f5a47a9cde039ea685345_0c1b8b1f-0824-4bfb-acc0-aba3436bc322.webp?v=1714889478"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83f7a004020071d5f94f5a47a9cde039ea685345_0c1b8b1f-0824-4bfb-acc0-aba3436bc322.webp?v=1714889478","width":2000},{"alt":null,"id":23890021744739,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cd74a1af55a414f5307de6e596127dd0eb00c1c_be994c7a-0cf0-404e-8218-87f6eb90fb7d.webp?v=1714889481"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cd74a1af55a414f5307de6e596127dd0eb00c1c_be994c7a-0cf0-404e-8218-87f6eb90fb7d.webp?v=1714889481","width":2000},{"alt":null,"id":23890022727779,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ead1894f479ad31deb7dc54dd599c46e732fc49_47b57d7c-e1ad-490a-b7b4-43cd339a8a61.webp?v=1714889483"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ead1894f479ad31deb7dc54dd599c46e732fc49_47b57d7c-e1ad-490a-b7b4-43cd339a8a61.webp?v=1714889483","width":2000},{"alt":null,"id":23890023415907,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03ea1904bb31d169e36d2f7a62623bfc153cef05_1a5283dd-8504-40e2-a374-d5e12293ae88.webp?v=1714889486"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03ea1904bb31d169e36d2f7a62623bfc153cef05_1a5283dd-8504-40e2-a374-d5e12293ae88.webp?v=1714889486","width":2000},{"alt":null,"id":23890024464483,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/613eb5a9e486bfdd987c779519e74e32e93eaf83_a9e00090-fbdd-4122-90be-ebfc9a7e2337.webp?v=1714889488"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/613eb5a9e486bfdd987c779519e74e32e93eaf83_a9e00090-fbdd-4122-90be-ebfc9a7e2337.webp?v=1714889488","width":2000},{"alt":null,"id":23890025316451,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4f7a01ae4d277bbe6d78c946f1f72fc684c509f_240dd2ff-0d0e-44c2-80c6-eeb04e7b127a.webp?v=1714889491"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4f7a01ae4d277bbe6d78c946f1f72fc684c509f_240dd2ff-0d0e-44c2-80c6-eeb04e7b127a.webp?v=1714889491","width":2000},{"alt":null,"id":23890026332259,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2df42110370bd4954da3850450adb847871bea82_bc8ed8eb-8ffc-49ee-8003-18ec3b3d7106.webp?v=1714889493"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2df42110370bd4954da3850450adb847871bea82_bc8ed8eb-8ffc-49ee-8003-18ec3b3d7106.webp?v=1714889493","width":2000},{"alt":null,"id":23890027282531,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40e9e2a473fb0bfad287be40b83436237b74b69e_6c6ea880-190e-4ac7-9856-d54d01098592.webp?v=1714889496"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40e9e2a473fb0bfad287be40b83436237b74b69e_6c6ea880-190e-4ac7-9856-d54d01098592.webp?v=1714889496","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41904252878947,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-SB10","requires_shipping":true,"taxable":true,"featured_image":{"id":31484722610275,"product_id":7414124183651,"position":1,"created_at":"2024-05-05T14:11:13+08:00","updated_at":"2024-05-05T14:11:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/238e83b5b9e14616a11dca4ea1f6184934324daf_8fe12826-b9e7-4674-ba2c-b838ce8e0ef2.webp?v=1714889473","variant_ids":[41904252878947]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Batman - 超級惡棍和蝙蝠俠Logo貼紙款 - 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":"MPB0122824-SB10","featured_media":{"alt":null,"id":23890018009187,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/238e83b5b9e14616a11dca4ea1f6184934324daf_8fe12826-b9e7-4674-ba2c-b838ce8e0ef2.webp?v=1714889473"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41904253042787,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-SB10","requires_shipping":true,"taxable":true,"featured_image":{"id":31484730474595,"product_id":7414124183651,"position":8,"created_at":"2024-05-05T14:11:31+08:00","updated_at":"2024-05-05T14:11:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4f7a01ae4d277bbe6d78c946f1f72fc684c509f_240dd2ff-0d0e-44c2-80c6-eeb04e7b127a.webp?v=1714889491","variant_ids":[41904253042787]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Batman - 超級惡棍和蝙蝠俠Logo貼紙款 - 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":"MPB0122804-SB10","featured_media":{"alt":null,"id":23890025316451,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4f7a01ae4d277bbe6d78c946f1f72fc684c509f_240dd2ff-0d0e-44c2-80c6-eeb04e7b127a.webp?v=1714889491"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41904253861987,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-SB10","requires_shipping":true,"taxable":true,"featured_image":{"id":31484732375139,"product_id":7414124183651,"position":10,"created_at":"2024-05-05T14:11:36+08:00","updated_at":"2024-05-05T14:11:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40e9e2a473fb0bfad287be40b83436237b74b69e_6c6ea880-190e-4ac7-9856-d54d01098592.webp?v=1714889496","variant_ids":[41904253861987]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Batman - 超級惡棍和蝙蝠俠Logo貼紙款 - 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":"MPB01228J5-SB10","featured_media":{"alt":null,"id":23890027282531,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40e9e2a473fb0bfad287be40b83436237b74b69e_6c6ea880-190e-4ac7-9856-d54d01098592.webp?v=1714889496"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41904252878947,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-SB10","requires_shipping":true,"taxable":true,"featured_image":{"id":31484722610275,"product_id":7414124183651,"position":1,"created_at":"2024-05-05T14:11:13+08:00","updated_at":"2024-05-05T14:11:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/238e83b5b9e14616a11dca4ea1f6184934324daf_8fe12826-b9e7-4674-ba2c-b838ce8e0ef2.webp?v=1714889473","variant_ids":[41904252878947]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - Batman - 超級惡棍和蝙蝠俠Logo貼紙款 - 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":"MPB0122824-SB10","featured_media":{"alt":null,"id":23890018009187,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/238e83b5b9e14616a11dca4ea1f6184934324daf_8fe12826-b9e7-4674-ba2c-b838ce8e0ef2.webp?v=1714889473"}},"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: "停產" }