How to combine the rates of 2 warehouses

  • Posts: 62
  • Thank you received: 1
8 years 5 months ago #243777

-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.5.1

I have a site selling product that falls into 2 different categories, A and B. Items in the A category are charged a flat shipping rate of $10, and items in the B category are charged $40 flat shipping rate. I set up 2 warehouses, one for A and one for B, and then went through and put all the appropriate products into the correct warehouse. When I test checkout, as long as I pick one item from one warehouse it is fine, but if I pick one item from each warehouse, things get wonky. On the shipping page I get the products split up between the warehouses with a shipping selection for each. What I want is for the shipping rate to be combined ($50) when a product from each category (warehouse) is selected, and I don't want it to show as coming from two different warehouses on the shipping page. The warehouses are just virtual as all of the items come from the same place. I have gone through everything I can think of and can't figure a way to resolve this...

Your help is appreciated.

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

  • Posts: 12953
  • Thank you received: 1778
8 years 5 months ago #243804

Hello,

What I want is for the shipping rate to be combined ($50) when a product from each category (warehouse) is selected, and I don't want it to show as coming from two different warehouses on the shipping page.

The solution will be to directly use a shipping price per product and to do it, you should :
- Use the "Use price per product" option on your shipping methods configuration page
- Go to your products configuration page
- Set a valid shipping price on the "Shipping prices" tab of your product configuration page

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

  • Posts: 62
  • Thank you received: 1
8 years 5 months ago #243828

Thank you for your help Mohamed.
The problem with your suggestion, and I'm sorry that I didn't make this clear, is that it will add the price for every item, and I only need the price added once per category.

So the first item from "A" would be $10, and no matter how many additional items from cat "A" would be added the price would still be $10. If one, or many items from cat "B" is added, the price is $40. If multiple items from cat "A" and cat "B" are added , the price would be $50.

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

  • Posts: 12953
  • Thank you received: 1778
8 years 5 months ago #243834

Hello,

So the first item from "A" would be $10, and no matter how many additional items from cat "A" would be added the price would still be $10. If one, or many items from cat "B" is added, the price is $40. If multiple items from cat "A" and cat "B" are added , the price would be $50.

Ok so in that case using Warehouses will be the solution, however Warehouses has been developed so that shipping method from different warehouses will be displayed separately on the checkout. So to do what you want you can :
- Customize the code of the Hikashop "shipping" file of the "checkout" view of your front-end template via "Hikashop->Display->Views"

- Directly develop a custom shipping plugin which will calculate shipping prices based on your "product category".

Both case will require development skills.

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

  • Posts: 62
  • Thank you received: 1
8 years 4 months ago #244120

I actually came up with a 3rd method that so far is working... though it will sound a little goofy.

All of the parts "A" I have given a weight of 1lb.
All of the parts "B" I have given a weight of 50lb.
I have removed all of the warehouses.
I have created 2 flat rate shipping methods with restrictions for parts "A" to a weight of 0-49lbs. A second method for parts "B" with a restriction of 50-250lbs.

It works so far! :)

The following user(s) said Thank You: Mohamed Thelji

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

Time to create page: 0.072 seconds
Powered by Kunena Forum