V
V
Vitaly2017-03-20 02:26:16
MODX
Vitaly, 2017-03-20 02:26:16

MiniShop2 need to add information about the buyer to the order message?

By default, the message contains the name of the product, quantity, weight, cost.
It is necessary to add information about the buyer and his contacts. How to do it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vitaliy, 2017-03-21
@khlusov

Thank God there were people who suggested:

{if $user.fullname}<p><strong>Ф.И.О.:</strong> {$user.fullname}</p>{/if}
{if $user.email}<p><strong>E-mail:</strong> {$user.email}</p>{/if}
{if $address.phone}<p><strong>Телефон:</strong> {$address.phone}</p>{/if}
{if $address.city}<p><strong>Город:</strong> {$address.city}</p>{/if}
{if $address.street}<p><strong>Адрес:</strong> {$address.street}{/if} 
{if $address.building} {$address.building}{/if}  
{if $address.room} {$address.room}</p>{/if}
{if $address.comment}<p><strong>Комментарии:</strong> {$address.comment}</p>{/if}
{if $delivery.name}<p><strong>Доставка:</strong> {$delivery.name}</p>{/if}
{if $payment.name}<p><strong>Оплата:</strong> {$payment.name}</p>{/if}

Got the answer in the comments here: www.youtube.com/watch?v=TZyzlzT0i6A

S
Sanes, 2017-03-20
@Sanes

What is the problem in collecting the required information when placing an order?
Well, or extend the class

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question