www.lastobit.top
Open in
urlscan Pro
2606:4700::6812:800e
Public Scan
Submitted URL: https://lastobit.top/
Effective URL: https://www.lastobit.top/
Submission: On June 12 via api from US — Scanned from DE
Effective URL: https://www.lastobit.top/
Submission: On June 12 via api from US — Scanned from DE
Form analysis
8 forms found in the DOM<form>
<input name="variant_id" type="hidden" value="${data.variants[0].id}">
<button type="button" class="product-snippet__quick-shop-icon" role="addToCart" data-quick-shop="${data.handle}" data-track-product-id="${data.id}" data-track="click" data-track-content="add_to_cart" data-track-source="quick_shop">
<svg class="" width="16" height="16" xmlns="http://www.w3.org/2000/svg">
<path d="M8.6 1.9a.3.3 0 0 0-.3-.3h-.6a.3.3 0 0 0-.3.3v5.5H1.9a.3.3 0 0 0-.3.3v.6a.3.3 0 0 0 .3.3h5.5v5.5a.3.3 0 0 0 .3.3h.6a.3.3 0 0 0 .3-.3V8.6h5.5a.3.3 0 0 0 .3-.3v-.6a.3.3 0 0 0-.3-.3H8.6V1.9z" fill="currentColor"></path>
</svg>
</button>
</form>
GET /search
<form id="header_search_form_pc" class="header__search-form relative flex" action="/search" method="get">
<div class="md:flex-1 relative">
<input @input-debounced="header_search_lightbox.open();header_search_predictive_render.rerender(data=event.value, redo=true);" class="header__search-input m-0 w-full type-text-font-family" autocomplete="off" type="text" name="q"
placeholder="Search products">
<button type="submit" class="header__search-icon absolute m-0 p-0 text-0 type-text-font-family cursor-pointer" tabindex="-1"><svg class="" width="18" height="18" xmlns="http://www.w3.org/2000/svg">
<path opacity=".01" fill="currentColor" d="M0 0h18v18H0z"></path>
<path fill-rule="evenodd" clip-rule="evenodd" d="M12.41 13.885a6.923 6.923 0 1 1 .839-.728l3.412 3.413a.554.554 0 0 1-.783.783l-3.462-3.462a.383.383 0 0 1-.006-.006Zm1.713-5.577a5.815 5.815 0 1 1-11.63 0 5.815 5.815 0 0 1 11.63 0Z"
fill="currentColor"></path>
</svg></button>
<span onclick="header_search_form_pc.reset()" @tap="header_search_lightbox.close();" class="header__search-icon-close hidden items-center justify-center absolute m-0 p-0 type-text-font-family text-0 rounded-full cursor-pointer" tabindex="-2"><svg
class="" width="12" height="12" xmlns="http://www.w3.org/2000/svg">
<path
d="M2.746 1.992a.2.2 0 0 0-.283 0l-.471.471a.2.2 0 0 0 0 .283L5.245 6 1.992 9.25a.2.2 0 0 0 0 .283l.471.472a.2.2 0 0 0 .283 0L6 6.753l3.252 3.253a.2.2 0 0 0 .283 0l.472-.472a.2.2 0 0 0 0-.283L6.753 6l3.253-3.253a.2.2 0 0 0 0-.283l-.472-.471a.2.2 0 0 0-.283 0L6 5.245 2.746 1.992z"
fill="currentColor"></path>
</svg></span>
</div>
<button type="submit" class="header__search-submit-btn lg:hidden m-0 type-text-font-family">Search</button>
</form>
GET /search
<form id="header_search_form_md" class="header__search-form relative flex" action="/search" method="get">
<div class="md:flex-1 relative">
<input @input-debounced="header_search_lightbox.open();header_search_predictive_render.rerender(data=event.value, redo=true);" class="header__search-input m-0 w-full type-text-font-family" autocomplete="off" type="text" name="q"
placeholder="Search products">
<button type="submit" class="header__search-icon absolute m-0 p-0 text-0 type-text-font-family cursor-pointer" tabindex="-1"><svg class="" width="18" height="18" xmlns="http://www.w3.org/2000/svg">
<path opacity=".01" fill="currentColor" d="M0 0h18v18H0z"></path>
<path fill-rule="evenodd" clip-rule="evenodd" d="M12.41 13.885a6.923 6.923 0 1 1 .839-.728l3.412 3.413a.554.554 0 0 1-.783.783l-3.462-3.462a.383.383 0 0 1-.006-.006Zm1.713-5.577a5.815 5.815 0 1 1-11.63 0 5.815 5.815 0 0 1 11.63 0Z"
fill="currentColor"></path>
</svg></button>
<span onclick="header_search_form_md.reset()" @tap="header_search_lightbox.close();" class="header__search-icon-close hidden items-center justify-center absolute m-0 p-0 type-text-font-family text-0 rounded-full cursor-pointer" tabindex="-2"><svg
class="" width="12" height="12" xmlns="http://www.w3.org/2000/svg">
<path
d="M2.746 1.992a.2.2 0 0 0-.283 0l-.471.471a.2.2 0 0 0 0 .283L5.245 6 1.992 9.25a.2.2 0 0 0 0 .283l.471.472a.2.2 0 0 0 .283 0L6 6.753l3.252 3.253a.2.2 0 0 0 .283 0l.472-.472a.2.2 0 0 0 0-.283L6.753 6l3.253-3.253a.2.2 0 0 0 0-.283l-.472-.471a.2.2 0 0 0-.283 0L6 5.245 2.746 1.992z"
fill="currentColor"></path>
</svg></span>
</div>
<button type="submit" class="header__search-submit-btn lg:hidden m-0 type-text-font-family">Search</button>
</form>
<form>
<input name="variant_id" type="hidden" value="69cd1589-ec4e-4177-9042-f9628ac94759">
<button type="button" class="product-snippet__quick-shop-icon" role="addToCart"
data-quick-shop="nvted-dog-squeaky-toys-dog-chew-toy-aggressive-chewers-squeaky-balls-throwing-ring-pet-puppy-safety-teething-ball-toys-natural-rubber-squeaky-dog-toy-for-large-dogs-s4mn"
data-track-product-id="149504a2-3ec3-474b-bc27-fd64b18a4f27" data-track="click" data-track-content="add_to_cart" data-track-source="quick_shop">
<svg class="" width="16" height="16" xmlns="http://www.w3.org/2000/svg">
<path d="M8.6 1.9a.3.3 0 0 0-.3-.3h-.6a.3.3 0 0 0-.3.3v5.5H1.9a.3.3 0 0 0-.3.3v.6a.3.3 0 0 0 .3.3h5.5v5.5a.3.3 0 0 0 .3.3h.6a.3.3 0 0 0 .3-.3V8.6h5.5a.3.3 0 0 0 .3-.3v-.6a.3.3 0 0 0-.3-.3H8.6V1.9z" fill="currentColor"></path>
</svg>
</button>
</form>
<form>
<input name="variant_id" type="hidden" value="bfb635a7-3718-4ba3-b17a-e09ff8408585">
<button type="button" class="product-snippet__quick-shop-icon" role="addToCart" data-quick-shop="bentopal-interactive-dog-toy-wicked-ball-for-indoor-cats-dogs-with-motion-activated-usb-rechargeable-vqji"
data-track-product-id="155c3ad3-a132-4c9a-838e-a2e6841993e6" data-track="click" data-track-content="add_to_cart" data-track-source="quick_shop">
<svg class="" width="16" height="16" xmlns="http://www.w3.org/2000/svg">
<path d="M8.6 1.9a.3.3 0 0 0-.3-.3h-.6a.3.3 0 0 0-.3.3v5.5H1.9a.3.3 0 0 0-.3.3v.6a.3.3 0 0 0 .3.3h5.5v5.5a.3.3 0 0 0 .3.3h.6a.3.3 0 0 0 .3-.3V8.6h5.5a.3.3 0 0 0 .3-.3v-.6a.3.3 0 0 0-.3-.3H8.6V1.9z" fill="currentColor"></path>
</svg>
</button>
</form>
<form>
<input name="variant_id" type="hidden" value="69cd1589-ec4e-4177-9042-f9628ac94759">
<button type="button" class="product-snippet__quick-shop-icon" role="addToCart"
data-quick-shop="nvted-dog-squeaky-toys-dog-chew-toy-aggressive-chewers-squeaky-balls-throwing-ring-pet-puppy-safety-teething-ball-toys-natural-rubber-squeaky-dog-toy-for-large-dogs-s4mn"
data-track-product-id="149504a2-3ec3-474b-bc27-fd64b18a4f27" data-track="click" data-track-content="add_to_cart" data-track-source="quick_shop">
<svg class="" width="16" height="16" xmlns="http://www.w3.org/2000/svg">
<path d="M8.6 1.9a.3.3 0 0 0-.3-.3h-.6a.3.3 0 0 0-.3.3v5.5H1.9a.3.3 0 0 0-.3.3v.6a.3.3 0 0 0 .3.3h5.5v5.5a.3.3 0 0 0 .3.3h.6a.3.3 0 0 0 .3-.3V8.6h5.5a.3.3 0 0 0 .3-.3v-.6a.3.3 0 0 0-.3-.3H8.6V1.9z" fill="currentColor"></path>
</svg>
</button>
</form>
<form>
<div class="quick-shop-content rounded-global-small">
<div class="quick-shop-inner-content">
<spz-variants name="quick-shop-variant" id="quick-shop-variants" class="pointer-events-none" layout="container" template="quick-shop-variant-template" spz-if="${product_options && product_options.length > 0}" manual=""
@mouseout="${mouse_out_event}" interact="hover" interference="" ${mouse_over_event}=""></spz-variants>
<button class="relative mt-5 lg:mt-6 button-primary flex items-center justify-center body-plus-2 type-text-font-family rounded-btn quick-shop_atc_btn" type="button" role="addToCart" data-track="click" data-track-content="add_to_cart"
data-track-source="add_to_cart">
<span role="content">${statusLan}</span>
<spz-render id="quick-shop-btn-price" layout="container" template="quick-shop-button-price-template" manual=""></spz-render>
<div class="loading items-center justify-center absolute inset-0" role="loading" show="">
<div class="loading-bounce"></div>
</div>
</button>
</div>
</div>
</form>
<form>
<div class="quick-shop-content rounded-global-small">
<div class="quick-shop-inner-content">
<spz-variants name="quick-shop-variant" id="quick-shop-variants" class="pointer-events-none" layout="container" template="quick-shop-variant-template" spz-if="${product_options && product_options.length > 0}" manual=""
@mouseout="${mouse_out_event}" interact="hover" interference="" ${mouse_over_event}=""></spz-variants>
<button class="relative mt-5 lg:mt-6 button-primary flex items-center justify-center body-plus-2 type-text-font-family rounded-btn quick-shop_atc_btn" type="button" role="addToCart" data-track="click" data-track-content="add_to_cart"
data-track-source="add_to_cart">
<span role="content">${statusLan}</span>
<spz-render id="quick-shop-btn-price" layout="container" template="quick-shop-button-price-template" manual=""></spz-render>
<div class="loading items-center justify-center absolute inset-0" role="loading" show="">
<div class="loading-bounce"></div>
</div>
</button>
</div>
</div>
</form>
Text Content
${(function(){ const get_random_six_digits = () => { return Math.random().toString().slice(-6) }; const wholesale_enabled = false; const setting_product_image_display = "100%"; 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 = true && !!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.url : data.url; 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(); return ` ${ data.available ? `${ (+data.compare_at_price > +data.price) ? `Save ` : '' }` : "Sold out" } ${DATA.TITLE} ${ data.price_min != data.price_max ? `From ` : ` ` } +${data.remainInvisibleThumbCount} ` })()} 由 翻译强力驱动 English,Deutsch,Italiano,Français,Español,简体中文 Search * Log in * Create an account ${data.data && data.data.count} * Home * Pet toys * Pet care * Pet clothes * About 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: 46053979, title: "Home", url: "\/", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 46053981, title: "Pet toys", url: "\/collections\/pet-toys", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 46053983, title: "Pet care", url: "\/collections\/pet-care", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 46053985, title: "Pet clothes", url: "\/collections\/pet-clothes", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 46053987, title: "About Us", url: "\/pages\/about-us", target: "", levels: 0, product0: 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 * Pet toys * Pet care * Pet clothes * About 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: 46053979, title: "Home", url: "\/", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 46053981, title: "Pet toys", url: "\/collections\/pet-toys", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 46053983, title: "Pet care", url: "\/collections\/pet-care", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 46053985, title: "Pet clothes", url: "\/collections\/pet-clothes", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 46053987, title: "About Us", url: "\/pages\/about-us", target: "", levels: 0, product0: 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} ` })()} English,Deutsch,Italiano,Français,Español,简体中文 * Log in * Create an account ${data.data && data.data.count} Search * Home * Pet toys * Pet care * Pet clothes * About 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. ` })()} (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`); document.body.style.setProperty('--header-scroll-hide-height-md', `${headerEle.querySelector('.header__mobile .header__scroll_hide').clientHeight}px`); document.body.style.setProperty('--header-scroll-hide-height-pc', `${headerEle.querySelector('.header__desktop .header__scroll_hide').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(); })(); ${Array(data.total || 0).fill().map((val, idx) => idx).map((val, idx) => ` * `).join('')} * * ${function() { return ` ` }()} * PET CLOTHES Shop This * PET CARE Shop This * PET TOYS Shop This COME AND PICK YOUR FAVORITE PRODUCTS ANCHOR 10 IN 1 PET GROOMING HAMMOCK HARNESS WITH NAIL CLIPPERS/NAIL TRIMMERS/GROOMING SCISSORS/DOG BATH BRUSH, DOG GROOMING HARNESS FOR NAIL TRIMMING, PET GROOMING SLING HELPER (M/UNDER 45LB) $24.99 Save $15.91 Save $15.91 HOLYSTEED LATEX DOG SQUEAKY TOYS RUBBER SOFT DOG TOYS CHEWING SQUEAKY TOY FETCH PLAY BALLS TOY FOR PUPPY SMALL PETS DOG 6PCS $42.99 $58.90 Save $9.91 Save $9.91 DOG COSTUMES K9 CAT APPAREL SHIRTS FOR COSPLAY,BREATHABLE PET T-SHIRTS,SUMMER CLOTHES VEST FOR DOGS PUPPY BOY GIRL (X-LARGE) $59.99 $69.90 Save $4.56 Save $4.56 NVTED DOG SQUEAKY TOYS DOG CHEW TOY, AGGRESSIVE CHEWERS SQUEAKY BALLS THROWING RING PET PUPPY SAFETY TEETHING BALL TOYS NATURAL RUBBER SQUEAKY DOG TOY FOR LARGE DOGS $27.89 $32.45 Save $1.90 Save $1.90 BENTOPAL INTERACTIVE DOG TOY WICKED BALL FOR INDOOR CATS/DOGS WITH MOTION ACTIVATED/USB RECHARGEABLE $25.00 $26.90 Save $7.19 Save $7.19 CUTE DOG CLOTHES,DOG T SHIRT FOR MEDIUM DOGS.DOG CLOTHES FOR SMALL DOGS GIRL BOY,PUPPY.BREATHABLE SOFT DOG COSTUME PET DOGS CATS,PET PULLOVER JUMPER,CAT CLOTHES (M-(7~11LB),CHEST~16",RED,BEST FRIENDS) $45.80 $52.99 +1 Save $7.00 Save $7.00 M JJYPET DOG TOYS, DOG CHEW TOYS TEETHING TOYS FOR SMALL MEDIUM PUPPY, NO STUFFING AND STUFFING SQUEAKY TOYS,ROPE TOYS FOR PUPPY6PCS $25.99 $32.99 Save $15.00 Save $15.00 SCAREDY CUT SILENT PET GROOMING KIT FOR DOG, CAT AND ALL PET GROOMING - A QUIET ALTERNATIVE TO ELECTRIC CLIPPERS FOR SENSITIVE PETS (RIGHT-HANDED PINK) $34.95 $49.95 ANCHOR 10 IN 1 PET GROOMING HAMMOCK HARNESS WITH NAIL CLIPPERS/NAIL TRIMMERS/GROOMING SCISSORS/DOG BATH BRUSH, DOG GROOMING HARNESS FOR NAIL TRIMMING, PET GROOMING SLING HELPER (M/UNDER 45LB) $24.99 Save $15.91 Save $15.91 HOLYSTEED LATEX DOG SQUEAKY TOYS RUBBER SOFT DOG TOYS CHEWING SQUEAKY TOY FETCH PLAY BALLS TOY FOR PUPPY SMALL PETS DOG 6PCS $42.99 $58.90 Save $9.91 Save $9.91 DOG COSTUMES K9 CAT APPAREL SHIRTS FOR COSPLAY,BREATHABLE PET T-SHIRTS,SUMMER CLOTHES VEST FOR DOGS PUPPY BOY GIRL (X-LARGE) $59.99 $69.90 Save $4.56 Save $4.56 NVTED DOG SQUEAKY TOYS DOG CHEW TOY, AGGRESSIVE CHEWERS SQUEAKY BALLS THROWING RING PET PUPPY SAFETY TEETHING BALL TOYS NATURAL RUBBER SQUEAKY DOG TOY FOR LARGE DOGS $27.89 $32.45 ${function() { return ` ` }()} $34.95 SCAREDY CUT Silent Pet Grooming Kit for Dog, Cat and All Pet Grooming - A Quiet Alternative to Electric Clippers for Sensitive Pets (Right-Handed Pink) $34.95 $49.95 Save $15.00 $49.99 VCZONE Dog Toothbrush, 2 Finger Toothbrush Kit, Fully Cleaned 800+ Fine Soft Bristles, Dental Care, Easy Teeth Cleaning for Dogs, Puppies, Cats and Small Pets (Blue+Pink) $49.99 $89.99 Save $40.00 $159.00 PAWHAUS Dog Grooming Kit & Vacuum, Upgraded 5 in 1 Pet Grooming Tool with 3 Mode Powerful Suction, Rechargable Dog Clippers Trimmer, DeShedding Brush Hair Remover for Dogs Cats with 1.4L Dust Cup $159.00 $199.00 Save $40.00 $24.99 Anchor 10 in 1 Pet Grooming Hammock Harness with Nail Clippers/Nail Trimmers/Grooming Scissors/Dog Bath Brush, Dog Grooming Harness for Nail Trimming, Pet Grooming Sling Helper (M/Under 45lb) $24.99 Anchor 10 in 1 Pet Grooming Hammock Harness with Nail Clippers/Nail Trimmers/Grooming Scissors/Dog Bath Brush, Dog Grooming Harness for Nail Trimming, Pet Grooming Sling Helper (M/Under 45lb) $24.99 COUNTDOWN SALE 00 Days 00 Hours : 00 Minutes : 00 Seconds In order to give feedback to new and old users, our specially launches limited-time promotional products. View more THE BEST CARE FOR YOUR PET Pets are our second family members, choose better pet supplies for them, take care of their healthy growth and spend happy time with each other. Dress them up in nice little clothes, buy little toys and play with them happily in your spare time! Shop now Quick Links * Home * Pet toys * Pet care * Pet clothes * About Us Quick Links * Home * Pet toys * Pet care * Pet clothes * About Us Customer Service * Refund Policy * Privacy Policy * Terms of Service * Shipping Policy * Payment Policy Customer Service * Refund Policy * Privacy Policy * Terms of Service * Shipping Policy * Payment Policy Get in touch Email us Get in touch Email us We accept * PayPal * Visa We accept * PayPal * Visa © 2023 lastobit Refund Policy Privacy Policy Terms of Service Shipping Policy Payment Policy 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 { return ` ` } }()} ${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} 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 { return ` ` } }()} ${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} 111 GIFTS POINTS 原文 提供更好的翻译建议 --------------------------------------------------------------------------------