
FMT Tarnów - Dedicated B2B/B2C online store for spare parts and ERP system integration
A dedicated B2B/B2C spare parts store for Fabryka Maszyn Tarnów, implemented directly on a proprietary PHP engine. We combined industrial order management with automatic GUS/VIES verification, integration with the company's ERP, and a flexible RFQ quotation process and invoices with deferred payment terms.
- CRM
- FMT Tarnów Client
- 2026 Year
- Tarnów Location
Case study
Problem
Standard e-commerce platforms (e.g., WooCommerce or Shopify) are not adapted to the specifics of the heavy machinery industry. Fabryka Maszyn Tarnów needed a system integrated directly into the corporate website, combining traditional retail sales with B2B processes: Request for Quote (RFQ) inquiries, credit limits, deferred payment invoices, and strict synchronization with the ERP system.
Solution
We built a dedicated e-commerce module directly into the site's proprietary PHP engine (kamp_fmtcore), eliminating the overhead of external frameworks. We implemented a secure API bridge with the company's ERP system, automatic tax ID (NIP) verification in the GUS/VIES databases, flexible credit limits, a quote request process, and a B2B panel with automated accounting and shipping document generation.
Result
A stable, ultra-fast B2B/B2C platform has been launched at fmt-tarnow.pl/sklep/. The store has automated the processing of spare parts orders for lathes and grinders, reduced the quotation time for industrial inquiries, and ensured full control over financial liquidity as well as domestic and international logistics.
The spare parts store of the Tarnów Machine Factory (fmt-tarnow.pl/sklep) is not a classical e-commerce cart of the "add to cart and pay by card" type. It is a dedicated platform designed for the realities of B2B/B2C industrial trade: from precise calculation of buyer limits, through Request for Quote (RFQ) processes, to automatic document generation and consistency with the manufacturer's website.
Native PHP Architecture and ERP Integration
Instead of implementing burdensome external systems, the store was built as a native module based on a dedicated PHP engine (kamp_fmtcore). This guarantees a unified environment for content, SEO, communication, and the database, with full optimization for LiteSpeed servers.
- ERP System Integration: Two-way synchronization via a dedicated API and reservation queue, responsible for updating product cards, stock levels, and contractor data.
- Automatic B2B Verification: Instant checking of Tax ID/NIP numbers in the GUS BIR1.1 (Poland) and VIES (European Union) databases during company account registration.
- Two Sales Modes: Instant payment (bank transfer, Tpay, PayU, P24, Stripe) or RFQ quote mode (cart → sales representative quote → customer acceptance → payment or deferred-payment invoice).
Purchasing Processes and Customer Zone
The platform has been fully adapted to the purchasing requirements of maintenance departments and industrial partners:
- Financing and Limits: Automatic granting of a default credit limit (e.g., 5000 PLN with a 7-day term) for verified companies, with checkout blocking in case of exposure exceedance.
- Logistics and Documentation: Modular courier handling (InPost, DPD, DHL, GLS, UPS, FedEx, Orlen Paczka, Raben/LTL) with automatic generation of waybills and VAT invoice preview in the customer zone.
- Security and Performance: Proprietary administration panel based on the Tabler library, two-factor authentication support (2FA/WebAuthn), argon2id encryption, and Silent Security / IP jail protection system.
The FMT Tarnów store is proof that industrial e-commerce can combine advanced B2B logic with lightning-fast operation and seamless integration with the manufacturer's ERP backend.
Scope
- Architecture of a dedicated B2B/B2C store module integrated with the proprietary website CMS engine (kamp_fmtcore, PHP 8.2+)
- Design and implementation of a dual-track procurement processinstant payment and Request for Quote (RFQ) mode
- Automation of B2B contractor verification (GUS BIR1.1 and EU VIES) with a configurable credit limit and deferred payment
- Bidirectional synchronization of cards, inventory levels, and contractors with the company's ERP system via a dedicated API
- Building an advanced trading panel with assortment management, promotions, and sales reports
- Implementation of the client zone with documentation support (PDF summaries, VAT invoices, waybills) and the RMA complaint module
- Logistics automation with carrier switches (InPost, DPD, DHL, GLS, UPS, FedEx, Orlen Paczka, Raben) and payment gateways (Tpay, PayU, P24, Stripe)
- Performance optimization on a LiteSpeed server (home.pl) with Silent Security architecture, PSR-4 and full i18n (PL/EN)