$product = {"id":7408129736803,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Twenty One Point Five - 21.5 - Mundane Everyday","handle":"iphone-13-mini-mod-nx-printable-rl01","description":null,"published_at":"2024-06-11T16:32:11+08:00","created_at":"2024-05-03T12:05:42+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-Twenty One Point Five - 21.5","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-twenty-one-point-five","device-iPhone 13 mini","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-twenty-one-point-five","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":41883010236515,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-RL01","requires_shipping":true,"taxable":true,"featured_image":{"id":31471269150819,"product_id":7408129736803,"position":4,"created_at":"2024-05-03T12:05:52+08:00","updated_at":"2024-05-03T12:05:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/deb1d44f013ff39c3c0f78c9b6a53751c6b5d1b0_e77fb19a-bdd5-44cf-98d3-bfdde29048b7.webp?v=1714709152","variant_ids":[41883010236515]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Twenty One Point Five - 21.5 - Mundane Everyday - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-RL01","featured_media":{"alt":null,"id":23876174839907,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/deb1d44f013ff39c3c0f78c9b6a53751c6b5d1b0_e77fb19a-bdd5-44cf-98d3-bfdde29048b7.webp?v=1714709152"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883010302051,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-RL01","requires_shipping":true,"taxable":true,"featured_image":{"id":31471267807331,"product_id":7408129736803,"position":2,"created_at":"2024-05-03T12:05:47+08:00","updated_at":"2024-05-03T12:05:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4040241fdc462dd9f2cd3b1405507286dca0454_e1441be8-4f52-42ab-8221-c75b7c8a23b9.webp?v=1714709147","variant_ids":[41883010302051]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Twenty One Point Five - 21.5 - Mundane Everyday - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122804-RL01","featured_media":{"alt":null,"id":23876173496419,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4040241fdc462dd9f2cd3b1405507286dca0454_e1441be8-4f52-42ab-8221-c75b7c8a23b9.webp?v=1714709147"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883010531427,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-RL01","requires_shipping":true,"taxable":true,"featured_image":{"id":31471268626531,"product_id":7408129736803,"position":3,"created_at":"2024-05-03T12:05:49+08:00","updated_at":"2024-05-03T12:05:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95e78fa69fe6d7984a8a5aec774125719368113f_fde9361b-ac7e-41fc-8fa8-973c3d94554f.webp?v=1714709149","variant_ids":[41883010531427]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Twenty One Point Five - 21.5 - Mundane Everyday - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01228J5-RL01","featured_media":{"alt":null,"id":23876174315619,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95e78fa69fe6d7984a8a5aec774125719368113f_fde9361b-ac7e-41fc-8fa8-973c3d94554f.webp?v=1714709149"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52dbdcf3438b557bdd54fde9f0dc5d1513d16428_0c1c3b4e-8de2-4eea-9824-b5758a36180a.webp?v=1714709144","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4040241fdc462dd9f2cd3b1405507286dca0454_e1441be8-4f52-42ab-8221-c75b7c8a23b9.webp?v=1714709147","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95e78fa69fe6d7984a8a5aec774125719368113f_fde9361b-ac7e-41fc-8fa8-973c3d94554f.webp?v=1714709149","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/deb1d44f013ff39c3c0f78c9b6a53751c6b5d1b0_e77fb19a-bdd5-44cf-98d3-bfdde29048b7.webp?v=1714709152","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2bc4c44e13b2b3585e447a76ada09003007f771c_6fa904cb-5061-4724-8bd6-e04b11337f54.webp?v=1714709154","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fb8d0ae9f183ae343854548861b4c9466d1cc6f_668463fb-c0b7-4859-abe5-44bc5da8f048.webp?v=1714709157","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a0da091ca7e08228269aa6e0ce882d9f3c7b1594_4c3e0488-7dc2-4617-ae9e-b9378300d426.webp?v=1714709160","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/490ec5b11776bc38ecdd485e5684c7e8175b2375_552423d6-1037-4809-a358-61abbfdcc307.webp?v=1714709162","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc9607f1618f955002333d86ad5d71d10a151ac2_1a25381f-04e4-4faf-83d4-81fa8295ab36.webp?v=1714709165","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e40e8f99e406c2f0925f8e8739284623fb90afd3_7d6c5121-2483-4b63-9835-395e1930987f.webp?v=1714709167"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52dbdcf3438b557bdd54fde9f0dc5d1513d16428_0c1c3b4e-8de2-4eea-9824-b5758a36180a.webp?v=1714709144","options":["color"],"media":[{"alt":null,"id":23876173004899,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52dbdcf3438b557bdd54fde9f0dc5d1513d16428_0c1c3b4e-8de2-4eea-9824-b5758a36180a.webp?v=1714709144"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52dbdcf3438b557bdd54fde9f0dc5d1513d16428_0c1c3b4e-8de2-4eea-9824-b5758a36180a.webp?v=1714709144","width":2000},{"alt":null,"id":23876173496419,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4040241fdc462dd9f2cd3b1405507286dca0454_e1441be8-4f52-42ab-8221-c75b7c8a23b9.webp?v=1714709147"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4040241fdc462dd9f2cd3b1405507286dca0454_e1441be8-4f52-42ab-8221-c75b7c8a23b9.webp?v=1714709147","width":2000},{"alt":null,"id":23876174315619,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95e78fa69fe6d7984a8a5aec774125719368113f_fde9361b-ac7e-41fc-8fa8-973c3d94554f.webp?v=1714709149"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95e78fa69fe6d7984a8a5aec774125719368113f_fde9361b-ac7e-41fc-8fa8-973c3d94554f.webp?v=1714709149","width":2000},{"alt":null,"id":23876174839907,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/deb1d44f013ff39c3c0f78c9b6a53751c6b5d1b0_e77fb19a-bdd5-44cf-98d3-bfdde29048b7.webp?v=1714709152"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/deb1d44f013ff39c3c0f78c9b6a53751c6b5d1b0_e77fb19a-bdd5-44cf-98d3-bfdde29048b7.webp?v=1714709152","width":2000},{"alt":null,"id":23876175462499,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2bc4c44e13b2b3585e447a76ada09003007f771c_6fa904cb-5061-4724-8bd6-e04b11337f54.webp?v=1714709154"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2bc4c44e13b2b3585e447a76ada09003007f771c_6fa904cb-5061-4724-8bd6-e04b11337f54.webp?v=1714709154","width":2000},{"alt":null,"id":23876175954019,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fb8d0ae9f183ae343854548861b4c9466d1cc6f_668463fb-c0b7-4859-abe5-44bc5da8f048.webp?v=1714709157"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fb8d0ae9f183ae343854548861b4c9466d1cc6f_668463fb-c0b7-4859-abe5-44bc5da8f048.webp?v=1714709157","width":2000},{"alt":null,"id":23876176511075,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a0da091ca7e08228269aa6e0ce882d9f3c7b1594_4c3e0488-7dc2-4617-ae9e-b9378300d426.webp?v=1714709160"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a0da091ca7e08228269aa6e0ce882d9f3c7b1594_4c3e0488-7dc2-4617-ae9e-b9378300d426.webp?v=1714709160","width":2000},{"alt":null,"id":23876177068131,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/490ec5b11776bc38ecdd485e5684c7e8175b2375_552423d6-1037-4809-a358-61abbfdcc307.webp?v=1714709162"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/490ec5b11776bc38ecdd485e5684c7e8175b2375_552423d6-1037-4809-a358-61abbfdcc307.webp?v=1714709162","width":2000},{"alt":null,"id":23876177592419,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc9607f1618f955002333d86ad5d71d10a151ac2_1a25381f-04e4-4faf-83d4-81fa8295ab36.webp?v=1714709165"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc9607f1618f955002333d86ad5d71d10a151ac2_1a25381f-04e4-4faf-83d4-81fa8295ab36.webp?v=1714709165","width":2000},{"alt":null,"id":23876178182243,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e40e8f99e406c2f0925f8e8739284623fb90afd3_7d6c5121-2483-4b63-9835-395e1930987f.webp?v=1714709167"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e40e8f99e406c2f0925f8e8739284623fb90afd3_7d6c5121-2483-4b63-9835-395e1930987f.webp?v=1714709167","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41883010236515,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-RL01","requires_shipping":true,"taxable":true,"featured_image":{"id":31471269150819,"product_id":7408129736803,"position":4,"created_at":"2024-05-03T12:05:52+08:00","updated_at":"2024-05-03T12:05:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/deb1d44f013ff39c3c0f78c9b6a53751c6b5d1b0_e77fb19a-bdd5-44cf-98d3-bfdde29048b7.webp?v=1714709152","variant_ids":[41883010236515]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Twenty One Point Five - 21.5 - Mundane Everyday - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-RL01","featured_media":{"alt":null,"id":23876174839907,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/deb1d44f013ff39c3c0f78c9b6a53751c6b5d1b0_e77fb19a-bdd5-44cf-98d3-bfdde29048b7.webp?v=1714709152"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883010302051,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-RL01","requires_shipping":true,"taxable":true,"featured_image":{"id":31471267807331,"product_id":7408129736803,"position":2,"created_at":"2024-05-03T12:05:47+08:00","updated_at":"2024-05-03T12:05:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4040241fdc462dd9f2cd3b1405507286dca0454_e1441be8-4f52-42ab-8221-c75b7c8a23b9.webp?v=1714709147","variant_ids":[41883010302051]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Twenty One Point Five - 21.5 - Mundane Everyday - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122804-RL01","featured_media":{"alt":null,"id":23876173496419,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4040241fdc462dd9f2cd3b1405507286dca0454_e1441be8-4f52-42ab-8221-c75b7c8a23b9.webp?v=1714709147"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883010531427,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-RL01","requires_shipping":true,"taxable":true,"featured_image":{"id":31471268626531,"product_id":7408129736803,"position":3,"created_at":"2024-05-03T12:05:49+08:00","updated_at":"2024-05-03T12:05:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95e78fa69fe6d7984a8a5aec774125719368113f_fde9361b-ac7e-41fc-8fa8-973c3d94554f.webp?v=1714709149","variant_ids":[41883010531427]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Twenty One Point Five - 21.5 - Mundane Everyday - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01228J5-RL01","featured_media":{"alt":null,"id":23876174315619,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95e78fa69fe6d7984a8a5aec774125719368113f_fde9361b-ac7e-41fc-8fa8-973c3d94554f.webp?v=1714709149"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41883010236515,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-RL01","requires_shipping":true,"taxable":true,"featured_image":{"id":31471269150819,"product_id":7408129736803,"position":4,"created_at":"2024-05-03T12:05:52+08:00","updated_at":"2024-05-03T12:05:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/deb1d44f013ff39c3c0f78c9b6a53751c6b5d1b0_e77fb19a-bdd5-44cf-98d3-bfdde29048b7.webp?v=1714709152","variant_ids":[41883010236515]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - Twenty One Point Five - 21.5 - Mundane Everyday - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-RL01","featured_media":{"alt":null,"id":23876174839907,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/deb1d44f013ff39c3c0f78c9b6a53751c6b5d1b0_e77fb19a-bdd5-44cf-98d3-bfdde29048b7.webp?v=1714709152"}},"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: "停產" }