mdusamaansari Posted June 24, 2014 Share Posted June 24, 2014 How to display invoice address, if the user updated invoice address. Link to comment Share on other sites More sharing options...
NemoPS Posted June 25, 2014 Share Posted June 25, 2014 You mean, if someone has 2 different addresses for invoice and delivery? Where do you want to display it? Link to comment Share on other sites More sharing options...
mdusamaansari Posted June 26, 2014 Author Share Posted June 26, 2014 Yes, If they have two different address, we need to display both the address. If not, only one address to be displayed. Link to comment Share on other sites More sharing options...
NemoPS Posted June 27, 2014 Share Posted June 27, 2014 ...yes, but where? Link to comment Share on other sites More sharing options...
mdusamaansari Posted June 30, 2014 Author Share Posted June 30, 2014 Hi Nemo, Actually in one page checkout, both address will get displayed right?. I have made invoice address as hidden. So Invoice address will not get displayed in the checkout page. I need it to be displayed when invoice address is present. Link to comment Share on other sites More sharing options...
mdusamaansari Posted June 30, 2014 Author Share Posted June 30, 2014 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 More sharing options...
Goalmarketing Posted February 29, 2016 Share Posted February 29, 2016 (edited) ...yes, but where? I need this solution in e-mail order_conf.html template I can change all HTML and {variables}, but i can't yet use one condition here. Anyone have any solution? Can i use a condition in classes/PaymentModule.php ? Thanks Bruno Azevedo Edited February 29, 2016 by Goalmarketing (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted March 2, 2016 Share Posted March 2, 2016 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now