Pricing
Business rule description
The General workflow of the pricing
It exists different kind of discounts in Prestashop : Specific prices, catalog prices rules, group discounts, cart rules and Pack Produit.
Even if the Products Pack is a kind of discount, no specific business rules is applied because Product Pack is more consider as a classical product as a discount. Indeed the reduction is applied as the original price of th Products Pack.
This sheet-pricing let to simulate the main cases taking into account :
Part 1 : Calculation in the catalogue before addind products in the cart
Part 3 : Retrieve cost of shipping
Part 4 Display of the chart in the FO (put this part in UX/UI
UX/UI impact of this BR
todo
Level | Formula |
---|---|
Round mode
R1 : Round up away from zero, when it is half way there (recommended)
R2 : Round down towards zero, when it is half way there
R3 : Round towards the next even value
R4 : Round towards the next odd value
R5 : Round up to the nearest value R6 : Round down to the nearest value
https://www.php.net/manual/en/function.round.php
Ce qui impacte le prix :
Règles connues sont celles-ci
cart rules (où ?)
catalogues prices rules (où ?)
prix spécifiques (où ?)
TVA (où ?)
Ecotax
Group client
Cadeaux ?
Modifications des prix selon les currencies
Pays ?
Cf ITW Christophe :
5 outils de promo
Prix spécifiques
Code promo (=règle panier = coupon de réduction)
Règles de prix catalogue
Groupe Client
Pack
Par défaut règle de prix spécifique qui prend le dessus sur le prix catalogue
Qu'est ce qui modifie le prix à quel moment à quel endroit et ce qu'on veut que ca fasse ?
Quels sont tous les endroits où on retorouve la liste ci-dessus des règles de calcul
Group client peut être dans prix spécifiques, dans catalogues prices rules et au niveau du groupe client
Au niveau du groupe client tu peux avoir un discount gobal (sur tous les produits) et/ou au niveau de catégégorie de produit)
Il faut pouvoir ajouter une règle à n'importe quelle étape sur TTC ou HT
Behat test link
Last updated