Hello everyone.
I need a quick help with ModX snippets and miniShop2.
I need fill a snippet with some miniShop2 placeholders data:
<?php
$data = array();
$order_id = 'order id here';
description = 'Description here';
order_grand_total = total here; //float format
I know that the placeholder for total price is: [[+total_cost]]
but I have not IDEA how to call it inside the snippet (so stupid with php, sorry)
and no idea where can I find the order ID.
Regarding the description I need it just as text separated by coma, but I don't know what might be the best way to call it because unlike than the price or ID this one is composed by different resources or products.
Really appreciate any help, thank you very much.