aniarti Project Leader De Italy Miembro desde ene. 2025 aniarti 12 ene. 2025 18:38 Hi, thanks a lot for the great job. I am new, install the package some days ago and try to read the forum to configure the system. I put italian language reading this forum. In order confirmation email there is no product sorted. If the order contain 1 or more articles Have you suggestion?
s22_tech Moderator De United States Miembro desde oct. 2019 s22_tech 12 ene. 2025 19:12 Salve aniarti. Benvenuto! Di dove sei in Italia? The wiki may be better than the forum to find information on installing LiteCart. Check out this page: https://www.litecart.net/en/wiki/how_to_install In order confirmation email there is no product sorted. If the order contain 1 or more articles I'm not sure if you mean: no items are printed in your confirmation email the items are printed, but not in the sort order you want Please clarify.
aniarti Project Leader De Italy Miembro desde ene. 2025 aniarti 12 ene. 2025 19:20 Si, Italia, un'associazione. La sede e' a Genova, ma io sono dalla Toscana. no items are printed in your confirmation email Sorry
s22_tech Moderator De United States Miembro desde oct. 2019 s22_tech 12 ene. 2025 19:46 Is it only the items that are missing from the email or are other things missing, as well? The email should look like this: Thank you for your purchase! Your order #%order_id has successfully been created with a total of %payment_due for the following ordered items: %order_items A printable order copy is available here: %order_copy_url Regards, %store_name %store_url (The words that start with % should be replaced with the values that you set up during installation.) Also, check the order in the admin and make sure that the items are showing there. Perhaps nothing was saved when you checked out?
aniarti Project Leader De Italy Miembro desde ene. 2025 aniarti 12 ene. 2025 19:52 %order_items Is not present let me try ... thanks a lot ... for really fast reply
aniarti Project Leader De Italy Miembro desde ene. 2025 aniarti 12 ene. 2025 21:47 That's work fine. Thank you for suggestion ... for faster suggestion!!! Is there a list of variables ? Thank you.
s22_tech Moderator De United States Miembro desde oct. 2019 s22_tech 12 ene. 2025 22:00 Here is the list of aliases from /includes/entities/ent_order.inc.php $aliases = [ '%order_id' => $this->data['id'], '%new_status' => $order_status->name, '%firstname' => $this->data['customer']['firstname'], '%lastname' => $this->data['customer']['lastname'], '%billing_address' => nl2br(functions::format_address($this->data['customer']), false), '%payment_transaction_id' => !empty($this->data['payment_transaction_id']) ? $this->data['payment_transaction_id'] : '-', '%shipping_address' => nl2br(functions::format_address($this->data['customer']['shipping_address']), false), '%shipping_tracking_id' => !empty($this->data['shipping_tracking_id']) ? $this->data['shipping_tracking_id'] : '-', '%shipping_tracking_url' => !empty($this->data['shipping_tracking_url']) ? $this->data['shipping_tracking_url'] : '', '%order_items' => null, '%payment_due' => currency::format($this->data['payment_due'], true, $this->data['currency_code'], $this->data['currency_value']), '%order_copy_url' => document::ilink('order', ['order_id' => $this->data['id'], 'public_key' => $this->data['public_key']], false, [], $this->data['language_code']), '%order_status' => $order_status->name, '%store_name' => settings::get('store_name'), '%store_url' => document::ilink('', [], false, [], $this->data['language_code']), ]; You can add your own, too, if you want. I'd recommend doing that via a vMod .
aniarti Project Leader De Italy Miembro desde ene. 2025 aniarti 13 ene. 2025 09:52 thank you so much. I am not able to write module, but ca use this variables in email.
s22_tech Moderator De United States Miembro desde oct. 2019 s22_tech 15 ene. 2025 23:07 I highly recommend you learn how to create vMods. Trust me — your life with LiteCart will be soooo much easier. Not to mention that when you decide to update LiteCart – and you will – you won't lose the changes you've made. Plus, when something breaks because of something you've done, all you have to do is disable your vMods and then enable them again one-by-one until you've found the culprit. If you hard-code your changes into the core files, all I can say is good luck at finding them. Do yourself a favor and go the vMod route. Seriously. It's the best thing since sliced bread! 😀 Buon lavoro!
aniarti Project Leader De Italy Miembro desde ene. 2025 aniarti 16 ene. 2025 00:46 thank you. i have to learn PHP more than i know now. let me try