Jump to content

Display invoice address only if invoice address available


Recommended Posts

If the customer have both delivery address and billing address saved in database, then both address to be displayed. If the customer have only one address as delivery address, then delivery address to be displayed. The address to be displayed in one page checkout order-address.tpl file.

Link to comment
Share on other sites

  • 1 year later...

It's impossible to use conditions in .html files of course.

It depends on your payment modules. Some of them override the ValidateOrder method.
As a generic rule, yes, you can add the condition and variable there, in the main file (using a generic override for the ValidateOrder method)
If it doesn't work, check each payment method's core file 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...