Quick Opencart Royal Mail Shipping Module Code Tweak
4298
£50(approx. $63)
- Posted:
- Proposals: 2
- Remote
- #150535
- Archived
Description
Experience Level: Intermediate
Hi,
I have the following problem with my opencart ecommerce store:
I have royal the mail module active with 3 options for UK shipping:
Standard first class,
Recorded First Class
Special Delivery
At the moment, the user can choose between the three, but what I want is to apply the following rules:
Standard first class not available when cart value >=£30
Recorded First Class first class not available when cart value >=£200
I have looked at the php file in catalog/model/shipping .
I think the edit would be quite easy, but I am not used to PHP syntax,
I think I need to edit this line (and for recorded delivery)
if ($this->config->get('royal_mail_1st_class_standard_status') && $address['iso_code_2'] == 'GB')
to include something like this
&&order value>=30
Can someone please let me know the exact syntax to do it properly.
This should be quite a simple task for someone who knows what they are doing. I just require the code modifications, I will do the uploads myself. As soon as a reasonably low bid is received, the job will be awarded.
Many thanks for your time.
Dave
I have the following problem with my opencart ecommerce store:
I have royal the mail module active with 3 options for UK shipping:
Standard first class,
Recorded First Class
Special Delivery
At the moment, the user can choose between the three, but what I want is to apply the following rules:
Standard first class not available when cart value >=£30
Recorded First Class first class not available when cart value >=£200
I have looked at the php file in catalog/model/shipping .
I think the edit would be quite easy, but I am not used to PHP syntax,
I think I need to edit this line (and for recorded delivery)
if ($this->config->get('royal_mail_1st_class_standard_status') && $address['iso_code_2'] == 'GB')
to include something like this
&&order value>=30
Can someone please let me know the exact syntax to do it properly.
This should be quite a simple task for someone who knows what they are doing. I just require the code modifications, I will do the uploads myself. As soon as a reasonably low bid is received, the job will be awarded.
Many thanks for your time.
Dave
Dave A.
100% (24)Projects Completed
32
Freelancers worked with
30
Projects awarded
33%
Last project
20 Sep 2019
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies