/** * Simple Custom Post Order — optional "Order" column. * * Type an absolute position into a row's Order field and press Enter (or blur); * the item jumps to that position across the whole list, regardless of which * paginated page you're on. Posts same-origin to the reorder endpoint. * * Enabled by the "Order column" setting (off by default). * * Error handling mirrors the drag-and-drop sorter (scporder-sortablejs.js): * tolerate stray output from other plugins, transparently refresh an expired * nonce and retry, retry once on a network blip, and report the server's own * message instead of one generic string for every failure. Before 2.8.6 this * script did none of that — a long-open list screen, a PHP notice printed by * another plugin, or a permissions problem all surfaced as the same * "Couldn't update the order" alert with no way to tell them apart. */ ( function () { 'use strict'; var vars = window.scpoOrderCol; if ( ! vars ) { return; } // Always resolve to the current page's origin (proxies / ports / https). function endpoint() { try { var u = new URL( vars.ajax_url, window.location.href ); u.protocol = window.location.protocol; u.host = window.location.host; return u.toString(); } catch ( e ) { return vars.ajax_url; } } function post( body ) { return fetch( endpoint(), { method: 'POST', credentials: 'same-origin', headers: { 'Content-Type': 'application/x-www-form-urlencoded' }, body: body, } ); } /** * Fetch a fresh reorder nonce so this save (and later ones) use a valid one. * The endpoint is authenticated and deliberately nonce-less — a stale nonce * is the very reason we're calling it. */ function refreshNonce( done ) { post( 'action=scpo_refresh_nonce' ) .then( function ( res ) { return res.ok ? res.json() : null; } ) .then( function ( json ) { if ( json && json.success && json.data && json.data.nonce ) { vars.nonce = json.data.nonce; done( true ); } else { done( false ); } } ) .catch( function () { done( false ); } ); } function fail( input, message ) { input.classList.remove( 'is-saving' ); window.alert( message || vars.error ); } function commit( input, opts ) { var id = input.getAttribute( 'data-id' ); var pos = parseInt( input.value, 10 ); if ( ! id || ! pos || pos < 1 ) { return; } opts = opts || { netRetries: 1, nonceRefreshed: false }; input.classList.add( 'is-saving' ); var body = new URLSearchParams(); body.set( 'action', 'scpo_set_position' ); body.set( 'id', id ); body.set( 'position', pos ); body.set( 'nonce', vars.nonce ); post( body.toString() ) .then( function ( res ) { return res.text().then( function ( text ) { var json = null; try { json = JSON.parse( text ); } catch ( e ) {} // tolerate stray output from other plugins // A plugin printing a notice before the JSON used to make this // look like a failure even though the order had been saved. // Recover the payload from anywhere in the body. if ( ! json ) { var brace = text.indexOf( '{' ); if ( brace > -1 ) { try { json = JSON.parse( text.slice( brace ) ); } catch ( e2 ) {} } } return { ok: !! ( json && json.success ), // admin-ajax answers "-1" when the nonce is stale/invalid. staleNonce: text.trim() === '-1' || text.slice( -2 ).trim() === '-1', message: json && json.data && json.data.message ? json.data.message : '', }; } ); } ) .then( function ( r ) { if ( r.ok ) { // Reload so every row's number + pagination reflect the new order. window.location.reload(); return; } // Expired nonce (long-open screen / short nonce_life): fetch a fresh // one and retry the save exactly once — invisible to the user. if ( r.staleNonce && ! opts.nonceRefreshed ) { refreshNonce( function ( refreshed ) { if ( refreshed ) { commit( input, { netRetries: 1, nonceRefreshed: true } ); } else { fail( input, vars.expired ); } } ); return; } if ( r.staleNonce ) { fail( input, vars.expired ); return; } // Genuine rejection — show what the server actually said // ("Permission denied.", "Invalid item.") rather than a generic string. fail( input, r.message ); } ) .catch( function () { // Transient/network error (offline, blip): retry once, then give up. if ( opts.netRetries > 0 ) { setTimeout( function () { commit( input, { netRetries: opts.netRetries - 1, nonceRefreshed: opts.nonceRefreshed, } ); }, 800 ); return; } fail( input, vars.network ); } ); } // `change` covers blur and Enter on number inputs. document.addEventListener( 'change', function ( e ) { var input = e.target; if ( input && input.classList && input.classList.contains( 'scpo-order-input' ) ) { commit( input ); } } ); // Enter shouldn't submit any surrounding form; commit instead. document.addEventListener( 'keydown', function ( e ) { var input = e.target; if ( e.key === 'Enter' && input && input.classList && input.classList.contains( 'scpo-order-input' ) ) { e.preventDefault(); commit( input ); } } ); } )(); Pak knitloom Industries

2010 Awwards Winning

PAK Knitloom industries

Pak Knitloom Industries is a dedicated manufacturer specializing in home textiles with a core focus on towels, along with a strong presence in knitted garments manufacturing. Established in 2010, we bring deep industry knowledge and modern production capabilities to deliver products that reflect comfort, durability, and consistent quality. From yarn material selection to finishing, every stage of our manufacturing process is carefully controlled to meet international standards. Our commitment to precision, timely execution, and customer satisfaction enables us to serve global buyers with confidence and reliability.

About Us

About Pak Knitloom Industries

Pak Knitloom Industries is a dedicated manufacturer specializing in home textiles with a core focus on towels, along with a strong presence in knitted garments manufacturing. Established in 2010, we bring deep industry knowledge and modern production capabilities to deliver products that reflect comfort, durability, and consistent quality. From yarn material selection to finishing, every stage of our manufacturing process is carefully controlled to meet international standards. Our commitment to precision, timely execution, and customer satisfaction enables us to serve global buyers with confidence and reliability.

Our Vision

Our vision is to position Pak Knitloom Industries as a partner of choice in home textiles and knitted garments manufacturing. We aim to offer responsibly produced, multi-category products supported by exceptional customer service. By empowering our people, embracing digital transformation, and maintaining an agile, forward-looking mindset, we continuously evolve to meet the changing needs of the global textile industry.

Experience
0 +

Explore Our Purpose

The purpose of Pak Knitloom Industries is to manufacture high-quality towels and knitted garments that enhance our customers’ brands while fostering long-term partnerships built on trust and performance. We are driven by craftsmanship, innovation, and responsible practices, ensuring every product meets market expectations and client-specific requirements. Our goal is to provide dependable manufacturing solutions that support our partners’ success in competitive global markets.

Our Services

We specialize in the manufacturing of high-quality towels for residential, hospitality, and institutional use. Our towel production covers a wide range of options including different yarn counts, weights, textures, and finishes. From bath towels to hand and face towels, we ensure superior absorbency, softness, durability, and color fastness, tailored to buyer specifications and market requirements.

Towel Manufacturing

We specialize in the manufacturing of high-quality towels for residential, hospitality, and institutional use. Our towel production covers a wide range of options including different yarn counts, weights, textures, and finishes. From bath towels to hand and face towels, we ensure superior absorbency, softness, durability, and color fastness, tailored to buyer specifications and market requirements.

Knitted Garments Manufacturing

Our knitted garments division offers comprehensive production solutions for a variety of knitwear products. With in-house capabilities and experienced production teams, we manufacture garments that deliver comfort, fit, and long-lasting performance. Our focus remains on consistent quality, efficient production flow, and adherence to international sizing and workmanship standards.

Customized Product Development

We work closely with our customers to develop customized products based on design, fabric, GSM, color, and finishing requirements. Our product development team supports clients from concept to final approval, ensuring samples and bulk production align precisely with brand expectations and end-user needs.

Certifications & Compliance

At Pak Knitloom Industries, quality and responsibility go hand in hand with compliance. We are a professionally certified manufacturer, committed to meeting internationally recognized standards for product safety, ethical practices, and social responsibility.

OEKO-TEX® Certified Manufacturing

Pak Knitloom Industries holds OEKO-TEX® certification, ensuring that our textile products are tested and verified to be free from harmful substances. This certification reflects our commitment to producing safe, skin-friendly, and environmentally responsible towels and knitted garments, suitable for global retail and consumer markets.

BSCI Compliant Factory

Our manufacturing facility is BSCI compliant, demonstrating our adherence to ethical labor practices, safe working conditions, and social responsibility standards. We actively maintain transparent processes that protect workers’ rights and promote a responsible and sustainable workplace.

Our Products

At Pak Knitloom Industries, we manufacture a focused range of home textile towels and knitted garments, developed to meet international quality, comfort, and durability standards. Our products are designed for residential, hospitality, and retail markets, with flexibility to customize according to customer requirements.

Product Range:

Key Features:

Research & Development

Research and development at Pak Knitloom Industries focuses on fabric innovation, performance enhancement, and process improvement. Our R&D initiatives explore new materials, finishes, and production techniques to ensure our towels and knitted garments remain competitive, functional, and aligned with global trends and customer demands.

Our Testimonials

What Client Say

Pak Knitloom Industries delivered excellent quality towels with consistent finishing and timely shipment. A reliable manufacturing partner.

Fara Ninie Designation

Professional team, clear communication, and dependable production. The knitted garments met our quality and sizing expectations.

Emma Amieda Designation

Strong attention to detail, good fabric quality, and smooth coordination throughout the production process. Highly recommended.

Alfredo Designation

Reliable manufacturing standards, ethical practices, and consistent results. We are satisfied with the quality and service provided.

Ayesha Akram Designation