Catalogue conversion · EN PDF → Enterprise Commerce
Electrical Trade Discount-Code PDF to Magento 2 CSV, import-ready.
Extracts structured product rows from a Electrical Trade Discount-Code PDF (English (M&E & Electrical Wholesale)), normalises £42.00 List − 40% (Grp A) → £25.20 Net pricing and pack units, and writes an UTF-8 Magento 2 Product Import CSV formatted for Adobe Commerce / Magento 2 › System › Data Transfer › Import › Products.
- Source PDF
- Electrical Trade Discount-Code PDF
- Target schema
- Magento 2 Product Import CSV
- Delimiter & encoding
- Comma (,) · UTF-8
- Number rule
- £42.00 List − 40% (Grp A) → £25.20 Net
- Import path
- Adobe Commerce / Magento 2 › System › Data Transfer › Import › Products
Illustrative specimen · Sample values
Input PDF rows & resulting CSV output.
Below is an illustrative example using fictional supplier rows in English (M&E & Electrical Wholesale) format alongside the exact Magento 2 Product Import CSV header and data rows produced by the converter.
01 · Source PDF table excerpt
Solent Switchgear — Circuit Protection Trade Book
Discount check active (List × (1 − Disc%) = Unit Cost) · GBP
| MPN | Description | Manufacturer | Carton Qty | List Price | Trade Discount | Unit Cost | EAN Code |
|---|---|---|---|---|---|---|---|
| SSW-RCBO32B | 32A Type B 30mA Bidirectional Single-Module RCBO | VoltGuard | 10 | £42.00 | 40% | £25.20 | 5060981232105 |
| SSW-SPD2P | Type 2 Surge Protection Device Cartridge Kit | VoltGuard | 1 | £68.00 | 35% | £44.20 | 5060981232204 |
✓ 2/2 rows pass exact discount arithmetic (£42.00 − 40% = £25.20; £68.00 − 35% = £44.20)
02 · Generated Magento 2 CSV output (electrical-trade-discount-code-magento-2-catalog.csv)
Lowercase snake_case schema (sku, product_type, attribute_set_code); child simple rows precede the configurable parent row linking configurable_variations.
sku,attribute_set_code,product_type,categories,name,price,cost,msrp,weight,additional_attributes
SSW-RCBO32B,Default,simple,Default Category/Circuit Protection,32A Type B 30mA Bidirectional Single-Module RCBO,42.00,25.20,50.40,0.195,"ean=5060981232105,pack_size=10"
SSW-SPD2P,Default,simple,Default Category/Circuit Protection,Type 2 Surge Protection Device Cartridge Kit,68.00,44.20,81.60,0.26,"ean=5060981232204,pack_size=1"Field-by-field contract · 7 mapped columns
Source-to-target field mapping table.
Computed mapping from Electrical Trade Discount-Code PDF headers (MPN, Description, Manufacturer, Carton Qty, List Price) onto Magento 2 Product Import CSV headings.
| Source PDF header | Canonical schema field | Magento 2 CSV column | Status | Normalisation & transformation rule |
|---|---|---|---|---|
| MPN | sku | sku | Required | Trimmed <= 64 chars; child simple rows emitted before configurable parent |
| Description | description | name | Required | Paired with attribute_set_code = Default and product_online = 0 |
| List Price | rrp | msrp | Optional | Strip '£' & ',' thousands; keep exact 2-decimal minor units; price populated from ex-tax sell price |
| Unit Cost | unitPrice | cost | Optional | Strip '£' & ',' thousands; keep exact 2-decimal minor units |
| Weight g | weight | weight | Optional | Converted to decimal kg (0.54) |
| EAN Code | barcode | additional_attributes | Optional | Encoded as ean=506098...,pack_qty=6 key-value pairs |
| Manufacturer | brand | categories | Optional | Prefixed with Default Category/ path delimiter |
Document layout behaviour · Electrical Trade Discount-Code PDF
Electrical and HVAC manufacturer trade book printing gross list price, trade discount percentage/group code, and net installer cost.
Deterministic verification
Arithmetic & importer validation checks.
AI assists only with messy layout recovery when needed; every numeric cell, line total, tax band and CSV column rule is verified by deterministic code before export.
English (M&E & Electrical Wholesale) header matching & decimal normalisation
Maps raw PDF column tokens ("MPN", "Description", "Manufacturer", "Carton Qty") onto canonical schema fields via multilingual synonym lookup plus fuzzy token similarity, stripping '£' and ',' thousand groups without floating-point rounding.
Unit-cost derivation, margin bounds & GS1 check-digit audit
Penny-exact discount verification checks round(listPrice × (1 − disc% / 100)) = unitCost on every row (£42.00 × 0.60 = £25.20).
Weighted extraction confidence gate before export
Reads embedded PDF vector text coordinates first; invokes page-image OCR only on scanned or garbled pages, and flags any row whose column-edge alignment or numeric parse rate drops below threshold.
Magento 2 CSV importer rejection guard (comma (,), UTF-8)
Magento 2 halts validation if attribute_set_code (e.g. Default) is missing, if sku exceeds 64 chars, or if configurable parent rows appear above their child simple SKUs.
Scope & boundaries
Operational limits & technical questions.
Plain statement of what this conversion checks and produces, alongside common importer questions.
What this conversion does not do
- Does not push records directly into your live Magento 2 CSV account over API — you receive the import-ready CSV file and validation workbook to review and upload via Adobe Commerce / Magento 2 › System › Data Transfer › Import › Products.
- Handwritten margin annotations, faded carbon-copy scans below 150 DPI, or password-locked PDFs that forbid text and image rendering cannot be verified deterministically and are flagged rather than guessed.
- Product photography embedded inside the Electrical Discount-Code Tariff PDF is not hosted on an external CDN; image URL columns remain blank so existing store imagery is not overwritten on merge.
- Imported products default to draft / unpublished status where Magento 2 CSV supports staging, so your merchandising team confirms retail markups and tax classes before going live.
How are Electrical Discount-Code Tariff column headers mapped to Magento 2 CSV?
What happens if a row on my Electrical Discount-Code Tariff PDF fails the arithmetic or format check?
Does the free preview run on my actual Electrical Discount-Code Tariff PDF?
Which files are included alongside the Magento 2 CSV export?
Connected specifications
Related PDF & importer conversions.
Explore alternative target CSV schemas for this PDF format, or other supplier documents that map into the same importer.
Same PDF source → Other importers
Other targets for Electrical Trade Discount-Code PDF
Other PDF sources → Magento 2 CSV
Other documents mapping to Magento 2 Product Import CSV
Ready in under 5 minutes
Run a free preview on your PDF.
Inspect mapped Magento 2 CSV columns and row-level arithmetic checks on your own Electrical Trade Discount-Code PDF before paying the fixed £30 one-off fee.