Hook points

Hooks

HookRole
actionValidateCustomerAddressFormServer-side address check: company, required number, format, VIES, countries reserved for businesses.
actionFrontControllerSetMediaMessages and settings for the browser, loads views/js/front.js.
actionTaxManagerTax calculation for an address (PrestaShop looks for « taxManager », alias of this hook): no tax for a foreign business.
displayPDFInvoiceReverse charge or non-taxable mention on the invoice.
actionPresentPaymentOptionsPrestaShop 8 and later: removes payment methods for a consumer in a country reserved for businesses.
displayPaymentTopExplains this block to the customer.
actionOrderStatusPostUpdatePaid order: OSS threshold recalculated, alert email.
displayAdminAfterHeaderBack-office banner when the threshold is near or exceeded.
actionValidateOrderOrder validated: VIES check of the number, billing and connection countries recorded.
displayAdminOrderSideBack-office order view: customer type, VIES evidence, country match.
actionFrontControllerInitBeforeVisitor country preselected from the IP address.
displayFooterCredit for the geolocation database source, only for the DB-IP database (CC BY 4.0 licence), on a separate line.
displayFreshappGeoCreditThe same credit, inline, to place in the theme's copyright line; the choice is made in the « Visitor country » tab.
actionObjectAddressAddAfter, actionObjectAddressUpdateAfterCompany address with a VAT number: the customer joins the « Businesses » group.
Loading...
Back to top