Extraprice/en: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

5 November 2025

22 October 2025

  • curprev 18:5118:51, 22 October 2025Liam talk contribs 7,508 bytes +3 No edit summary
  • curprev 17:4617:46, 22 October 2025Liam talk contribs 7,505 bytes 0 No edit summary
  • curprev 17:4517:45, 22 October 2025Liam talk contribs 7,505 bytes +3 No edit summary
  • curprev 17:4417:44, 22 October 2025Liam talk contribs 7,502 bytes +3 No edit summary
  • curprev 17:4317:43, 22 October 2025Liam talk contribs 7,499 bytes −65 Page créée avec « {| class="wikitable" style="text-align:center" ! style="vertical-align:top; width:250px;" | '''Module configuration options''' ! style="vertical-align:top; width:250px;" | '''Result on invoice''' |- | style="vertical-align:top;" | 250px | style="vertical-align:top;" | 250px |} »
  • curprev 17:4317:43, 22 October 2025Liam talk contribs 7,564 bytes −67 Page créée avec « Another feature of the module is that it is possible to define one or more products/services to collect VAT for transport companies. |} »
  • curprev 17:4317:43, 22 October 2025Liam talk contribs 7,631 bytes −69 Page créée avec « The first input area allows you to configure the calculation formula that will be used to determine the unit sales prices. »
  • curprev 17:4317:43, 22 October 2025Liam talk contribs 7,700 bytes −345 No edit summary
  • curprev 17:4217:42, 22 October 2025FuzzyBot talk contribs 8,045 bytes +871 Mise à jour pour être en accord avec la nouvelle version de la source de la page
  • curprev 16:5816:58, 22 October 2025Liam talk contribs 7,174 bytes −61 Page créée avec « 800px »
  • curprev 16:5716:57, 22 October 2025Liam talk contribs 7,235 bytes −74 Page créée avec « For a product at €100 per square meter, and a cut at €20, if we sell a surface 50 cm long by 25 cm wide, the price will be €32.50 per unit (20 + 100 x 0.25 x 0.50) »
  • curprev 16:5716:57, 22 October 2025Liam talk contribs 7,309 bytes −70 Page créée avec « In this case, it will be necessary to add an “extrafield” on the product to store the data of the unit cost of the cut which will be added to the unit sales price in the formula. »
  • curprev 16:5716:57, 22 October 2025Liam talk contribs 7,379 bytes −63 Page créée avec « It is possible to add a specific cutting cost per product depending, for example, on its material: plastic, glass, etc. »
  • curprev 16:5716:57, 22 October 2025Liam talk contribs 7,442 bytes −71 Page créée avec « For a product at €100 per square meter, if we sell a surface 50 cm long by 25 cm wide, the price will be €12.50 per unit (100 x 0.25 x 0.50) »
  • curprev 16:5716:57, 22 October 2025Liam talk contribs 7,513 bytes −49 Page créée avec « In this case, the selling price of the product corresponds to the price per m² multiplied by the length and width »
  • curprev 16:5716:57, 22 October 2025Liam talk contribs 7,562 bytes −72 Page créée avec « We add 2 additional fields (extrafields) named “length” and “width” corresponding to the dimensions of the surface sold. »
  • curprev 16:5716:57, 22 October 2025Liam talk contribs 7,634 bytes −12 Page créée avec « A product has a fixed price per square meter. »
  • curprev 16:5716:57, 22 October 2025Liam talk contribs 7,646 bytes −68 Page créée avec « It is possible to create constants by going through Dolibarr's configuration/Miscellaneous. To do this, simply define a variable and its value. The entered value can be retrieved with $conf->global->LA_VARIABLE_DIVERSE. »
  • curprev 16:5616:56, 22 October 2025Liam talk contribs 7,714 bytes −196 Page créée avec « |- style="vertical-align:top;" | '''$objectvalue''' | Object containing the additional fields associated with the part line. Example: To access the value defined in the 'length' field, use the variable $objectvalue['options_allonge'] |- style="vertical-align:top;" | '''$product''' | Object containing the values ​​associated with the product (reference, description, etc.) Example values: * $product['price_min'] (minimum price) will be retrieved by the variable... »
  • curprev 16:5616:56, 22 October 2025Liam talk contribs 7,910 bytes −61 Page créée avec « {| class="wikitable" |- style="vertical-align:top;" | '''$newprice''' | Price calculated by the formula |- style="vertical-align:top;" | '''$origineprice''' | Original price of the product. NOTE: If the product or service is a free product, this value will be zero (the base price must be entered elsewhere for calculation). »
  • curprev 16:5616:56, 22 October 2025Liam talk contribs 7,971 bytes −56 Page créée avec « Definition of variables that can be used in the extraprice formula. »
  • curprev 16:5616:56, 22 October 2025Liam talk contribs 8,027 bytes −1 Page créée avec « === Entering a calculation formula === »
  • curprev 16:5616:56, 22 October 2025Liam talk contribs 8,028 bytes −77 Page créée avec « Ex: it is possible to create a discount coefficient per customer category which will be used for the final calculation of the unit sales price. To do this, you must create product categories, assign a value to a variable on the extraprice tab of the category (e.g. $coef=0.55) and then use this in the final calculation. »
  • curprev 16:5616:56, 22 October 2025Liam talk contribs 8,105 bytes −58 Page créée avec « The premium version of extraprice allows you to add variables to calculation formulas based on customer or product category. »
  • curprev 16:5616:56, 22 October 2025Liam talk contribs 8,163 bytes −32 Page créée avec « === Note === »
  • curprev 16:5616:56, 22 October 2025Liam talk contribs 8,195 bytes −98 Page créée avec « - values ​​present in the various records (customer, product, parts, etc.) - values ​​present in additional fields ("extrafields"), particularly those present on the part lines. - a calculation formula written in PHP in the module's settings. »
  • curprev 16:5516:55, 22 October 2025Liam talk contribs 8,293 bytes −61 Page créée avec « For this, '''Extraprice''' uses: »
  • curprev 16:5516:55, 22 October 2025Liam talk contribs 8,354 bytes −81 Page créée avec « '''Extraprice''' allows you to modify the unit sales price when creating the part lines (order, invoice and commercial proposal). »
  • curprev 16:5516:55, 22 October 2025Liam talk contribs 8,435 bytes −56 Page créée avec « It is not possible in Dolibarr to have a price conditioned by anything other than the quantity of the product sold. »
  • curprev 16:5516:55, 22 October 2025Liam talk contribs 8,491 bytes −1 Page créée avec « == How dynamic price calculation works == »
  • curprev 16:5516:55, 22 October 2025Liam talk contribs 8,492 bytes −147 Page créée avec « {| class="wikitable" |- style="vertical-align:top;" | File:Extraprice-setting.png | The first input field allows you to configure the calculation formula that will be used to determine unit sales prices. Another feature of the module is that it is possible to define one or more products/services to capture VAT for transport companies. |} »
  • curprev 16:5516:55, 22 October 2025Liam talk contribs 8,639 bytes +2 Page créée avec « == Configuration of the Extraprice module == »
  • curprev 16:5516:55, 22 October 2025Liam talk contribs 8,637 bytes −104 Page créée avec « {{Note| Warning: Dolibarr version 20.0.0 contains an anomaly that generates a VAT calculation error when using the price recalculation button. This problem can be resolved by updating Dolibarr to a later version (20.0.4 or 21.xx, ...) |warn}} »
  • curprev 16:5416:54, 22 October 2025Liam talk contribs 8,741 bytes −110 Page créée avec « Before starting to create an Extraprice formula, you should have some knowledge of PHP and be familiar with Dolibarr's table structure. If you don't have this type of expertise, you can contact us on our website ([www.patas-monkey.fr](http://www.patas-monkey.fr/)) so that we can offer you a service to integrate this module according to your specifications. »
  • curprev 16:5416:54, 22 October 2025Liam talk contribs 8,851 bytes −80 Page créée avec « == Preamble – Before you begin == »
  • curprev 16:5416:54, 22 October 2025Liam talk contribs 8,931 bytes −72 Page créée avec « The '''Extraprice''' module works with Dolibarr from version 3.5.x and a minimum php version of 5.3. »
  • curprev 16:5416:54, 22 October 2025Liam talk contribs 9,003 bytes −5 Page créée avec « == Installation Prerequisites == »
  • curprev 16:5416:54, 22 October 2025Liam talk contribs 9,008 bytes −80 Page créée avec « '''Extraprice''' is a module for calculating the prices of a product based on a set of customizable parameters and a calculation formula »
  • curprev 16:5416:54, 22 October 2025Liam talk contribs 9,088 bytes −24 Page créée avec « == Presentation == »
  • curprev 16:5416:54, 22 October 2025Liam talk contribs 9,112 bytes −79 Page créée avec « {| class="wikitable" |- style="vertical-align:top;" | File:Extraprice250x250.jpg | This module allows you to define a calculation rule for determining the unit selling price (for example, by taking additional parameters - extrafields). This premium version adds the ability to configure custom values ​​by category (customer and product). |} »
  • curprev 16:5416:54, 22 October 2025Liam talk contribs 9,191 bytes +9,191 Page créée avec « Extraprice »