Email to customer configuration

09.04.2016 21:46
Joomshopping forum user no avatar
Name: Dave Webber
Posts: 7
Email to customer configuration

I have a client that requires an email to be sent to the customer when there order is successful, this is easy and I have set it up, adjusted the orderemail.php file to add there logo, however...

There are 4 shipping options 1 of which has should show no delivery address, two should show the delivery address and one would show the name of the category (School Name)

I think the variable that needs adjusting is:-
<?php if ($this->count_filed_delivery >0) {?>

the id's of the postal options are 1, 5, 3, 4.
1 & 5 would show the postal address
3 would show Collect from Client
4 would show Collect from School

I think I need something like below but help is needed...

<?php if ($this->count_filed_delivery =1 xor 5) {?>
<table><tr> Address Details </tr></table>

<?php if ($this->count_filed_delivery =3) {?>
<p>Collect from Client</p>

<?php if ($this->count_filed_delivery =4) {?>
<p>Collect from School</p>

Thank you in advance for any assistance.

Joomla: 3.5.1
JoomShopping: 4.12.3
PHP: 7.04

Letzte Änderung: 09.04.2016 21:46
Copyrights MAXXmarketing GmbH. All Rights Reserved