Post by ianh » Thu Mar 01, 2012 12:39 am

HI there

The only shipping rates I have at the momet is flate rate: £2.95, next day £5.95 and overseas £10.
Is there any way I can modify rates, etc, just to include these? I've tried royal mail module but the prices are all set to particular rates that don't match my own?

Your help would be much appreciated. ;D

Active Member

Posts

Joined
Fri Oct 07, 2011 4:25 pm


Post by Johnathan » Thu Mar 01, 2012 1:16 am

Create three geo zones: two for the UK (Flat Rate and Next Day), and one for Overseas. Then use the built-in weight-based shipping method to add your flat rates by entering a single high bracket:

999999:2.95
999999:5.95
and
999999:10.00

I also have a Multi Flat Rate Shipping extension that can add multiple flat rates, each with their own geo zones, customer groups, and rates for each currency. It's available on my site or in the OpenCart extension store.

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by ianh » Thu Mar 01, 2012 4:02 am

Thanks very much, Jonathan - just what I need. is there any way to remove the 'weight based' shipping title when in shipping options at check out?

Active Member

Posts

Joined
Fri Oct 07, 2011 4:25 pm


Post by Johnathan » Thu Mar 01, 2012 4:50 am

You can edit the text for the shipping method in:

/catalog/language/english/shipping/weight.php

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by ianh » Mon Mar 05, 2012 10:49 pm

Thanks, Jonathan. Great advice! ;D

Active Member

Posts

Joined
Fri Oct 07, 2011 4:25 pm


Post by maderstrains » Thu Mar 08, 2012 6:54 am

Jonathan,

Does this Multi Flat Rate Shipping module work for the latest version of OC as well? (v1.5.2.1)

Thanks,

Josh Mader
Maders Trains
http://maderstrains.com/


Active Member

Posts

Joined
Sat Jun 06, 2009 1:31 am
Location - Rancho Santa Margarita, Cali

Post by Johnathan » Thu Mar 08, 2012 11:20 am

All 1.5.1 shipping methods should work fine in 1.5.2, though I haven't tested it yet. I should be getting to it within the next 24 hours, to verify it works properly.

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by maderstrains » Thu Mar 08, 2012 11:23 am

Thanks, and please do let me know when you have finished testing it as I plan to buy the module ;D

Josh Mader
Maders Trains
http://maderstrains.com/


Active Member

Posts

Joined
Sat Jun 06, 2009 1:31 am
Location - Rancho Santa Margarita, Cali

Post by Johnathan » Thu Mar 08, 2012 11:35 pm

Multi Flat Rate Shipping has now been verified for v1.5.2.x compatibility, and has been updated with a few new features. You can read the release notes here:

http://forum.opencart.com/viewtopic.php ... 05#p260296

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by maderstrains » Fri Mar 09, 2012 1:58 am

Thank you Jonathan! I will be buying the module in a few minutes ;D

Josh Mader
Maders Trains
http://maderstrains.com/


Active Member

Posts

Joined
Sat Jun 06, 2009 1:31 am
Location - Rancho Santa Margarita, Cali

Post by bev2951 » Sun Mar 11, 2012 10:46 pm

Hi, I have followed above instuctions on how to remove wording *weight based shipping" but would also like the " (0.0lbs) " Removed, is this possible and how would I go about doing it.

Thank you .

New member

Posts

Joined
Mon Feb 08, 2010 9:04 am
Location - Liverpool, England

Post by Johnathan » Mon Mar 12, 2012 5:12 am

System > Settings > Option > Display Weight on Cart Page > "No"

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by bev2951 » Mon Mar 12, 2012 5:19 am

Hi, Thanks for that but I have it set at 'no' and still showing (0.0lbs)

New member

Posts

Joined
Mon Feb 08, 2010 9:04 am
Location - Liverpool, England

Post by Johnathan » Mon Mar 12, 2012 7:48 am

This doesn't occur on a standard installation. Have you modified any core files, installed any extensions, or are using a custom theme? Any of those could be displaying the weight independently of the system setting.

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by bev2951 » Mon Mar 12, 2012 8:11 pm

I've installed a template I bought off Opencart, and an extension for listing Brands Thats all I've done.
I have looked in tmeplate files and there are no 'weight php or tpl' files any ideas what else it could be, or what I should be looking for ?

New member

Posts

Joined
Mon Feb 08, 2010 9:04 am
Location - Liverpool, England

Post by Johnathan » Mon Mar 12, 2012 9:01 pm

Try switching to the default theme. If it doesn't appear, then it's your theme -- if it does, then somehow the /catalog/controller/checkout/cart.php file is setting the $weight variable when it shouldn't. The relevant code that should be present in that file is:

Code: Select all

if ($this->config->get('config_cart_weight')) {
    $this->data['weight'] = $this->weight->format($this->cart->getWeight(), $this->config->get('config_weight_class_id'), $this->language->get('decimal_point'), $this->language->get('thousand_point'));
} else {
    $this->data['weight'] = false;
} 

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by bev2951 » Tue Mar 13, 2012 5:17 am

I swopped to default and problem still showing up so checked cart.php and all looked the same as your code but replaced it with your code and again (0.00lb) still showing .

Is there anything else it could be?
Sorry to be a pain.

New member

Posts

Joined
Mon Feb 08, 2010 9:04 am
Location - Liverpool, England

Post by Johnathan » Tue Mar 13, 2012 6:44 am

I'm really at a loss...the only other thing to check would be to make sure the template file (in checkout/cart.tpl) has the following code near the top:

Code: Select all

<?php if ($weight) { ?>
      &nbsp;(<?php echo $weight; ?>)
<?php } ?>
Other than that, I have no idea why it wouldn't be showing up. My recommendation is to try a fresh installation and start from there.

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by bev2951 » Tue Mar 13, 2012 8:22 pm

HI
Thanks for all your help. that bit of php wasnt in cart.tpl in the template , so I put it in but to no avail. I guess I'll have to settle for the (0.00lbs) .
Thanks again.

New member

Posts

Joined
Mon Feb 08, 2010 9:04 am
Location - Liverpool, England

Post by ianh » Mon Apr 02, 2012 5:35 pm

HI Bev

Check out this thread, should answer your problem

http://forum.opencart.com/viewtopic.php?f=114&t=54193

Active Member

Posts

Joined
Fri Oct 07, 2011 4:25 pm

Who is online

Users browsing this forum: No registered users and 3 guests