Post by wafflemeister » Mon May 11, 2020 12:20 am

I would like to modify the attached default weight based shipping module to show a custom text as long as the customer has not selected a state. This way rather than not showing any rate at all, the customer sees a text asking the customer to select a state so that a rate shows up. I have already defined the custom text in the language file by adding:

Code: Select all

$_['text_enter_state'] = 'Please select state to view shipping rate.'; 
Thank you in advance!

New member

Posts

Joined
Fri Jun 21, 2013 11:10 pm

Post by Johnathan » Mon May 11, 2020 10:45 pm

You should be able to just modify the "no shipping options" error message to say what you want, rather than editing other core OpenCart files. That message can be changed in /catalog/language/YOURLANGUAGE/checkout/checkout.php

Image
Image Image Image Image


User avatar
Global Moderator

Posts

Joined
Fri Dec 18, 2009 3:08 am

Who is online

Users browsing this forum: No registered users and 61 guests