'; $('.allcolor-wrapper').html(colorsSwatchHtml); $('.select-wrapper').html(colorDropdownHtml); changeColor(); /** * Looping the available sizes to build the table header row. */ var sizeHeader = '
'; /** * Price render if the user is logged in */ var sizes = globalData.all_sizes; if (globalData.is_user_logged_in > 0) { console.log('came to price render '); var priceData = globalData.custom_price_data; var tierPriceData = globalData.tier_price_data; jQuery.each(sizes, function(size, sortOrder){ var sizeData = getSelectedColorData[size]; if (sizeData == undefined) { gridHtml += '
'; } else { console.log(sizeData); var productPrice = priceData[sizeData.sku]; if (productPrice == undefined) { //If the Deal price is not available, look for tier price by group //console.log(sizeData); productPrice = tierPriceData[sizeData.sku]; } if (productPrice == undefined) { //If the deal price and tier price are not there, normal price productPrice = sizeData.price; } gridHtml += '
$'+productPrice; gridHtml += '
'; } }); } /** * Inventory Render and loop by available warehouses */ if (globalData.hasOwnProperty('available_warehouses_by_color') && globalData.available_warehouses_by_color.hasOwnProperty((selectedColor))) { var availableWarehouses = globalData.available_warehouses_by_color[selectedColor]; var allSources = globalData.all_source_details; globalAddToCartStatus = false; var orangeStatus = false; jQuery.each(allSources, function(sourceCode,SourceName){ if (!availableWarehouses.hasOwnProperty(sourceCode)) { delete allSources[sourceCode]; } }); jQuery.each(allSources, function(sourceCode,source){ if (globalData.logged == true && globalData.customer_email!='' && jQuery.inArray(globalData.customer_email, globalData.limit_emails)!= -1 && jQuery.inArray(source.source_description, globalData.limit_warehouses)!= -1) { delete allSources[sourceCode]; // return false; } }); var notLoggedIn = ''; if (globalData.is_user_logged_in <= 0) { notLoggedIn = 'notloginQty'; } var WarehouseDropdownHtml = ''; // var orangeStatus = ''; jQuery.each(allSources, function(sourceCode,source){ /** * Here we have added the logic to hide the warehouse, w.r.t the store configuration mentioned restrict Sku * */ let hidewarehouseSKus = allSources[sourceCode]['hidewarehouse_skus']; if(hidewarehouseSKus.length > 0 && jQuery.inArray(globalData['parent_sku'], hidewarehouseSKus) !== -1) { return; } gridHtml += '
'; var wHAddtoCartStatus = false; var productId = ''; //Loop Each size and get Inventory jQuery.each(sizes, function(size, sortOrder) { var sizeData = getSelectedColorData[size] if (sizeData == undefined) { //gridHtml += '
'; gridHtml += '
'; } else { productId = sizeData.entity_id; var priceData = globalData.custom_price_data; var tierPriceData = globalData.tier_price_data; var productMobilePrice = priceData[sizeData.sku]; if (productMobilePrice == undefined) { //If the Deal price is not available, look for tier price by group //console.log(sizeData); productMobilePrice = tierPriceData[sizeData.sku]; } if (productMobilePrice == undefined) { //If the deal price and tier price are not there, normal price productMobilePrice = sizeData.price; } console.log('size data from inventory loop') if (globalData.is_user_logged_in > 0) { gridHtml += '
'; if (sizeData.hasOwnProperty('quantity_per_source') && sizeData.quantity_per_source.hasOwnProperty(sourceCode) && sizeData.quantity_per_source[sourceCode] > 0) { var QtyLabel = sizeData.quantity_per_source[sourceCode]; if (QtyLabel >= 500) QtyLabel = '500+'; gridHtml += '
'; } } }); /** * Display the Addtocart button if the user is logged in and any of the size has inventory */ if (globalData.is_user_logged_in > 0 && wHAddtoCartStatus) { gridHtml += '
'; gridHtml += '
'; } else { gridHtml += '
'; } /** * Build the warehouse dropdown html */ WarehouseDropdownHtml += ''; }); } else { var sizesLength = Object.keys(globalData.all_sizes).length + 2; globalAddToCartStatus = false; gridHtml += '
No warehouses has been available for the selected color
'; } console.log(noOfColors); if (noOfColors == 'single_color') { jQuery('table#super-product-table tbody').remove(); jQuery('table#super-product-table thead').after(gridHtml); jQuery('#color_option').find('option[value="'+selectedColor+'"]').attr("selected", "selected"); jQuery('#color_option').val(selectedColor); } else if(noOfColors == 'all_color') { var tbody = jQuery('table#super-product-table').find('tbody'); if (tbody.length == 0) { jQuery('table#super-product-table thead').after(gridHtml); } else { jQuery('table#super-product-table tbody:last-child').after(gridHtml); } } jQuery('#wh_store').html(WarehouseDropdownHtml); changeWarehouse(); /** * Update the Image based on the selection **/ if (globalData.image_urls.hasOwnProperty(selectedColor)) { var SimpleProdImage = globalData.image_urls[selectedColor]; jQuery(".fotorama__active").attr('href',SimpleProdImage); jQuery(".fotorama__active").html(''); } //Sticky issue /*setTimeout(function() { if (jQuery("#super-product-table").length && jQuery("#super-product-table").height() > 250) { jQuery("#super-product-table").stickyTableHeaders(); } },1000);*/ /** * Adding the Global Addto Cart button */ console.log('globalAddToCartStatus == '+globalAddToCartStatus); console.log('= sttus 2' + jQuery('div#global-box-tocart').length); if (globalAddToCartStatus == true && jQuery('div#global-box-tocart').length == 0) { var globalAddToCartHtml = '
'; globalAddToCartHtml += '
'; jQuery('#product_addtocart_form').append(globalAddToCartHtml); } else { //console.log('Came to else == '+globalAddToCartStatus); jQuery('.box-tocart').remove(); } } function hideLoader() { if (jQuery('.loading-mask').length) { jQuery('.loading-mask').hide(); } else { console.log('hide loader called and no loading div active') } }
Skip to the end of the images gallery
Skip to the beginning of the images gallery
Description
100% combed ringspun cotton fine jersey, 4.5 oz.
White is sewn with 100% cotton thread
Topstitched ribbed collar
Self-fabric back neck tape
Double needle sleeves and bottom hem
Ruched side detail
Side seam construction
EasyTear™ label
Fit:Ladies' Maternity
Sizes: S, M, L, XL, 2XL 3XL
ALL INVENTORY QUANTITIES IN ORANGE ARE NON-RETURNABLE. ALL SALES ARE FINAL.
I am an expert and enthusiast based assistant. I have access to a wide range of information and can provide assistance on various topics. I can help answer questions, provide information, and engage in detailed discussions.
Regarding the concepts used in the provided article, let's break them down:
Add to Wish List
The "Add to Wish List" feature allows users to save products they are interested in for future reference. It is commonly found on e-commerce websites and provides a convenient way for users to keep track of items they want to purchase later.
colorsSwatchHtml
colorsSwatchHtml appears to be a variable used in the code snippet provided. It seems to be related to generating HTML code for displaying color swatches and options for a product. The code likely dynamically generates the HTML based on the available colors for the product.
100% combed ringspun cotton fine jersey
This phrase describes the fabric composition of a product. It indicates that the fabric is made of 100% combed ringspun cotton fine jersey. Combed ringspun cotton is a type of cotton that has been combed to remove impurities and create a smoother, finer yarn. Fine jersey refers to a lightweight, smooth fabric typically used for t-shirts or other garments.
Ladies' Maternity Sizes: S, M, L, XL, 2XL, 3XL
This indicates the available sizes for a product specifically designed for maternity wear. The sizes range from S (small) to 3XL (triple extra large) and are intended to accommodate the changing body shape during pregnancy.
ALL INVENTORY QUANTITIES IN ORANGE ARE NON-RETURNABLE. ALL SALES ARE FINAL.
This statement suggests that for items with inventory quantities displayed in orange, they are non-returnable, and all sales are final. This may be a policy specific to the website or retailer mentioned in the article.
Please note that the information provided above is based on the context and understanding of the concepts mentioned. If you need more specific information or have any further questions, feel free to ask!
Introduction: My name is Barbera Armstrong, I am a lovely, delightful, cooperative, funny, enchanting, vivacious, tender person who loves writing and wants to share my knowledge and understanding with you.
We notice you're using an ad blocker
Without advertising income, we can't keep making this site awesome for you.