Email and phone on previewfinish.php

15.02.2019 10:30
#1
patbe60
Joomshopping forum user no avatar
Name: patbe60
01.03.2012
Сообщения: 14
Quote
Email and phone on previewfinish.php

Hello
On the last checkout page (confirm order) phone and email in billing address are missing. In my opinion this should be also visible so that the customer can also be sure to have set the correct email and phone.

Therefore I have added the following code :

templates/default/checkout/previewfinish.php after line 30:

<?php if ($this->invoice_info['email']) print $this->invoice_info['email']."" ?>
<?php if ($this->invoice_info['phone']) print $this->invoice_info['phone']."" ?>

and
models/checkout.php after line 322:

$info['email'] = $adv_user->email;
$info['phone'] = $adv_user->phone;

Could this be implemented in the next joomshopping update? For me this seems to be very important.

Regards
Patrik Bernhard


Последнее изменение: 15.02.2019 10:36
 
15.02.2019 10:42
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Сообщения: 21468
Quote
Aw: Email and phone on previewfinish.php

Yes.
Will be added in template

<?php if ($this->invoice_info['email'] && $this->config->checkout_step5_show_email) print $this->invoice_info['email']?>
<?php if ($this->invoice_info['phone'] && $this->config->checkout_step5_show_phone) print $this->invoice_info['phone']?>

+ in default_config.php

$config->checkout_step5_show_email = 0;
$config->checkout_step5_show_phone = 0;

 
10.05.2019 12:29
#3
patbe60
Joomshopping forum user no avatar
Name: patbe60
01.03.2012
Сообщения: 14
Quote
Aw: Email and phone on previewfinish.php

These functions are implemented now in the new update. But I couldn't find to change these settings anywhere in the configuration.

So I had to change the settings directly in the default_config.php:

$config->checkout_step5_show_email = 1;
$config->checkout_step5_show_phone = 1;

 
10.05.2019 14:50
#4
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Сообщения: 21468
Quote
Aw: Email and phone on previewfinish.php

Create new file (folder lib/)
user_config.php

add code
<?php
$config->checkout_step5_show_email = 1;
$config->checkout_step5_show_phone = 1;


Последнее изменение: 10.05.2019 14:50
 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.