Digital vs Physical products - country specific shipping

  • Posts: 15
  • Thank you received: 2
4 years 10 months ago #314920

-- HikaShop version -- : 4.2.2
-- Joomla version -- : 3.9.14
-- PHP version -- : 7.3

Hi,

Our store contains a small number of digital only products and a larger number of physical products.

We don't wish to charge shipping for carts which only contain digital products.

We need to charge shipping for carts which contain physical products - however, we can only ship to customers in the UK. We need to prevent orders being passed to the payment gateway if the cart includes physical products and the shipping/delivery address is outside the UK.

We are required to capture a shipping address for all orders, even if the order only has a digital product in it.

What we've tried so far:

- Force delivery regardless of weight has been enabled.

- We have set up two Warehouses - one for Digital Products, and one for Physical Products.

- We have set up a Zone for 'Rest of the World' which includes everywhere except the UK.

- We have set up 3 shipping methods:
- Digital only (free) - restricted to products with a maximum weight of 1g, no zone restriction, warehouse set to 'Digital Products'
- UK only (£2.95) - restricted to products with a minimum weight of 2g, zone restricted to UK - I've tried with warehouse set to None and also set to 'Physical Products' (see below for explanation)
- Rest of World (£100) - restricted to products with a minimum weight of 2g, zone restricted to 'Rest of the World', warehouse set to None. (The £100 fee here is irrelevant - the intention was to create a shipping method which can be 'blocked' in the relevant products, based on reading the documentation).

- For all 3 shipping methods we have set 'Use price per product' to Yes.

I've assigned all our digital products to the 'Digital Products' warehouse, and a test Physical Product to the 'Physical Products' warehouse (if/when we get this working then we can spend the time updating all our Physical Products to this warehouse). I've also updated the test Physical Product so that the 'Rest of the World' shipping method is blocked.

Current results
- If I add this physical product to the cart and select a UK shipping address then I see the correct shipping fee. However, if I select a USA shipping address then the shipping fee is removed entirely and I'm not blocked from proceeding to the payment gateway.

- If my cart contains both a digital product and the test physical product then I see the correct shipping fee (£2.95) if the shipping address is set to UK. But if the shipping address is set to USA then I see £0.00 instead.

- If the cart only contains a digital product then I correctly see £0.00 delivery fee regardless of how the shipping address country field is set.


If you can offer any insight into what we have misunderstood and how best to meet our objectives that would be much appreciated.

Thank you!

Last edit: 4 years 10 months ago by brodders.

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

  • Posts: 4747
  • Thank you received: 644
  • MODERATOR
4 years 10 months ago #314925

Hello,

Thanks for all your explanations, we will suggest you this configuration to meet your needs, follow me step by step :
1. Forget the warehouse system.
2. Create 3 Shipping method with these restrictions :
- First with HikaShop manual shipping plugin for your "virtual" products, use the maximum weight restriction with this kind of weigh
0.001kg by example AND no restriction zone.
I suggest you to use the shipping method name, more to be a notice for your customer, something like "No shipping fee required"
- Second, with your required Shipping Method for Uk and use the Zone Restriction (for UK) and minimum weight with 0.002 Kg
- And finally, always with your required Shipping method for the rest of the world in the Zone Restriction and minimum weight with
0.002 Kg
.

This may fit your needs, I hope.

regards

Last edit: 4 years 10 months ago by Philip.

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

  • Posts: 15
  • Thank you received: 2
4 years 9 months ago #315022

Thanks for your kind reply.

I've tried your suggestion and it gets me closer but there remains an issue.

- As suggested, I have removed the use of Warehouse.
- I have set up 3 shipping methods as you have suggested.
- Testing this I get the correct shipping method based on the combination of basket contents and shipping country.

However, when I then set 'Use price per product' to Yes for the 'Rest of the World' shipping method and then set this to 'Blocked' in the relevant products I find that no shipping method is associated to the basket when this product is in the basket and when the shipping address is set to USA. This makes sense. But when I hit 'Pay now' I am taken to the payment gateway. My aim is to prevent a purchase of a physical product outside the UK.

Is there somewhere I need to define that a shipping method is mandatory?

Thanks again!

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
4 years 9 months ago #315023

Hi,

This means that either you didn't set a weight in your products and you have the "force shipping regardless of weight" setting deactivated in the HikaShop configuration, or you removed the "shipping" view from the "checkout workflow" setting interface under the checkout tab of the HikaShop configuration.

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

  • Posts: 15
  • Thank you received: 2
4 years 9 months ago #315088

Hi,

Thanks for this - yes, I didn't have the Shipping/Delivery view included in my checkout flow (as, until now, it hasn't been necessary).

I'll add it in and hopefully this will help me meet our requirements.

Thanks for your support!

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

Time to create page: 0.062 seconds
Powered by Kunena Forum