- Posts: 85
- Thank you received: 1
Custom shipping form with custom fields in check out page
- oxygenvisual
-
Topic Author
- Offline
Less
More
7 years 4 months ago - 7 years 4 months ago #308679
by oxygenvisual
Hi there!
i need to build a check out page a custom shipping form with custom fields.
This that i try to build, is a collapse menu in shipping form.
The shiiping form at first will diplay with radio buttons to choice:
1. Free delivery in Greece and 2. Delivery in Europe
As you can see in attachment if someone select "Free delivery in Greece -> and will press button -> new adress "
then we need to collapse-show an extra form to add details.
or
if someone select "Delivery in Europe" to collapse - show a new form to add the details
Is it possible to do it with custom fileds and which method to follow?
Thanks in advance!
i need to build a check out page a custom shipping form with custom fields.
This that i try to build, is a collapse menu in shipping form.
The shiiping form at first will diplay with radio buttons to choice:
1. Free delivery in Greece and 2. Delivery in Europe
As you can see in attachment if someone select "Free delivery in Greece -> and will press button -> new adress "
then we need to collapse-show an extra form to add details.
or
if someone select "Delivery in Europe" to collapse - show a new form to add the details
Is it possible to do it with custom fileds and which method to follow?
Thanks in advance!
Last edit: 7 years 4 months ago by oxygenvisual.
Please Log in or Create an account to join the conversation.
7 years 4 months ago #308683
by nicolas
Replied by nicolas on topic Custom shipping form with custom fields in check out page
Hi,
There is no setting to restrict custom order fields to shipping methods. So there is no way to do that without a bit of coding.
You would indeed have to create custom fields of the table "order" via the menu Display>Custom fields.
Then, you would modify the file "show_block_shipping" via the menu Display>Views to add your custom javascript to hide/show the area of the custom fields based on what is selected in the shipping methods.
With these instructions someone with a bit of Javascript knowledge should be able to do it for you quite easily.
There is no setting to restrict custom order fields to shipping methods. So there is no way to do that without a bit of coding.
You would indeed have to create custom fields of the table "order" via the menu Display>Custom fields.
Then, you would modify the file "show_block_shipping" via the menu Display>Views to add your custom javascript to hide/show the area of the custom fields based on what is selected in the shipping methods.
With these instructions someone with a bit of Javascript knowledge should be able to do it for you quite easily.
The following user(s) said Thank You: oxygenvisual
Please Log in or Create an account to join the conversation.
Time to create page: 0.043 seconds