Shipping Address - Blank Form (Required)

  • Posts: 152
  • Thank you received: 1
9 years 1 week ago #221342

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.

  • Posts: 82908
  • Thank you received: 13378
  • MODERATOR
9 years 1 week ago #221347

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.

  • Posts: 152
  • Thank you received: 1
9 years 1 week ago #221407

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.

  • Posts: 82908
  • Thank you received: 13378
  • MODERATOR
9 years 6 days ago #221547

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.059 seconds
Powered by Kunena Forum