I am selling books on my opencart site. The dimensions of my package are 24.1x33.8x0.2cm and it weighs 136g. According to the post office and the auspost calculator, this classifies as a large letter and should cost $3.00 to post. However when I estimate the shipping in opencart the package is treated as a parcel with a shipping cost of $7.45.
I don't know if the issue is with opencart or Australia post, but can anybody help with this?
According to what I see in OpenCart, they prefixed the size to the API, which is the cause of the issue:
Code: Select all
curl_setopt($curl, CURLOPT_URL, 'http://drc.edeliver.com.au/ratecalc.asp?pickup_postcode=' . urlencode($this->config->get('auspost_postcode')) . '&destination_postcode=' . urlencode($address['postcode']) . '&height=70&width=70&length=70&country=AU&service_type=standard&quantity=1&weight=' . urlencode($weight));
The integration is maintained by OpenCart, you will probably have to hire an external vendor to fix it up for you
you need to change the parameters &height=70&width=70&length=70 to your product size accordingly.
You need to change it to pick it up from your products. Right now it is hardcoded...
that is why you need to customise the length, width fields in the API accordingly.
Who is online
Users browsing this forum: No registered users and 28 guests