Add shipping costs only if address is known?

  • Posts: 11
  • Thank you received: 2
  • Hikashop Business
5 months 4 weeks ago #361275

-- HikaShop version -- : 5.04
-- Joomla version -- : 5
-- PHP version -- : 8.2.18
-- Browser(s) name and version -- : Firefox 125.0.2

Hi again,
we would like to add different shipping costs, depending on the shipping address country. To this end we created different shipping methods.
Currently, Hikashop adds shipping costs of one of these methods, even if no address is entered (see screenshot). Is it possible to omit the shipping charges, while no address is known and add them only after an address is selected?

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
5 months 4 weeks ago #361276

Hi,

Before the user provides his address, HikaShop uses the "main tax zone" as the zone of the user.
So you could for example change that setting to a zone where you don't have any shipping methods available (like North Korea for example). However, this will also potentially impact the tax display.
Another solution is to use the "access level" setting of your shipping methods in order to restrict them to only to logged in users. Since the users provides their address when they register, once they're logged in, they should have a shipping address, and thus accurate shipping methods. And before being logged in, no shipping methods would be found, and thus no shipping fee would be added to the cart.
Another solution would be to configure your "checkout workflow", in the HikaShop configuration, so that the cart display on the steps before the login would have its "show shipping price" setting set to false. And then, in the other steps, you could have again the cart view with the setting turned on. This means that you would have a checkout in several steps.

Please Log in or Create an account to join the conversation.

Time to create page: 0.063 seconds
Powered by Kunena Forum