4 dimensions, fully extensible via JSON config files. No code changes needed to add products, countries, methods, or payment options.
Matrix resolution flow:
1. SKU โ Category (auto-detect or SKU list) 2. Category โ Available methods (e.g. hazmat excludes USPS) 3. Country + Method โ Price (default or country override) 4. Country โ Available payment methods 5. Country โ Currency, duties, holidays, notes
Which shipping methods are available for which product type.
| Product Category | ๐ฎ USPS First Class | ๐ฎ USPS Priority | โ๏ธ DHL Express | โ๏ธ DHL / FedEx | ๐ซ Air Freight | ๐ข Sea Freight | โ ๏ธ Hazmat Specialized Courier | ๐ LTL Freight | ๐ช Local Pickup (Yiwu) |
|---|---|---|---|---|---|---|---|---|---|
| ๐ฆ Standard Products Regular industrial parts, no special handling |
โ | โ | โ | โ | โ | โ | โ | โ | โ |
| โ ๏ธ Hazardous Materials Batteries, chemicals, magnets - requires special declaration |
โ | โ | โ | โ | โ | โ | โ | โ | โ |
| ๐ Oversized Items Large dimensions or weight, requires freight |
โ | โ | โ | โ | โ | โ | โ | โ | โ |
| ๐ Fragile Items Glass, ceramic, precision instruments |
โ | โ | โ | โ | โ | โ | โ | โ | โ |
| ๐ก๏ธ Temperature Sensitive Adhesives, sealants, lubricants |
โ | โ | โ | โ | โ | โ | โ | โ | โ |
How much shipping costs for each country ร method combination. default = no country-specific override.
| Country | ๐ฎ USPS First Class | ๐ฎ USPS Priority | โ๏ธ DHL Express | โ๏ธ DHL / FedEx | ๐ซ Air Freight | ๐ข Sea Freight | โ ๏ธ Hazmat Specialized Courier | ๐ LTL Freight | ๐ช Local Pickup (Yiwu) |
|---|---|---|---|---|---|---|---|---|---|
| AU | default $$5.0 | default $$10.0 | default $$15.0 / $25.0 | default $$40.0 | default $$60.0 / $100.0 | default $$? | N/A | N/A | default $$0.0 |
| BR | default $$5.0 | default $$10.0 | $25.0 / $45.0 / $75.0 | default $$40.0 | $150.0 | default $$? | N/A | N/A | default $$0.0 |
| CA | default $$5.0 | default $$10.0 | default $$15.0 / $25.0 | default $$40.0 | default $$60.0 / $100.0 | default $$? | N/A | N/A | default $$0.0 |
| CN | default $$5.0 | default $$10.0 | default $$15.0 / $25.0 | default $$40.0 | default $$60.0 / $100.0 | default $$? | N/A | N/A | default $$0.0 |
| DE | default $$5.0 | default $$10.0 | $14.0 / $24.0 / $38.0 | default $$40.0 | default $$60.0 / $100.0 | default $$? | N/A | N/A | default $$0.0 |
| GB | default $$5.0 | default $$10.0 | $12.0 / $22.0 | default $$40.0 | default $$60.0 / $100.0 | default $$? | N/A | N/A | default $$0.0 |
| IN | default $$5.0 | default $$10.0 | default $$15.0 / $25.0 | default $$40.0 | default $$60.0 / $100.0 | default $$? | N/A | N/A | default $$0.0 |
| JP | default $$5.0 | default $$10.0 | default $$15.0 / $25.0 | default $$40.0 | default $$60.0 / $100.0 | default $$? | N/A | N/A | default $$0.0 |
| MX | default $$5.0 | default $$10.0 | default $$15.0 / $25.0 | default $$40.0 | default $$60.0 / $100.0 | default $$? | N/A | N/A | default $$0.0 |
| RU | default $$5.0 | default $$10.0 | Limited service - prefer air freight | default $$40.0 | $80.0 / $150.0 | default $$? | N/A | N/A | default $$0.0 |
| US | default $$5.0 | default $$10.0 | default $$15.0 / $25.0 | default $$40.0 | default $$60.0 / $100.0 | default $$? | N/A | N/A | default $$0.0 |
Which payment methods are accepted in which country. ORANGE = default for that country.
| Country | ๐ฆ T/T (Wire Transfer) | ๐
ฟ๏ธ PayPal | ๐ณ Credit Card (Stripe) | ๐ธ Western Union | ๐ ๆฏไปๅฎ | ๐ฌ ๅพฎไฟกๆฏไป | ๐ Wise |
|---|---|---|---|---|---|---|---|
| AU stripe | โ | โ | โ | โ | โ | โ | โ |
| BR tt Stripe not available for BR. T/T or WU preferred. | โ | โ | โ | โ | โ | โ | โ |
| CA stripe | โ | โ | โ | โ | โ | โ | โ |
| CN alipay ๅฝๅ ็จๆฏไปๅฎ/ๅพฎไฟกใ่ทจๅข็จ T/Tใ | โ | โ | โ | โ | โ | โ | โ |
| DE stripe SEPA via Wise cost-effective for large orders. | โ | โ | โ | โ | โ | โ | โ |
| GB stripe | โ | โ | โ | โ | โ | โ | โ |
| IN tt For >$5000, T/T preferred due to Stripe limits. | โ | โ | โ | โ | โ | โ | โ |
| IR Cannot accept payment - sanctions. | โ | โ | โ | โ | โ | โ | โ |
| JP stripe | โ | โ | โ | โ | โ | โ | โ |
| KP Cannot accept payment - sanctions. | โ | โ | โ | โ | โ | โ | โ |
| MX tt Western Union for cash payment if needed. | โ | โ | โ | โ | โ | โ | โ |
| RU tt PayPal/Stripe NOT available. Western Union popular. | โ | โ | โ | โ | โ | โ | โ |
| US stripe Credit card via Stripe is most popular. | โ | โ | โ | โ | โ | โ | โ |
| Country | Currency | Duties | Holidays |
|---|---|---|---|
| AU | AUD | GST 10% included (DDP) | Dec 25-26, Jan 1 |
| BR | BRL | ICMS 18% included (DDP) | Dec 25, Jan 1, Feb 25 |
| CA | CAD | GST/HST 5-15% included (DDP) | Dec 25, Jan 1 |
| CN | CNY | ๅฝๅ - ๆ ๅ ณ็จ | ๆฅ่, ๅไธ |
| DE | EUR | VAT 19% included (DDP) | Dec 25-26, Jan 1 |
| GB | GBP | VAT 20% included (DDP) | Dec 25-26, Jan 1 |
| IN | INR | GST 18% included (DDP) | Oct 2, Dec 25 |
| JP | JPY | ๆถ่ฒป็จ 10% included (DDP) | Dec 29 - Jan 3 |
| MX | MXN | IVA 16% included (DDP) | Dec 25, Jan 1 |
| RU | RUB | VAT 20% included (DDP) | Jan 1-8 |
| US | USD | DDP โ no extra at delivery | Nov 28, Dec 25, Jan 1 |
YAML = human-editable source of truth. JSON = machine-readable runtime. Keep them in sync (or use only JSON).
product_categories.json, add SKU + category. Done.notes.json + by_country.json + rates.json. Done.methods.json + rates.json. Done.payment/methods.json + by_country.json. Done.rates.json. Done.rates.json: "XX": {"all_methods_disabled": true, "note": "..."}. Done.