hand and Foot mask
${(function(){ const get_random_six_digits = () => { return Math.random().toString().slice(-6) }; const wholesale_enabled = false; const setting_product_image_display = "133.33%"; const product_image = data.image; const secondary_image = data.secondImage; const image_width = product_image.width; let image_height = product_image.height; if(setting_product_image_display == '100%'){ image_height = image_width }else if(setting_product_image_display == '133.33%'){ image_height = image_width * 1.3333; }; const product_image_hover_on = false && !!secondary_image.src; const has_save_label = true && ((+data.compare_at_price) > (+data.price)); const is_single_variant = data.variants.length == 1; const min_price_variant_href = (data.min_price_variant && data.min_price_variant.available) ? data.min_price_variant.withinUrl : data.withinUrl; const retail_price_max = data.retail_price_max || data.compare_at_price_max; const THUMBNAILS_MAX_SIZE = 3; const thumbnails = data.thumbVariants.slice(0, THUMBNAILS_MAX_SIZE); const image_wrap_id = 'image_wrap_' + get_random_six_digits(); const image_carousel_id = 'image_carousel_' + get_random_six_digits(); const thumbnails_selector_id = 'thumbnails_selector_' + get_random_six_digits(); const form_id = 'form_' + get_random_six_digits(); const mixed_wholesale = data.mixed_wholesale; return `
${ data.available ? `${ (+data.compare_at_price > +data.price) ? `Save
` : '' }` : "Sold out" }
Mixed Lot
${data.title}
${ data.price_min != data.price_max ? `from
` : `
` }
+${data.remainInvisibleThumbCount}
` })()}
Standard region - $1.20 shipping for the entire year
Free shipping over $40
Standard region - $1.20 shipping for the entire year
Free shipping over $40
The time left for shipping
hours
Log in
Create an account
${data.data && data.data.count}
Home
Razor
Mens Razor
Women's Razor
Straight Razor
Vintage Straight Razor
Metal Straight Razor
Men's Multifunctional Razor
Women's Multifunctional Razor
Mini Series-07 Portable LED Display Electric Shaver
$23.99
Electric Razor
Mens Electric Razor
Women's Electric Razor
Capsule Mini Shaver: The Ultimate Portable Electric Razor for Men
$23.99
Manual Razor
Mens Manual Razor
Women's Manual Shaver
SMITH CHU Series-Copper Wood: Premium Brass and Exotic Wood Manual Razor
from
$23.99
+1
Razor Burn/Bumps
General Care
Shaving Cream/Foam
Skin Care Essences
Moisturizing Care
Men's Care
Shving Cream//Beard Balm
Beard Oil
Beard Comb
Women‘ Care
Shaving Creams/Foams for Women
Post-Shave Cooling Gels
Soothing and Nourishing
Hand And Foot Mask
ROKYHOWS Luxury Men's Shaving Soap - Italian Formula for Custom Skin Care
$21.99
Safety Razor
Women's Safety Razor
Mens Safety Razor
Q7 All-Metal Manual Razor - 6-Blade Precision, Swedish Steel, Luxurious Shaving Experience
$46.99
Disposable Razor
BLOG
Razor
Men's Multifunctional Razor
Women's Multifunctional Razor
Mens Razor
Women's Razor
Straight Razor
Electric Razor
Mens Electric Razor
Women's Electric Razor
Manual Razor
Mens Manual Razor
Women's Manual Shaver
Safety Razor
Women's Safety Razor
Mens Safety Razor
Razor Burn/Bumps
Shving Cream//Beard Balm
Beard Oil
Beard Comb
Shaving Creams/Foams for Women
Post-Shave Cooling Gels
Hand And Foot Mask
Soothing and Nourishing
Contact Us
More links
${(function(){ const formatLinks = (links) => { return links.map(link => { link.tag = tags[link.title.toUpperCase()] || {}; link.target_attr = link.target == '_blank' ? 'target="_blank"' : ''; link.href_attr = link.url ? `href="${link.url}"` : ''; if(link.children && link.children.length){ link.children = formatLinks(link.children); } return link; }) }; const tags = "{}"; let linkList = [ { id: 71331245, title: "Home", url: "\/", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 71331247, title: "Razor", url: "\/collections\/razor", target: "", levels: 2, product0: { id: ("90b6b5b7-6d25-4802-9e12-1528b7967844") }, children: [ { title: "Mens Razor", url: "\/collections\/mens-razor", target: "", levels: 0, children: [ ] }, { title: "Women's Razor", url: "\/collections\/womens-razor", target: "", levels: 0, children: [ ] }, { title: "Straight Razor", url: "\/collections\/straight-razor", target: "", levels: 1, children: [ { title: "Vintage Straight Razor", url: "\/collections\/vintage-straight-razor", target: "", levels: 0, }, { title: "Metal Straight Razor", url: "\/collections\/metal-straight-razor", target: "", levels: 0, }, ] }, { title: "Men's Multifunctional Razor", url: "\/collections\/mens-multifunctional-razor", target: "", levels: 0, children: [ ] }, { title: "Women's Multifunctional Razor", url: "\/collections\/womens-multifunctional-razor", target: "", levels: 0, children: [ ] }, ] }, { id: 71331263, title: "Electric Razor", url: "\/collections\/electric-razor-g57g", target: "", levels: 1, product0: { id: ("013d962f-8e4d-401c-8d69-46ef1c60b899") }, children: [ { title: "Mens Electric Razor", url: "\/collections\/mens-electric-razor", target: "", levels: 0, children: [ ] }, { title: "Women's Electric Razor", url: "\/collections\/womens-electric-razor", target: "", levels: 0, children: [ ] }, ] }, { id: 71331269, title: "Manual Razor", url: "\/collections\/manual-razor-1203", target: "", levels: 1, product0: { id: ("c4536e13-84c5-40a0-bd4f-278328b1df14") }, children: [ { title: "Mens Manual Razor", url: "\/collections\/mens-manual-razor", target: "", levels: 0, children: [ ] }, { title: "Women's Manual Shaver", url: "\/collections\/womens-manual-razor", target: "", levels: 0, children: [ ] }, ] }, { id: 71331275, title: "Razor Burn\/Bumps", url: "\/collections\/razor-burn-bumps", target: "", levels: 2, product0: { id: ("934b7976-edcb-4bd3-ba72-4d2d5e340aba") }, children: [ { title: "General Care ", url: "\/collections\/skin-care-products", target: "", levels: 1, children: [ { title: "Shaving Cream\/Foam", url: "\/collections\/foam-shaving-cream", target: "", levels: 0, }, { title: "Skin Care Essences", url: "\/collections\/essence-skin-care", target: "", levels: 0, }, { title: "Moisturizing Care", url: "\/collections\/moisturizing-care", target: "", levels: 0, }, ] }, { title: "Men's Care", url: "\/collections\/mens-care-products", target: "", levels: 1, children: [ { title: "Shving Cream\/\/Beard Balm", url: "\/collections\/beard-balm", target: "", levels: 0, }, { title: "Beard Oil", url: "\/collections\/beard-oil", target: "", levels: 0, }, { title: "Beard Comb", url: "\/collections\/beard-comb", target: "", levels: 0, }, ] }, { title: "Women\u2018 Care", url: "\/collections\/womens-care", target: "", levels: 1, children: [ { title: "Shaving Creams\/Foams for Women", url: "\/collections\/foam-for-women", target: "", levels: 0, }, { title: "Post-Shave Cooling Gels", url: "\/collections\/shave-gel", target: "", levels: 0, }, { title: "Soothing and Nourishing", url: "\/collections\/soothing-and-nourishing", target: "", levels: 0, }, { title: "Hand And Foot Mask", url: "\/collections\/hand-and-foot-mask", target: "", levels: 0, }, ] }, ] }, { id: 71331303, title: "Safety Razor ", url: "\/collections\/safety-razor", target: "", levels: 1, product0: { id: ("0d4f2ae7-a169-4b0d-a0b2-313c21e4200c") }, children: [ { title: "Women's Safety Razor", url: "\/collections\/womens-safety-razor", target: "", levels: 0, children: [ ] }, { title: "Mens Safety Razor", url: "\/collections\/mens-safety-razor", target: "", levels: 0, children: [ ] }, ] }, { id: 71331309, title: "Disposable Razor", url: "\/collections\/disposable-razor", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 71331311, title: "BLOG", url: "\/blogs\/mens-electric-razor", target: "", levels: 2, product0: { id: (null) }, children: [ { title: "Razor", url: "\/blogs\/razor", target: "", levels: 1, children: [ { title: "Men's Multifunctional Razor", url: "\/blogs\/mens-multifunctional-razor", target: "", levels: 0, }, { title: "Women's Multifunctional Razor", url: "\/blogs\/womens-multifunctional-razor", target: "", levels: 0, }, { title: "Mens Razor", url: "\/blogs\/mens-razor", target: "", levels: 0, }, { title: "Women's Razor", url: "\/blogs\/womens-razor_6317", target: "", levels: 0, }, { title: "Straight Razor", url: "\/blogs\/straight-razor", target: "", levels: 0, }, ] }, { title: "Electric Razor", url: "\/blogs\/electric-razor_fb1e", target: "", levels: 1, children: [ { title: "Mens Electric Razor", url: "\/blogs\/mens-electric-razor", target: "", levels: 0, }, { title: "Women's Electric Razor", url: "\/blogs\/electric-shaver", target: "", levels: 0, }, ] }, { title: "Manual Razor", url: "\/blogs\/manual-razor", target: "", levels: 1, children: [ { title: "Mens Manual Razor", url: "\/blogs\/mens-manual-razor", target: "", levels: 0, }, { title: "Women's Manual Shaver", url: "\/blogs\/womens-manual-shaver", target: "", levels: 0, }, ] }, { title: "Safety Razor", url: "\/blogs\/safety-razor", target: "", levels: 1, children: [ { title: "Women's Safety Razor", url: "\/blogs\/womens-safety-razor", target: "", levels: 0, }, { title: "Mens Safety Razor", url: "\/blogs\/mens-safety-razor", target: "", levels: 0, }, ] }, { title: "\t Razor Burn\/Bumps", url: "\/blogs\/razor-burnbumps", target: "", levels: 1, children: [ { title: "Shving Cream\/\/Beard Balm", url: "\/blogs\/shving-creambeard-balm", target: "", levels: 0, }, { title: "Beard Oil", url: "\/blogs\/beard-oil", target: "", levels: 0, }, { title: "Beard Comb", url: "\/blogs\/beard-comb", target: "", levels: 0, }, { title: "Shaving Creams\/Foams for Women", url: "\/blogs\/shaving-creamsfoams-for-women", target: "", levels: 0, }, { title: " Post-Shave Cooling Gels", url: "\/blogs\/post-shave-cooling-gels", target: "", levels: 0, }, { title: "Hand And Foot Mask", url: "\/blogs\/hand-and-foot-mask", target: "", levels: 0, }, { title: "Soothing and Nourishing", url: "\/blogs\/soothing-and-nourishing", target: "", levels: 0, }, ] }, ] }, { id: 71331359, title: "Contact Us", url: "\/pages\/contact-us", target: "_blank", levels: 0, product0: { id: (null) }, children: [ ] }, ].slice(offset); linkList = formatLinks(linkList); const hasChild = linkList.some(link => !!(link.children && link.children.length || link.product0.id)); return `
${link.title}
${link.tag.label}
${second_link.title}
${second_link.tag.label}
${third_links.title}
${third_links.tag.label}
${link.title}
${link.tag.label}
` })()}
Home
Razor
Mens Razor
Women's Razor
Straight Razor
Vintage Straight Razor
Metal Straight Razor
Men's Multifunctional Razor
Women's Multifunctional Razor
Mini Series-07 Portable LED Display Electric Shaver
$23.99
Electric Razor
Mens Electric Razor
Women's Electric Razor
Capsule Mini Shaver: The Ultimate Portable Electric Razor for Men
$23.99
Manual Razor
Mens Manual Razor
Women's Manual Shaver
SMITH CHU Series-Copper Wood: Premium Brass and Exotic Wood Manual Razor
from
$23.99
+1
Razor Burn/Bumps
General Care
Shaving Cream/Foam
Skin Care Essences
Moisturizing Care
Men's Care
Shving Cream//Beard Balm
Beard Oil
Beard Comb
Women‘ Care
Shaving Creams/Foams for Women
Post-Shave Cooling Gels
Soothing and Nourishing
Hand And Foot Mask
ROKYHOWS Luxury Men's Shaving Soap - Italian Formula for Custom Skin Care
$21.99
Safety Razor
Women's Safety Razor
Mens Safety Razor
Q7 All-Metal Manual Razor - 6-Blade Precision, Swedish Steel, Luxurious Shaving Experience
$46.99
Disposable Razor
BLOG
Razor
Men's Multifunctional Razor
Women's Multifunctional Razor
Mens Razor
Women's Razor
Straight Razor
Electric Razor
Mens Electric Razor
Women's Electric Razor
Manual Razor
Mens Manual Razor
Women's Manual Shaver
Safety Razor
Women's Safety Razor
Mens Safety Razor
Razor Burn/Bumps
Shving Cream//Beard Balm
Beard Oil
Beard Comb
Shaving Creams/Foams for Women
Post-Shave Cooling Gels
Hand And Foot Mask
Soothing and Nourishing
Contact Us
More links
${(function(){ const formatLinks = (links) => { return links.map(link => { link.tag = tags[link.title.toUpperCase()] || {}; link.target_attr = link.target == '_blank' ? 'target="_blank"' : ''; link.href_attr = link.url ? `href="${link.url}"` : ''; if(link.children && link.children.length){ link.children = formatLinks(link.children); } return link; }) }; const tags = "{}"; let linkList = [ { id: 71331245, title: "Home", url: "\/", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 71331247, title: "Razor", url: "\/collections\/razor", target: "", levels: 2, product0: { id: ("90b6b5b7-6d25-4802-9e12-1528b7967844") }, children: [ { title: "Mens Razor", url: "\/collections\/mens-razor", target: "", levels: 0, children: [ ] }, { title: "Women's Razor", url: "\/collections\/womens-razor", target: "", levels: 0, children: [ ] }, { title: "Straight Razor", url: "\/collections\/straight-razor", target: "", levels: 1, children: [ { title: "Vintage Straight Razor", url: "\/collections\/vintage-straight-razor", target: "", levels: 0, }, { title: "Metal Straight Razor", url: "\/collections\/metal-straight-razor", target: "", levels: 0, }, ] }, { title: "Men's Multifunctional Razor", url: "\/collections\/mens-multifunctional-razor", target: "", levels: 0, children: [ ] }, { title: "Women's Multifunctional Razor", url: "\/collections\/womens-multifunctional-razor", target: "", levels: 0, children: [ ] }, ] }, { id: 71331263, title: "Electric Razor", url: "\/collections\/electric-razor-g57g", target: "", levels: 1, product0: { id: ("013d962f-8e4d-401c-8d69-46ef1c60b899") }, children: [ { title: "Mens Electric Razor", url: "\/collections\/mens-electric-razor", target: "", levels: 0, children: [ ] }, { title: "Women's Electric Razor", url: "\/collections\/womens-electric-razor", target: "", levels: 0, children: [ ] }, ] }, { id: 71331269, title: "Manual Razor", url: "\/collections\/manual-razor-1203", target: "", levels: 1, product0: { id: ("c4536e13-84c5-40a0-bd4f-278328b1df14") }, children: [ { title: "Mens Manual Razor", url: "\/collections\/mens-manual-razor", target: "", levels: 0, children: [ ] }, { title: "Women's Manual Shaver", url: "\/collections\/womens-manual-razor", target: "", levels: 0, children: [ ] }, ] }, { id: 71331275, title: "Razor Burn\/Bumps", url: "\/collections\/razor-burn-bumps", target: "", levels: 2, product0: { id: ("934b7976-edcb-4bd3-ba72-4d2d5e340aba") }, children: [ { title: "General Care ", url: "\/collections\/skin-care-products", target: "", levels: 1, children: [ { title: "Shaving Cream\/Foam", url: "\/collections\/foam-shaving-cream", target: "", levels: 0, }, { title: "Skin Care Essences", url: "\/collections\/essence-skin-care", target: "", levels: 0, }, { title: "Moisturizing Care", url: "\/collections\/moisturizing-care", target: "", levels: 0, }, ] }, { title: "Men's Care", url: "\/collections\/mens-care-products", target: "", levels: 1, children: [ { title: "Shving Cream\/\/Beard Balm", url: "\/collections\/beard-balm", target: "", levels: 0, }, { title: "Beard Oil", url: "\/collections\/beard-oil", target: "", levels: 0, }, { title: "Beard Comb", url: "\/collections\/beard-comb", target: "", levels: 0, }, ] }, { title: "Women\u2018 Care", url: "\/collections\/womens-care", target: "", levels: 1, children: [ { title: "Shaving Creams\/Foams for Women", url: "\/collections\/foam-for-women", target: "", levels: 0, }, { title: "Post-Shave Cooling Gels", url: "\/collections\/shave-gel", target: "", levels: 0, }, { title: "Soothing and Nourishing", url: "\/collections\/soothing-and-nourishing", target: "", levels: 0, }, { title: "Hand And Foot Mask", url: "\/collections\/hand-and-foot-mask", target: "", levels: 0, }, ] }, ] }, { id: 71331303, title: "Safety Razor ", url: "\/collections\/safety-razor", target: "", levels: 1, product0: { id: ("0d4f2ae7-a169-4b0d-a0b2-313c21e4200c") }, children: [ { title: "Women's Safety Razor", url: "\/collections\/womens-safety-razor", target: "", levels: 0, children: [ ] }, { title: "Mens Safety Razor", url: "\/collections\/mens-safety-razor", target: "", levels: 0, children: [ ] }, ] }, { id: 71331309, title: "Disposable Razor", url: "\/collections\/disposable-razor", target: "", levels: 0, product0: { id: (null) }, children: [ ] }, { id: 71331311, title: "BLOG", url: "\/blogs\/mens-electric-razor", target: "", levels: 2, product0: { id: (null) }, children: [ { title: "Razor", url: "\/blogs\/razor", target: "", levels: 1, children: [ { title: "Men's Multifunctional Razor", url: "\/blogs\/mens-multifunctional-razor", target: "", levels: 0, }, { title: "Women's Multifunctional Razor", url: "\/blogs\/womens-multifunctional-razor", target: "", levels: 0, }, { title: "Mens Razor", url: "\/blogs\/mens-razor", target: "", levels: 0, }, { title: "Women's Razor", url: "\/blogs\/womens-razor_6317", target: "", levels: 0, }, { title: "Straight Razor", url: "\/blogs\/straight-razor", target: "", levels: 0, }, ] }, { title: "Electric Razor", url: "\/blogs\/electric-razor_fb1e", target: "", levels: 1, children: [ { title: "Mens Electric Razor", url: "\/blogs\/mens-electric-razor", target: "", levels: 0, }, { title: "Women's Electric Razor", url: "\/blogs\/electric-shaver", target: "", levels: 0, }, ] }, { title: "Manual Razor", url: "\/blogs\/manual-razor", target: "", levels: 1, children: [ { title: "Mens Manual Razor", url: "\/blogs\/mens-manual-razor", target: "", levels: 0, }, { title: "Women's Manual Shaver", url: "\/blogs\/womens-manual-shaver", target: "", levels: 0, }, ] }, { title: "Safety Razor", url: "\/blogs\/safety-razor", target: "", levels: 1, children: [ { title: "Women's Safety Razor", url: "\/blogs\/womens-safety-razor", target: "", levels: 0, }, { title: "Mens Safety Razor", url: "\/blogs\/mens-safety-razor", target: "", levels: 0, }, ] }, { title: "\t Razor Burn\/Bumps", url: "\/blogs\/razor-burnbumps", target: "", levels: 1, children: [ { title: "Shving Cream\/\/Beard Balm", url: "\/blogs\/shving-creambeard-balm", target: "", levels: 0, }, { title: "Beard Oil", url: "\/blogs\/beard-oil", target: "", levels: 0, }, { title: "Beard Comb", url: "\/blogs\/beard-comb", target: "", levels: 0, }, { title: "Shaving Creams\/Foams for Women", url: "\/blogs\/shaving-creamsfoams-for-women", target: "", levels: 0, }, { title: " Post-Shave Cooling Gels", url: "\/blogs\/post-shave-cooling-gels", target: "", levels: 0, }, { title: "Hand And Foot Mask", url: "\/blogs\/hand-and-foot-mask", target: "", levels: 0, }, { title: "Soothing and Nourishing", url: "\/blogs\/soothing-and-nourishing", target: "", levels: 0, }, ] }, ] }, { id: 71331359, title: "Contact Us", url: "\/pages\/contact-us", target: "_blank", levels: 0, product0: { id: (null) }, children: [ ] }, ].slice(offset); linkList = formatLinks(linkList); const hasChild = linkList.some(link => !!(link.children && link.children.length || link.product0.id)); return `
${link.title}
${link.tag.label}
${second_link.title}
${second_link.tag.label}
${third_links.title}
${third_links.tag.label}
${link.title}
${link.tag.label}
` })()}
Log in
Create an account
${data.data && data.data.count}
Home
Razor
Mens Razor
Women's Razor
Straight Razor
Men's Multifunctional Razor
Women's Multifunctional Razor
Electric Razor
Mens Electric Razor
Women's Electric Razor
Manual Razor
Mens Manual Razor
Women's Manual Shaver
Razor Burn/Bumps
General Care
Men's Care
Women‘ Care
Safety Razor
Women's Safety Razor
Mens Safety Razor
Disposable Razor
BLOG
Razor
Electric Razor
Manual Razor
Safety Razor
Razor Burn/Bumps
Contact Us
${(function(){ if (data === undefined || typeof data !== 'string' || data == '') return '
'; const keyword = encodeURIComponent(data); return `
View more
Your search for '${data}' did not yield any results.
` })()}
Home
Razor
Razor
Mens Razor
Women's Razor
Straight Razor
Straight Razor
Vintage Straight Razor
Metal Straight Razor
Men's Multifunctional Razor
Women's Multifunctional Razor
Electric Razor
Electric Razor
Mens Electric Razor
Women's Electric Razor
Manual Razor
Manual Razor
Mens Manual Razor
Women's Manual Shaver
Razor Burn/Bumps
Razor Burn/Bumps
General Care
General Care
Shaving Cream/Foam
Skin Care Essences
Moisturizing Care
Men's Care
Men's Care
Shving Cream//Beard Balm
Beard Oil
Beard Comb
Women‘ Care
Women‘ Care
Shaving Creams/Foams for Women
Post-Shave Cooling Gels
Soothing and Nourishing
Hand And Foot Mask
Safety Razor
Safety Razor
Women's Safety Razor
Mens Safety Razor
Disposable Razor
BLOG
BLOG
Razor
Razor
Men's Multifunctional Razor
Women's Multifunctional Razor
Mens Razor
Women's Razor
Straight Razor
Electric Razor
Electric Razor
Mens Electric Razor
Women's Electric Razor
Manual Razor
Manual Razor
Mens Manual Razor
Women's Manual Shaver
Safety Razor
Safety Razor
Women's Safety Razor
Mens Safety Razor
Razor Burn/Bumps
Razor Burn/Bumps
Shving Cream//Beard Balm
Beard Oil
Beard Comb
Shaving Creams/Foams for Women
Post-Shave Cooling Gels
Hand And Foot Mask
Soothing and Nourishing
Contact Us
Log in
(function(){ let w = window.innerWidth; function setHeaderCssVar() { const headerEle = document.getElementById('shoplaza-section-header'); if(!headerEle){ return }; document.body.style.setProperty('--window-height', `${window.innerHeight}px`); document.body.style.setProperty('--header-height', `${headerEle.clientHeight}px`); const mdScorllHideEle = headerEle.querySelector('.header__mobile .header__scroll_hide'); if (mdScorllHideEle) { document.body.style.setProperty('--header-scroll-hide-height-md', `${mdScorllHideEle.clientHeight}px`); } const pcScorllHideEle = headerEle.querySelector('.header__desktop .header__scroll_hide'); if (pcScorllHideEle) { document.body.style.setProperty('--header-scroll-hide-height-pc', `${pcScorllHideEle.clientHeight}px`); } } function handlResize() { if(w == window.innerWidth){return}; w = window.innerWidth; setHeaderCssVar(); }; function init(){ setHeaderCssVar(); window.removeEventListener('resize', window._theme_header_listener) window._theme_header_listener = handlResize; window.addEventListener('resize', window._theme_header_listener); } init(); })();
Home
/
Hand And Foot Mask
Hand And Foot Mask
View Cart
${function(){ const productData = data.product; let product_change_event = '', mouse_over_event = ' '; mouse_out_event = ''; const product_options = productData.options.filter(Boolean) || []; for (let opt of product_options) { product_change_event = product_change_event + `quick-shop-selected-variant-${opt.name}.rerender(data=event.selectedValues.${opt.name});`; mouse_out_event = mouse_out_event + `quick-shop-selected-variant-${opt.name}.rerender(data=event.selectData.${opt.name});`; mouse_over_event = mouse_over_event + `@${opt.name}Mouseover="quick-shop-selected-variant-${opt.name}.rerender(data=event);"`; } const selectedVariant = productData.variants.find(v => v.available) || productData.variants[0]; const statusLan = ((selectedVariant && !selectedVariant.available) || (!selectedVariant && !productData.available)) ? "Sold out" : "Add to cart"; return `
${statusLan}
` }()}
${function(){ const currentSelectVariant = data.variant; const defaultVariant = (data.product && data.product.variants && data.product.variants[0]); const variantData = currentSelectVariant || defaultVariant || data; const retail_price = variantData.retail_price || 0; return `
Retail
` }()}
${function(){ const wholesale_enabled = false; const qty = data.quantity || 1; const currentSelectVariant = data.variant; const defaultVariant = (data.product && data.product.variants && data.product.variants[0]); const productVariant = null; const variantData = currentSelectVariant || defaultVariant || productVariant; const wholesale_price = variantData.wholesale_price || []; if(wholesale_enabled && wholesale_price.length > 0) { let wholesaleIndex = wholesale_price.findIndex(item => { return item.min_quantity > qty; }); if(wholesaleIndex < 0){ wholesaleIndex = wholesale_price.length - 1; }else if(wholesaleIndex > 0){ wholesaleIndex = wholesaleIndex - 1; } const wholesalePrice = wholesale_price[wholesaleIndex] || ''; return `
` }else { const price = variantData && variantData.price; return price != undefined ? `
` : '
'; } }()}
${function() { let variantImageShowed = false; const currentProduct = data.product; return (currentProduct.options || []).map((option, index) => { const optionName = option.name || ''; const position = `option${index + 1}`; let isThumbImage = false; if (currentProduct.need_variant_image && !variantImageShowed) { const variantNames = ["color"] || []; for (let i = 0, len = variantNames.length; i < len; i++) { const name = variantNames[i].toLowerCase(); if (name === optionName.toLowerCase()) { isThumbImage = true; variantImageShowed = true; } } } const variantType = "button"; const thumbStyle = "image_with_text"; return `
${optionName}:
${option.values.map((value, idx) => { const selected = data.selectedValues[optionName] == value ? 'checked' : ''; let thumbImage = null; if (isThumbImage) { const variants = currentProduct.variants; for (let i = 0, len = variants.length; i < len; i++) { const variant = variants[i]; if (variant[position] == value && thumbImage == null) { thumbImage = variant.image; break; } } } return `
${value}
` }).join('')}
${optionName}
${option.values.map(value => { const selected = data.selectedValues[optionName] == value ? 'selected' : ''; return `
${value}
` }).join('')}
` }).join(''); }()}
${data.originData && data.originData.value || data.value}