$product = {"id":7408210378851,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 經典幾何Pattern","handle":"iphone-13-mini-mod-nx-printable-pc03","description":null,"published_at":"2024-06-11T16:34:20+08:00","created_at":"2024-05-03T12:21:28+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":41883890974819,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PC03","requires_shipping":true,"taxable":true,"featured_image":{"id":31471484141667,"product_id":7408210378851,"position":10,"created_at":"2024-05-03T12:21:51+08:00","updated_at":"2024-05-03T12:21:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/607536ccd2a5f0776dca10ff97767c31ff2f665f_42379f18-0302-4679-9c28-73c0f566cfc6.webp?v=1714710112","variant_ids":[41883890974819]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 經典幾何Pattern - 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-PC03","featured_media":{"alt":null,"id":23876390551651,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/607536ccd2a5f0776dca10ff97767c31ff2f665f_42379f18-0302-4679-9c28-73c0f566cfc6.webp?v=1714710112"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883891105891,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PC03","requires_shipping":true,"taxable":true,"featured_image":{"id":31471483125859,"product_id":7408210378851,"position":8,"created_at":"2024-05-03T12:21:47+08:00","updated_at":"2024-05-03T12:21:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f3bf0dbf0e1aa933cfa25f6302b65479c038dff_694fb98f-eb43-41d5-a593-def6975bb140.webp?v=1714710107","variant_ids":[41883891105891]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 經典幾何Pattern - 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-PC03","featured_media":{"alt":null,"id":23876389535843,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f3bf0dbf0e1aa933cfa25f6302b65479c038dff_694fb98f-eb43-41d5-a593-def6975bb140.webp?v=1714710107"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883891466339,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PC03","requires_shipping":true,"taxable":true,"featured_image":{"id":31471483617379,"product_id":7408210378851,"position":9,"created_at":"2024-05-03T12:21:49+08:00","updated_at":"2024-05-03T12:21:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7f7ecafe27d7c13150b89e8905d732841ab74ee_6d19f92c-8bbe-4ac9-8738-9ec6bc115cca.webp?v=1714710109","variant_ids":[41883891466339]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 經典幾何Pattern - 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-PC03","featured_media":{"alt":null,"id":23876389994595,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7f7ecafe27d7c13150b89e8905d732841ab74ee_6d19f92c-8bbe-4ac9-8738-9ec6bc115cca.webp?v=1714710109"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fba310234cc72f35d0fd546dc8a59bf38ffc8b7_4282ec03-42c5-4b68-b6b4-ad56e0e35fc7.webp?v=1714710091","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93534e5d292912ccaf7b8bdfd965426f4f3712ae_06af0f0d-892f-42e6-90a6-5779c9231e75.webp?v=1714710093","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae789aad7dab29c79355e1454a627a81b51a741a_aadd8caf-a0b7-44db-9752-2b7f9b1e590c.webp?v=1714710095","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f61badfaf03565cdd1fdf7168b5a1726ee9b1187_704d882d-0b81-4b68-8ddd-b5ea551a4603.webp?v=1714710097","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86a23ba3ac8b103bfafead8c38f36dd2e0cbcb3b_11df29e1-1b69-4d7f-8a48-c02c3495929c.webp?v=1714710100","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3982e2377e1c53cbcc0908ad19cd4c39e7b4fa85_9d0f54f3-895f-48ea-ad88-42e76bfba9b3.webp?v=1714710102","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f21e7cc1801fe44497218bbb0714234fbb67ccc7_4b2181bc-895e-4db6-a4fb-4ad7ad9b76ed.webp?v=1714710104","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f3bf0dbf0e1aa933cfa25f6302b65479c038dff_694fb98f-eb43-41d5-a593-def6975bb140.webp?v=1714710107","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7f7ecafe27d7c13150b89e8905d732841ab74ee_6d19f92c-8bbe-4ac9-8738-9ec6bc115cca.webp?v=1714710109","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/607536ccd2a5f0776dca10ff97767c31ff2f665f_42379f18-0302-4679-9c28-73c0f566cfc6.webp?v=1714710112"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fba310234cc72f35d0fd546dc8a59bf38ffc8b7_4282ec03-42c5-4b68-b6b4-ad56e0e35fc7.webp?v=1714710091","options":["color"],"media":[{"alt":null,"id":23876385767523,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fba310234cc72f35d0fd546dc8a59bf38ffc8b7_4282ec03-42c5-4b68-b6b4-ad56e0e35fc7.webp?v=1714710091"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fba310234cc72f35d0fd546dc8a59bf38ffc8b7_4282ec03-42c5-4b68-b6b4-ad56e0e35fc7.webp?v=1714710091","width":2000},{"alt":null,"id":23876386422883,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93534e5d292912ccaf7b8bdfd965426f4f3712ae_06af0f0d-892f-42e6-90a6-5779c9231e75.webp?v=1714710093"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93534e5d292912ccaf7b8bdfd965426f4f3712ae_06af0f0d-892f-42e6-90a6-5779c9231e75.webp?v=1714710093","width":2000},{"alt":null,"id":23876387078243,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae789aad7dab29c79355e1454a627a81b51a741a_aadd8caf-a0b7-44db-9752-2b7f9b1e590c.webp?v=1714710095"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae789aad7dab29c79355e1454a627a81b51a741a_aadd8caf-a0b7-44db-9752-2b7f9b1e590c.webp?v=1714710095","width":2000},{"alt":null,"id":23876387471459,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f61badfaf03565cdd1fdf7168b5a1726ee9b1187_704d882d-0b81-4b68-8ddd-b5ea551a4603.webp?v=1714710097"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f61badfaf03565cdd1fdf7168b5a1726ee9b1187_704d882d-0b81-4b68-8ddd-b5ea551a4603.webp?v=1714710097","width":2000},{"alt":null,"id":23876388028515,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86a23ba3ac8b103bfafead8c38f36dd2e0cbcb3b_11df29e1-1b69-4d7f-8a48-c02c3495929c.webp?v=1714710100"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86a23ba3ac8b103bfafead8c38f36dd2e0cbcb3b_11df29e1-1b69-4d7f-8a48-c02c3495929c.webp?v=1714710100","width":2000},{"alt":null,"id":23876388421731,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3982e2377e1c53cbcc0908ad19cd4c39e7b4fa85_9d0f54f3-895f-48ea-ad88-42e76bfba9b3.webp?v=1714710102"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3982e2377e1c53cbcc0908ad19cd4c39e7b4fa85_9d0f54f3-895f-48ea-ad88-42e76bfba9b3.webp?v=1714710102","width":2000},{"alt":null,"id":23876388946019,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f21e7cc1801fe44497218bbb0714234fbb67ccc7_4b2181bc-895e-4db6-a4fb-4ad7ad9b76ed.webp?v=1714710104"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f21e7cc1801fe44497218bbb0714234fbb67ccc7_4b2181bc-895e-4db6-a4fb-4ad7ad9b76ed.webp?v=1714710104","width":2000},{"alt":null,"id":23876389535843,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f3bf0dbf0e1aa933cfa25f6302b65479c038dff_694fb98f-eb43-41d5-a593-def6975bb140.webp?v=1714710107"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f3bf0dbf0e1aa933cfa25f6302b65479c038dff_694fb98f-eb43-41d5-a593-def6975bb140.webp?v=1714710107","width":2000},{"alt":null,"id":23876389994595,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7f7ecafe27d7c13150b89e8905d732841ab74ee_6d19f92c-8bbe-4ac9-8738-9ec6bc115cca.webp?v=1714710109"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7f7ecafe27d7c13150b89e8905d732841ab74ee_6d19f92c-8bbe-4ac9-8738-9ec6bc115cca.webp?v=1714710109","width":2000},{"alt":null,"id":23876390551651,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/607536ccd2a5f0776dca10ff97767c31ff2f665f_42379f18-0302-4679-9c28-73c0f566cfc6.webp?v=1714710112"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/607536ccd2a5f0776dca10ff97767c31ff2f665f_42379f18-0302-4679-9c28-73c0f566cfc6.webp?v=1714710112","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41883890974819,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PC03","requires_shipping":true,"taxable":true,"featured_image":{"id":31471484141667,"product_id":7408210378851,"position":10,"created_at":"2024-05-03T12:21:51+08:00","updated_at":"2024-05-03T12:21:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/607536ccd2a5f0776dca10ff97767c31ff2f665f_42379f18-0302-4679-9c28-73c0f566cfc6.webp?v=1714710112","variant_ids":[41883890974819]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 經典幾何Pattern - 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-PC03","featured_media":{"alt":null,"id":23876390551651,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/607536ccd2a5f0776dca10ff97767c31ff2f665f_42379f18-0302-4679-9c28-73c0f566cfc6.webp?v=1714710112"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883891105891,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PC03","requires_shipping":true,"taxable":true,"featured_image":{"id":31471483125859,"product_id":7408210378851,"position":8,"created_at":"2024-05-03T12:21:47+08:00","updated_at":"2024-05-03T12:21:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f3bf0dbf0e1aa933cfa25f6302b65479c038dff_694fb98f-eb43-41d5-a593-def6975bb140.webp?v=1714710107","variant_ids":[41883891105891]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 經典幾何Pattern - 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-PC03","featured_media":{"alt":null,"id":23876389535843,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f3bf0dbf0e1aa933cfa25f6302b65479c038dff_694fb98f-eb43-41d5-a593-def6975bb140.webp?v=1714710107"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41883891466339,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PC03","requires_shipping":true,"taxable":true,"featured_image":{"id":31471483617379,"product_id":7408210378851,"position":9,"created_at":"2024-05-03T12:21:49+08:00","updated_at":"2024-05-03T12:21:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7f7ecafe27d7c13150b89e8905d732841ab74ee_6d19f92c-8bbe-4ac9-8738-9ec6bc115cca.webp?v=1714710109","variant_ids":[41883891466339]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 經典幾何Pattern - 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-PC03","featured_media":{"alt":null,"id":23876389994595,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7f7ecafe27d7c13150b89e8905d732841ab74ee_6d19f92c-8bbe-4ac9-8738-9ec6bc115cca.webp?v=1714710109"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41883890974819,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PC03","requires_shipping":true,"taxable":true,"featured_image":{"id":31471484141667,"product_id":7408210378851,"position":10,"created_at":"2024-05-03T12:21:51+08:00","updated_at":"2024-05-03T12:21:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/607536ccd2a5f0776dca10ff97767c31ff2f665f_42379f18-0302-4679-9c28-73c0f566cfc6.webp?v=1714710112","variant_ids":[41883890974819]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 經典幾何Pattern - 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-PC03","featured_media":{"alt":null,"id":23876390551651,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/607536ccd2a5f0776dca10ff97767c31ff2f665f_42379f18-0302-4679-9c28-73c0f566cfc6.webp?v=1714710112"}},"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: "停產" }