Variable shipping costs

  • Posts: 18
  • Thank you received: 0
7 years 6 months ago #268704

-- HikaShop version -- : 3.0.1
-- Joomla version -- : 3.7.0
-- PHP version -- : 5.4.45 (will be upgraded to php7)
-- Browser(s) name and version -- : all
-- Error-message(debug-mod must be tuned on) -- : no error

Imagine the following user groups...
1. neighbours
2. shop owners
3. non of the above

... and 2 sorts of products
1. food €80
2. non-food €50

Discount: Every user group has a discount percentage, which is at PRODUCT level (€10, €20, etc)
Shipping costs: food customers €100, non-food customers €30, both at ORDER level.

This works. Now I want to implement additional ORDER costs for shop owners (€120).
So customers recieve different invoices:

customer name____user group____product__________discount____shipping____additional costs____total amount
customer Aneighbournon-food €50€10€30€0€70
customer Bneighbourfood €80€10€100€0€170
customer Cshop ownernon-food €50€20€30€120€180
customer Dshop ownerfood €80€20€100€120€280

The shipping costs and the additional costs must be on 2 different lines in the invoice (and in the checkout).
How can I accomplish this?

Thanks!
Roland

Last edit: 7 years 6 months ago by schipperskwartier.

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

  • Posts: 82865
  • Thank you received: 13372
  • MODERATOR
7 years 6 months ago #268712

Hi,

I see two easy ways to do it:
1. You can duplicate your payment methods in two sets, one for the user group neighbour and one for the user group shop owner, and use the "price" field of the payment methods of the shop owner user group to set your 120€ fee. Then, just use a translation override to rename the payment fee with the name you want.
www.hikashop.com/download/languages.html#modify
2. You could just download and install the global cart fee plugin:
www.hikashop.com/forum/taxes/873285-fix-tax-import.html#190511
And configure one instance of it via the menu System>Plugins. Set a fee of 120€ and restrict the access level to the shop owner user group and you should be good to go.

The following user(s) said Thank You: schipperskwartier

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

  • Posts: 18
  • Thank you received: 0
7 years 6 months ago #269376

Thank you Nicolas! Works like a charm!

Roland

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

Time to create page: 0.064 seconds
Powered by Kunena Forum