$product = {"id":7408014786659,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-大臉系列","handle":"iphone-13-mini-mod-nx-printable-pb78","description":null,"published_at":"2024-06-11T16:29:07+08:00","created_at":"2024-05-03T11:41:22+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":41881727565923,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB78","requires_shipping":true,"taxable":true,"featured_image":{"id":31470970994787,"product_id":7408014786659,"position":4,"created_at":"2024-05-03T11:41:32+08:00","updated_at":"2024-05-03T11:41:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6471e2b6a616580a10250781cb1357e7de0f6c42_441dd151-ba91-4829-9594-2eb874e6db64.webp?v=1714707692","variant_ids":[41881727565923]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-大臉系列 - 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-PB78","featured_media":{"alt":null,"id":23875875766371,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6471e2b6a616580a10250781cb1357e7de0f6c42_441dd151-ba91-4829-9594-2eb874e6db64.webp?v=1714707692"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881727696995,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB78","requires_shipping":true,"taxable":true,"featured_image":{"id":31470974074979,"product_id":7408014786659,"position":10,"created_at":"2024-05-03T11:41:47+08:00","updated_at":"2024-05-03T11:41:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c28437b75ef66bc1b93483d3e1b5dd076eda0b1_c2026af3-2114-4d47-86ff-12f25fecf611.webp?v=1714707707","variant_ids":[41881727696995]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-大臉系列 - 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-PB78","featured_media":{"alt":null,"id":23875878846563,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c28437b75ef66bc1b93483d3e1b5dd076eda0b1_c2026af3-2114-4d47-86ff-12f25fecf611.webp?v=1714707707"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881728122979,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB78","requires_shipping":true,"taxable":true,"featured_image":{"id":31470970437731,"product_id":7408014786659,"position":3,"created_at":"2024-05-03T11:41:30+08:00","updated_at":"2024-05-03T11:41:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/508c6524b53fce28f8e1032a76f4ba9082115efb_d5e527ea-e71a-45be-9d8e-dd5e9f893b6e.webp?v=1714707690","variant_ids":[41881728122979]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-大臉系列 - 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-PB78","featured_media":{"alt":null,"id":23875875274851,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/508c6524b53fce28f8e1032a76f4ba9082115efb_d5e527ea-e71a-45be-9d8e-dd5e9f893b6e.webp?v=1714707690"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/334d21e77e12b7cdca0670262759ed8148a9bf5b_87bf312d-c325-443f-951d-671d2536a6d9.webp?v=1714707685","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03a18a1705f3fe247ac606346a15983bb94550a7_be98445e-1a6c-43c4-b6b4-b242493b0fe1.webp?v=1714707687","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/508c6524b53fce28f8e1032a76f4ba9082115efb_d5e527ea-e71a-45be-9d8e-dd5e9f893b6e.webp?v=1714707690","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6471e2b6a616580a10250781cb1357e7de0f6c42_441dd151-ba91-4829-9594-2eb874e6db64.webp?v=1714707692","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/693746d2f7c7c7f52a051788d286996b9de3ed61_7839ddc6-b56a-44aa-bd40-2b610fa41fff.webp?v=1714707695","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b28d802c5ad98614115da20d0a3740374e8d6aa7_2026e2eb-1e57-4b6e-81f0-c7a8e9e12376.webp?v=1714707698","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c77c7bd2cd7f88f4d64220c63c7fe7c0b5a311af_bd4f837b-634e-4cb4-a0a6-c04f8eabac17.webp?v=1714707700","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e0df8aa3462a16461cee4c1490c609f61915d81e_fd2a3052-e698-4aae-860c-c60e85165759.webp?v=1714707702","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9219fcc65923f9d2956b6062e4e835c9b7f8d7a_9bd0c64a-5456-4d2f-9d9e-0e7a94ea4c92.webp?v=1714707705","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c28437b75ef66bc1b93483d3e1b5dd076eda0b1_c2026af3-2114-4d47-86ff-12f25fecf611.webp?v=1714707707"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/334d21e77e12b7cdca0670262759ed8148a9bf5b_87bf312d-c325-443f-951d-671d2536a6d9.webp?v=1714707685","options":["color"],"media":[{"alt":null,"id":23875874455651,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/334d21e77e12b7cdca0670262759ed8148a9bf5b_87bf312d-c325-443f-951d-671d2536a6d9.webp?v=1714707685"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/334d21e77e12b7cdca0670262759ed8148a9bf5b_87bf312d-c325-443f-951d-671d2536a6d9.webp?v=1714707685","width":2000},{"alt":null,"id":23875874881635,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03a18a1705f3fe247ac606346a15983bb94550a7_be98445e-1a6c-43c4-b6b4-b242493b0fe1.webp?v=1714707687"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03a18a1705f3fe247ac606346a15983bb94550a7_be98445e-1a6c-43c4-b6b4-b242493b0fe1.webp?v=1714707687","width":2000},{"alt":null,"id":23875875274851,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/508c6524b53fce28f8e1032a76f4ba9082115efb_d5e527ea-e71a-45be-9d8e-dd5e9f893b6e.webp?v=1714707690"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/508c6524b53fce28f8e1032a76f4ba9082115efb_d5e527ea-e71a-45be-9d8e-dd5e9f893b6e.webp?v=1714707690","width":2000},{"alt":null,"id":23875875766371,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6471e2b6a616580a10250781cb1357e7de0f6c42_441dd151-ba91-4829-9594-2eb874e6db64.webp?v=1714707692"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6471e2b6a616580a10250781cb1357e7de0f6c42_441dd151-ba91-4829-9594-2eb874e6db64.webp?v=1714707692","width":2000},{"alt":null,"id":23875876290659,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/693746d2f7c7c7f52a051788d286996b9de3ed61_7839ddc6-b56a-44aa-bd40-2b610fa41fff.webp?v=1714707695"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/693746d2f7c7c7f52a051788d286996b9de3ed61_7839ddc6-b56a-44aa-bd40-2b610fa41fff.webp?v=1714707695","width":2000},{"alt":null,"id":23875876782179,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b28d802c5ad98614115da20d0a3740374e8d6aa7_2026e2eb-1e57-4b6e-81f0-c7a8e9e12376.webp?v=1714707698"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b28d802c5ad98614115da20d0a3740374e8d6aa7_2026e2eb-1e57-4b6e-81f0-c7a8e9e12376.webp?v=1714707698","width":2000},{"alt":null,"id":23875877306467,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c77c7bd2cd7f88f4d64220c63c7fe7c0b5a311af_bd4f837b-634e-4cb4-a0a6-c04f8eabac17.webp?v=1714707700"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c77c7bd2cd7f88f4d64220c63c7fe7c0b5a311af_bd4f837b-634e-4cb4-a0a6-c04f8eabac17.webp?v=1714707700","width":2000},{"alt":null,"id":23875877699683,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e0df8aa3462a16461cee4c1490c609f61915d81e_fd2a3052-e698-4aae-860c-c60e85165759.webp?v=1714707702"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e0df8aa3462a16461cee4c1490c609f61915d81e_fd2a3052-e698-4aae-860c-c60e85165759.webp?v=1714707702","width":2000},{"alt":null,"id":23875878486115,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9219fcc65923f9d2956b6062e4e835c9b7f8d7a_9bd0c64a-5456-4d2f-9d9e-0e7a94ea4c92.webp?v=1714707705"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9219fcc65923f9d2956b6062e4e835c9b7f8d7a_9bd0c64a-5456-4d2f-9d9e-0e7a94ea4c92.webp?v=1714707705","width":2000},{"alt":null,"id":23875878846563,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c28437b75ef66bc1b93483d3e1b5dd076eda0b1_c2026af3-2114-4d47-86ff-12f25fecf611.webp?v=1714707707"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c28437b75ef66bc1b93483d3e1b5dd076eda0b1_c2026af3-2114-4d47-86ff-12f25fecf611.webp?v=1714707707","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41881727565923,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB78","requires_shipping":true,"taxable":true,"featured_image":{"id":31470970994787,"product_id":7408014786659,"position":4,"created_at":"2024-05-03T11:41:32+08:00","updated_at":"2024-05-03T11:41:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6471e2b6a616580a10250781cb1357e7de0f6c42_441dd151-ba91-4829-9594-2eb874e6db64.webp?v=1714707692","variant_ids":[41881727565923]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-大臉系列 - 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-PB78","featured_media":{"alt":null,"id":23875875766371,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6471e2b6a616580a10250781cb1357e7de0f6c42_441dd151-ba91-4829-9594-2eb874e6db64.webp?v=1714707692"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881727696995,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB78","requires_shipping":true,"taxable":true,"featured_image":{"id":31470974074979,"product_id":7408014786659,"position":10,"created_at":"2024-05-03T11:41:47+08:00","updated_at":"2024-05-03T11:41:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c28437b75ef66bc1b93483d3e1b5dd076eda0b1_c2026af3-2114-4d47-86ff-12f25fecf611.webp?v=1714707707","variant_ids":[41881727696995]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-大臉系列 - 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-PB78","featured_media":{"alt":null,"id":23875878846563,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c28437b75ef66bc1b93483d3e1b5dd076eda0b1_c2026af3-2114-4d47-86ff-12f25fecf611.webp?v=1714707707"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41881728122979,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB78","requires_shipping":true,"taxable":true,"featured_image":{"id":31470970437731,"product_id":7408014786659,"position":3,"created_at":"2024-05-03T11:41:30+08:00","updated_at":"2024-05-03T11:41:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/508c6524b53fce28f8e1032a76f4ba9082115efb_d5e527ea-e71a-45be-9d8e-dd5e9f893b6e.webp?v=1714707690","variant_ids":[41881728122979]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-大臉系列 - 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-PB78","featured_media":{"alt":null,"id":23875875274851,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/508c6524b53fce28f8e1032a76f4ba9082115efb_d5e527ea-e71a-45be-9d8e-dd5e9f893b6e.webp?v=1714707690"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41881727565923,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB78","requires_shipping":true,"taxable":true,"featured_image":{"id":31470970994787,"product_id":7408014786659,"position":4,"created_at":"2024-05-03T11:41:32+08:00","updated_at":"2024-05-03T11:41:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6471e2b6a616580a10250781cb1357e7de0f6c42_441dd151-ba91-4829-9594-2eb874e6db64.webp?v=1714707692","variant_ids":[41881727565923]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-大臉系列 - 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-PB78","featured_media":{"alt":null,"id":23875875766371,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6471e2b6a616580a10250781cb1357e7de0f6c42_441dd151-ba91-4829-9594-2eb874e6db64.webp?v=1714707692"}},"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: "停產" }