With this MockupI do need help with a project to combat Trump's tariff chaos, an Order Total module. Please refer to the attached mock-up.
Shop side:
1) A checkbox at the beginning of the line. Once the checkbox is ticked, the amount of customs duty is calculated and appears (from invisible to visible? From 0 to calculated amount?)
2) The helper text (what is this?) can link to a tooltip or pop-up modal to, uh, explain what it is; whichever is most straightforward to implement.
Admin side:
1) A method to set the tariff rate for each country. Currently, I will only apply this Order Total when the shipping address is in the US, but I might apply the module to other countries later. Once a country has a tariff rate assigned, this Order Total module should appear on the shop side during checkout. I can generate a string of combinations of country ISO code + rate percentage like "US:20,GB:8,AU:10" (meaning United States 20%, United Kingdom 8%, Australia 10%) easily from another source, if parsing a string is a simple way to go.
Combatting New US Tariffs
- burt
- Core Team
- Posts: 4546
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 412 times
Combatting New US Tariffs
I'm pretty certain the one who sent me this won't mind me posting it here. I really like being let loose to do something based on what's needed;
You do not have the required permissions to view the files attached to this post.
I am not here to build for you.
I am here to build with you. Let's help each other.
I am here to build with you. Let's help each other.
- burt
- Core Team
- Posts: 4546
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 412 times
Re: Combatting New US Tariffs
And here is what I came up with, it took a bit of wibbly-wobbly to deal with Tickboxes, but it seems to work pretty good;
If NOT ticked:
And if Ticked:
The "what is this" pops up a tooltip, changeable in the language file..
Currently out for testing.
If NOT ticked:
And if Ticked:
The "what is this" pops up a tooltip, changeable in the language file..
Currently out for testing.
You do not have the required permissions to view the files attached to this post.
I am not here to build for you.
I am here to build with you. Let's help each other.
I am here to build with you. Let's help each other.
- burt
- Core Team
- Posts: 4546
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 412 times
Re: Combatting New US Tariffs
And in the Admin Side:
You do not have the required permissions to view the files attached to this post.
I am not here to build for you.
I am here to build with you. Let's help each other.
I am here to build with you. Let's help each other.
- burt
- Core Team
- Posts: 4546
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 412 times
Re: Combatting New US Tariffs
Best of all, everything is done with NO core code changes.
One Order Total module and one extra helper file.
That is Phoenix, in a nutshell.
The ability to do almost anything without touching any core code.
One Order Total module and one extra helper file.
That is Phoenix, in a nutshell.
The ability to do almost anything without touching any core code.
I am not here to build for you.
I am here to build with you. Let's help each other.
I am here to build with you. Let's help each other.
-
artfulweb
- Contributor
- Posts: 184
- Joined: Thu Oct 29, 2020 12:34 pm
- Phoenix Version: v1.1.0.6
- Has thanked: 29 times
- Been thanked: 14 times
Re: Combatting New US Tariffs
Great job! Unfortunately here in France all shippers including our post office have suspended shipping to the US saying that US Customs has not provided a means to pay customs before shipping so we have now lost ou US customers!!! Bummer...
-
Moxamint
- Member
- Posts: 93
- Joined: Fri Nov 06, 2020 10:36 am
- Phoenix Version:
- Has thanked: 33 times
- Been thanked: 3 times
Re: Combatting New US Tariffs
Not even FedEx or DHL? As far as I know, the shipper can choose to pay customs duty upfront when arranging shipments with these two carriers.
Cheers, Eddy
-
artfulweb
- Contributor
- Posts: 184
- Joined: Thu Oct 29, 2020 12:34 pm
- Phoenix Version: v1.1.0.6
- Has thanked: 29 times
- Been thanked: 14 times
Re: Combatting New US Tariffs
No, they all suspended it here, explaining that nothing has been put in place on the US end to make the arrangements for payment and customs will refuse any package sent so it is a real mess.
-
Moxamint
- Member
- Posts: 93
- Joined: Fri Nov 06, 2020 10:36 am
- Phoenix Version:
- Has thanked: 33 times
- Been thanked: 3 times
Re: Combatting New US Tariffs
So in France, it simply doesn't work even when sellers are willing to subsidize and swallow the customs duties? That really sucks.
-
Dan Cole
- Senior Contributor
- Posts: 498
- Joined: Fri Oct 25, 2019 2:14 pm
- Phoenix Version: 1.0.8.21
- Has thanked: 67 times
- Been thanked: 61 times
Re: Combatting New US Tariffs
Seems a little strange....couriers like Fedex, UPS etc have always had arrangements in place so they could clear shipments through customs and have the importer pay any duties, clearance charges etc. Surely that must still exist?
Dan
- burt
- Core Team
- Posts: 4546
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 412 times
Re: Combatting New US Tariffs
It ended up more or less as per the images above. Key differences in finalised version;
1. The "tariff amount" ($0.60) in the image above is in a muted text colour unless/until the checkbox is checked
1a. The "tariff percent" is now also shown in the text.
2. If the order is a "tariff paid" order, we set the order status to "Duty Paid" status
3. We added "very in your face" messaging on admin/orders.php to help admin users see that this is an order that Tariff has been paid on;
3a. a new column on the default admin/orders.php list
3b. a big "red" alert on the individual admin/order page
I'm not certain if this will be interesting to other shopowners, please let me know.
Even if not for use as is, it could be converted rather easily to something else.
EG "gift wrap this order" or any other `thing` which the customer can choose or not choose.
1. The "tariff amount" ($0.60) in the image above is in a muted text colour unless/until the checkbox is checked
1a. The "tariff percent" is now also shown in the text.
2. If the order is a "tariff paid" order, we set the order status to "Duty Paid" status
3. We added "very in your face" messaging on admin/orders.php to help admin users see that this is an order that Tariff has been paid on;
3a. a new column on the default admin/orders.php list
3b. a big "red" alert on the individual admin/order page
I'm not certain if this will be interesting to other shopowners, please let me know.
Even if not for use as is, it could be converted rather easily to something else.
EG "gift wrap this order" or any other `thing` which the customer can choose or not choose.
I am not here to build for you.
I am here to build with you. Let's help each other.
I am here to build with you. Let's help each other.