- Posts: 18
- Thank you received: 0
Variable shipping costs
- schipperskwartier
-
Topic Author
- Offline
Less
More
9 years 5 months ago - 9 years 5 months ago #268704
by schipperskwartier
Variable shipping costs was created by schipperskwartier
-- 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:
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
-- 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 A | neighbour | non-food €50 | €10 | €30 | €0 | €70 |
| customer B | neighbour | food €80 | €10 | €100 | €0 | €170 |
| customer C | shop owner | non-food €50 | €20 | €30 | €120 | €180 |
| customer D | shop owner | food €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: 9 years 5 months ago by schipperskwartier.
Please Log in or Create an account to join the conversation.
9 years 5 months ago #268712
by nicolas
Replied by nicolas on topic Variable shipping costs
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.
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.
- schipperskwartier
-
Topic Author
- Offline
Less
More
- Posts: 18
- Thank you received: 0
9 years 4 months ago #269376
by schipperskwartier
Replied by schipperskwartier on topic [SOLVED] Variable shipping costs
Thank you Nicolas! Works like a charm!
Roland
Roland
Please Log in or Create an account to join the conversation.
Time to create page: 0.181 seconds