-
Shipping Estimator
Zen Cart v1.5.7c
Php Version PHP Version 7.3.33
Big Royal Mail
Please could I have some help getting my shipping estimator to work.
Firstly I could see messages in my log showing
PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; rm1stpacket has a deprecated constructor in /home/tidytoys/public_html/includes/modules/shipping/rm1stpacket.php on line 12
So I have made the following coding changes based on another posting. (I dont have any coding knowledge).
// class constructor
// function rmairsure() {
function _construct() {
I have 5 different choices for mailing. 3 are for uk customers and 2 are for outside the uk.
Big Royal Mail is nice and simple in the fact that I only need 2 files for each type of postage.
Now I have the Shipping Estimator showing ... but I only need the country to show up on the shipping estimator, the State/Province and Post Code options are not needed for estimating the costs. Even when completing all 3 choices Im not getting any shipping estimates to show up.
Im getting this message in my log but dont know if its connected to the issue ...
--> PHP Warning: Use of undefined constant DATE_TIME_FORMAT - assumed 'DATE_TIME_FORMAT' (this will throw an Error in a future version of PHP) in /home/tidytoys/public_html/admin/includes/functions/general.php on line 189.
Attachment 20139
-
Re: Shipping Estimator
Don't double-post your questions, already asked here: https://www.zen-cart.com/showthread....ping-Estimator