Price with VAT was showing the same value as price without VAT because id_tax_rules_group was hardcoded to 1 (no-tax group in this PS instance). Now reads tva_tx from Dolibarr product, resolves the PS tax rule group via a configurable map (integration.prestashop.tax-rule-groups), and sets the correct group in the product XML. Defaults to default-tax-rules-group-id when no mapping is found. ES groups configured: 21% → 53, 10% → 54, 4% → 55. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| .mvn/wrapper | ||
| src | ||
| .gitattributes | ||
| .gitignore | ||
| .mise.toml | ||
| mvnw | ||
| mvnw.cmd | ||
| pom.xml | ||