PrestaShop Catalogue Management

Automatic Default Tax Rule on Product Creation — PrestaShop 8 & 9

No more products created with “No tax”: your tax rule is applied automatically.

Every new product created in PrestaShop automatically inherits the tax rules group you chose, instead of staying on “No tax”. You pick the default tax rule in the module configuration and it is applied at creation time — including on the v2 product page — without you having to think about it. An “only fill when empty” mode makes sure an already chosen group is never overwritten.

At a glance
  • Automatically applies your tax rules group to every product created
  • Compatible with the new PrestaShop 8 v2 product page (ghost product included)
  • “Only fill when empty” mode to preserve manual choices
  • Targeted database write, multistore, no core override
  • Lightweight, no dependency, source code included
PrestaShop 8 & 9 Product page v2 Multistore Source code included
  • 30-day refund
  • 12 months updates
  • 24h support
www.datafirefly.com/en/
Règle de taxe par défaut automatique à la création produit — PrestaShop 8 & 9
v1.1.0 · updated 2026-07-10
What it does

The short version.

01

No more “No tax” by oversight

PrestaShop creates new products with no tax rule. The module applies your chosen tax rules group right at creation, so the tax-inclusive price is correct with no manual step.

02

Compatible with product page v2

The new product page creates an instant “ghost product” as soon as you click “New product”. The module hooks into the right event (actionObjectProductAddAfter) so the rule is set at that moment and shown in the Pricing tab.

03

You stay in control

The “Override existing value” option can be turned off: the module then only fills products without a tax rules group and never touches an existing choice.

04

Clean and safe

A targeted SQL write on the single id_tax_rules_group field (product and product_shop tables), without firing other hooks or overriding the PrestaShop core.

The long version

Everything you'd want to know before you install.

A detailed look at how Automatic Default Tax Rule on Product Creation — PrestaShop 8 & 9 works, why we built it the way we did, and the thinking behind the features above.

§ 01

Why this module

Since PrestaShop 1.7, a new product is created with no tax rule: the field stays on “No tax” until you change it manually. On an active catalog the oversight happens fast — and a product sold without VAT throws off your displayed prices and your accounting. This module restores a simple behaviour: every product created is given the tax rules group you defined.

§ 02

Built for the new product page

The PrestaShop 8 v2 product page creates a “ghost product” the moment you click “New product”, before you type anything. The module hooks into the generic event fired at that exact moment (actionObjectProductAddAfter), not the actionProductAdd hook which — despite its name — only fires on duplication. The tax rule is therefore set immediately and displays correctly in the Pricing tab.

§ 03

You stay in charge of your exceptions

An “Override existing value” switch lets you choose the behaviour. Enabled, it always enforces your default group at creation. Disabled, it only fills products that don't have a tax rule yet — handy when you duplicate already correctly configured products, or when some products must stay on “No tax”.

§ 04

Lightweight, no side effects

The module writes a single field, id_tax_rules_group, straight into the product and product_shop tables, taking the multistore context into account. No other data is touched, no heavy update hook fires on the draft, and the PrestaShop core is not overridden. The source code ships unencrypted and uninstall is clean.