Skip to main content

Shipping Address - Blank Form (Required)

11 years 1 week ago #221342 by nowherenowhere
Hi Guys,

I need on checkout, next to Billing address, Shipping address (this is normal enough) but I need the shipping address to be a blank form - so users can see the fields and on submit it saves the form... But not as the dropdown, or list or Popup - but to show the form. Can you help me?

TX

Believe in Better

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

11 years 1 week ago #221347 by nicolas
Hi,

Then, set the address selector to list or dropdown and then edit the file "address_select" via the menu Display>Views and add such line at the beginning:
<?php $this->addresses = null; ?>
The following user(s) said Thank You: nowherenowhere

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

11 years 1 week ago #221407 by nowherenowhere
Hiya Nic,

That's done it :) Thank you!

Just a question though.... would it be possible to only have that form on the shipping to address and not the billing.... billing could stay like a dropdown/ list - only have the fields show for shipping?

TX

Believe in Better

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

11 years 5 days ago #221547 by nicolas
Hi,

Yes, you can use that code instead:
<?php If($this->type=="shipping") $this->addresses = null; ?>
The following user(s) said Thank You: nowherenowhere

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

Time to create page: 0.053 seconds
Powered by Kunena Forum