12374 – Persian Nain – 13’7″ x 10’3″
← Back to Rugs

12374 – Persian Nain – 13’7″ x 10’3″

Persian Nain area rug measuring approximately 13’7″ x 10’3″.

This beautiful rug is traditionally woven in Iran and features an elegant traditional design. The detailed pattern adds classic character and timeless style, while the natural wool construction provides durability, warmth, and a soft feel underfoot. A versatile piece that works well in both traditional and transitional interiors.

jQuery(function ($) {function refreshCustomSizeState() { var isCustom = false;// Find the selected swatch for the size attribute var $selected = $('.swatch-control .select-option.swatch-wrapper.lakit-selected, \ .swatch-control .select-option.swatch-wrapper.selected').first();if ($selected.length) { var val = $selected.attr('data-hint') || $selected.attr('data-value') || $selected.text();if (val) { val = val.toString().toLowerCase().trim(); // Match either slug or label text containing 'custom size' if (val === 'custom-size' || val.indexOf('custom size') !== -1) { isCustom = true; } } }$('body').toggleClass('custom-size-active', isCustom); }// Run once on load refreshCustomSizeState();// When a swatch is clicked, the theme will add a "selected" class; then we update $(document).on('click', '.swatch-control .select-option.swatch-wrapper', function () { setTimeout(refreshCustomSizeState, 10); });// Safety: also react to WooCommerce variation events if they fire $('form.variations_form').on( 'woocommerce_variation_has_changed found_variation reset_data', function () { setTimeout(refreshCustomSizeState, 10); } ); });
jQuery(function($){// Hard-coded ranges according to square footage (can be changed later) const DELIVERY_CONFIG = [ { max: 20, text: "2–3 weeks" }, { max: 50, text: "3–4 weeks" }, { max: 100, text: "4–6 weeks" }, { max: 9999, text: "6–8 weeks" } ];// Approximate sq. ft. for fixed sizes const FIXED_SIZE_SQFT = { '2x3': 2 * 3, // 6 '4x6': 4 * 6, // 24 '5x8': 5 * 8 // 40 // add more if you introduce more sizes };function calcCustomSqft() { let lf = parseFloat($('#pr_length_ft').val()) || 0; let li = parseFloat($('#pr_length_in').val()) || 0; let wf = parseFloat($('#pr_width_ft').val()) || 0; let wi = parseFloat($('#pr_width_in').val()) || 0;let length = lf + (li / 12); let width = wf + (wi / 12);if (length <= 0 || width <= 0) { return 0; }return length * width; }function getSelectedSizeKey() { // Read the currently selected swatch (same logic as your custom-size script) const $selected = $('.swatch-control .select-option.swatch-wrapper.lakit-selected, ' + '.swatch-control .select-option.swatch-wrapper.selected').first();if (!$selected.length) { return null; }let val = $selected.attr('data-hint') || $selected.attr('data-value') || $selected.text();if (!val) return null;// normalize: lowercase, remove spaces val = val.toString().toLowerCase().replace(/\s+/g, '');// for safety, normalize "custom size" variants if (val === 'customsize' || val === 'custom-size') { return 'custom-size'; }return val; // "2x3", "4x6", "5x8", etc. }function chooseDeliveryWindow(sqft) { let deliveryText = 'N/A'; for (const rule of DELIVERY_CONFIG) { if (sqft <= rule.max) { deliveryText = rule.text; break; } } return deliveryText; }function updateDeliveryTime() { const $row = $('#pr-delivery-time'); if (!$row.length) return;const sizeKey = getSelectedSizeKey(); const isCustom = (sizeKey === 'custom-size');// No size selected at all yet → hide the row if (!sizeKey) { $row.hide(); return; }let sqft = 0;if (isCustom) { sqft = calcCustomSqft();if (sqft <= 0) { // Custom size selected but no valid dimensions yet $row.html( 'Delivery Time: ' + 'Enter size to calculate delivery time.' ).show(); return; } } else { // Fixed size: look up its predefined sq. ft. if (!FIXED_SIZE_SQFT[sizeKey]) { // Unknown size string → hide rather than show wrong info $row.hide(); return; } sqft = FIXED_SIZE_SQFT[sizeKey]; }const deliveryText = chooseDeliveryWindow(sqft);$row.html( 'Delivery Time: ' + '' + deliveryText + '' ).show(); }// Recalculate when the user edits custom size fields $(document).on( 'input change', '#pr_length_ft, #pr_length_in, #pr_width_ft, #pr_width_in', updateDeliveryTime );// When swatches change, the selected size changes $(document).on('click', '.swatch-control .select-option.swatch-wrapper', function () { setTimeout(updateDeliveryTime, 50); });$('form.variations_form').on( 'woocommerce_variation_has_changed found_variation reset_data', function () { setTimeout(updateDeliveryTime, 50); } );// Initial run on page load updateDeliveryTime();});

Price:

Price calculated after size selection.

Delivery Time:

[ti_wishlists_addtowishlist]
jQuery(function($){// When the bottom custom Add to Cart is clicked... $('.pr-bottom-add-to-cart').on('click', function(e){ e.preventDefault();// Find the variation form on the page var $form = $('form.variations_form.cart');if ( !$form.length ) { return; }// Trigger the "real" (hidden) Add to Cart button inside that form var $realButton = $form.find('.single_add_to_cart_button');if ( $realButton.length ) { $realButton.trigger('click'); } });});
SKU: 12374 Category: Tags: , ,