Post by rencat » Tue Jul 26, 2011 9:17 pm

I found a problem on 1.4.9.4, I am not sure if it si a bug. there has no Shipping Address choose area When I order a free shipping item. There has only payment address choose area. The results is no shipping address on order confirm page. I think the customer will confuse on this step. sometimes the payment address and shipping address is different.

can choose shipping address and payment address if an item is need shipping fee.
anybody can help?

Newbie

Posts

Joined
Thu Feb 11, 2010 11:26 am

Post by Johnathan » Wed Jul 27, 2011 3:18 pm

By "free shipping item" do you mean an item that has "Requires Shipping" set to "No"? That's different than having free shipping. If you need free shipping for individual items, check out this mod:
http://forum.opencart.com/viewtopic.php?f=24&t=23895

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by rencat » Wed Jul 27, 2011 4:21 pm

thanks Johnathan, but I mean, when item is not requires shipping, there has no shipping address can be choose on check out page, only show your payment address. In SALES>ORDERS of administration panel only has payment address too, no shipping address. Why has no shipping address on free shipping item?

Newbie

Posts

Joined
Thu Feb 11, 2010 11:26 am

Post by rencat » Wed Jul 27, 2011 4:26 pm

actually, this case will happened with item's weight is 0.

Newbie

Posts

Joined
Thu Feb 11, 2010 11:26 am

Post by Johnathan » Thu Jul 28, 2011 4:25 pm

rencat wrote:Why has no shipping address on free shipping item?
Because "Not Requiring Shipping" isn't the same as "Free Shipping". If an item doesn't require shipping, that means it doesn't need a shipping address. Usually this is used for downloadable or digital items.

You should look at the link I posted, which lets you choose which products Free Shipping applies to. That seems to have the system that you want.

Or, if you don't mind editing a file, you can disable the part of the code that skips the shipping step in 1.4.9.x by performing this edit:

IN:

Code: Select all

/catalog/controller/checkout/shipping.php
REPLACE:

Code: Select all

if (!$this->cart->hasShipping()) { 
WITH:

Code: Select all

if (FALSE) { //if (!$this->cart->hasShipping()) {  

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by mp6870 » Mon Jun 29, 2015 9:54 am

I am using OC2.0 and have the same need, can you help me how to change the code so that the shipping address can be collected for item marker as shipping not required? Thanks a lot.

Newbie

Posts

Joined
Sun Jun 07, 2015 10:41 pm

Post by Johnathan » Mon Jun 29, 2015 10:47 pm

I now have an inexpensive extension that does this: Change Requires Shipping to Free Shipping

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am

Who is online

Users browsing this forum: Bing [Bot] and 70 guests