How do I include customer notes in customer email and/or PDF?

10.10.2022 19:30
#1
Scrabble
Joomshopping forum user no avatar
Name: Scrabble
04.10.2022
Posts: 33
Quote
How do I include customer notes in customer email and/or PDF?

In order for the customer to have a record of what they wrote in the checkout box "Notes added below will be added to your order:" they need to be included in either the PDF or the customer's confirmation of order email.

Ideally, it would be included in both the email and the PDF for both the shop owner and the customer.

How can I do this?

Thank you.


Joomla: 4.2.2
JoomShopping: 5.1.0
PHP: 8.0.23

Scrabble
 
10.10.2022 20:50
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25941
Quote
Aw: How do I include customer notes in customer email and/or PDF?

components\com_jshopping\templates\default\checkout\orderemail.php

<?php if (!$this->client){?>
<tr>
<td colspan="5" class="bg_gray"><?php print JText::_('JSHOP_CUSTOMER_NOTE')?></td>
</tr>
<tr>
<td colspan="5" style="padding-top:10px;"><?php print $this->order->order_add_info ?></td>
</tr>
<tr><td>&nbsp;</td></tr>
<?php } ?>

------------------------

<?php if (!$this->client){?>

change to

<?php if (1){?>

 
12.10.2022 12:50
#3
Scrabble
Joomshopping forum user no avatar
Name: Scrabble
04.10.2022
Posts: 33
Quote
Aw: How do I include customer notes in customer email and/or PDF?

Thank you. This works perfectly.


Scrabble
 


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.