echo out the $item .. might already be there
will always come from the VM admin models
print 'Debug Line '.__LINE__.' $item <pre>'; print_r ($item); print "</pre><br />\n";
Quote from: GJC Web Design on September 02, 2016, 19:47:13 PM
echo out the $item .. might already be there
will always come from the VM admin models
print 'Debug Line '.__LINE__.' $item <pre>'; print_r ($item); print "</pre><br />\n";
I'm not understanding this, function is in the model right?
View is calling variables from the function and
tmpl displays or 'echo' these variables depending on information.
I have noticed in the 'view' that the details view is done after
if ($layoutName == 'details') {
here it calls the model function(getMyOrderDetails which is in orders model)
$orderDetails = $orderModel ->getMyOrderDetails();
I've tried to replicate this for the list view, but it doesn't recognise the indexes in this statement
$orderbt = $orderDetails['details']['BT'];
does anyone know where these indexes are coming from, or even what information should be contained in the 'details' or 'BT' indexes??
Thanks