Guides

Home Guides

Adding your Prices

This is probably the most difficult part of using Logistack, and until I can find a better way to do it, we're stuck with the following, for now!

The Basics

Download and extract to your computer, the quote_calc_save.php file.

Download and install a good code editor - Sublime Text.

Making the Edits

ONLY edit the postcode and numbers, nothing else, PHP code is incredibly fragile!

Note to the following code block

/* --------------------------------------------------------------- */
const DEPOT_POSTCODE         = 'CO64FH';     // fixed depot (no space)
const LABOUR_RATE_PER_HOUR   = 17.50;        // £/hour
const DIESEL_PRICE_PER_LITRE = 1.42;         // £/L
const VEHICLE_MPG            = 38.0;         // miles per gallon (UK)
const LONDON_SURCHARGE_GBP   = 50.00;        // flat £ when destination in GL areas
const VAT_RATE               = 0.175;        // 17.5% (set to 0 when needed)

// Background toll heuristics (postcode-based):
const ULEZ_CHARGE_GBP        = 12.50;         // set £12.50 if you want to apply ULEZ
const DART_CHARGE_GBP        = 8.40;         // set Dart Charge here if you want
/* ---------------------------------------------------------------------- */

Once done upload the file using the Backup feature in Admin (Backup & Editing --> Backup), revisit Quote Calculator, add a postcode to see if the price suits. Repeat until you're happy with the price.

Any problems let me know, any customisations, feeedback, requests, suggestions, anything, contact by email mostly, in a complete emergency phone.


Contact me

Contact me on lee@venture-logistics.co.uk, or text, WhatsApp or call on 077 888 211 21

Need more info?
Call Us Now!

Text for a call back 077 888 211 21