Concrete5 Community Store add product options to orders list
Permalink
Hi all,
Thank you in advance to anyone that can offer some pointers here... I am using Concrete5 Community Store and have setup some product options, I was hoping to get one or two of these product options to appear in the orders list along with customer name, order date etc.
I have found the area to edit (single_pages/dashboard/store/orders.php):
And also where the product options come from when shown in the indepth order page (single_pages/dashboard/store/orders.php):
Any help would be greatly appreciated on this situation.
Richard
Thank you in advance to anyone that can offer some pointers here... I am using Concrete5 Community Store and have setup some product options, I was hoping to get one or two of these product options to appear in the orders list along with customer name, order date etc.
I have found the area to edit (single_pages/dashboard/store/orders.php):
<?php if (!empty($orderList)) { ?> <table class="ccm-search-results-table"> <thead> <tr> <th><a><?= t("Order %s","#")?></a></th> <th><a><?= t("Customer Name")?></a></th> <th><a><?= t("Order Date")?></a></th> <th><a><?= t("Total")?></a></th> <th><a><?= t("Payment")?></a></th> <th><a><?= t("Fulfilment")?></a></th> <th><a><?= t("View")?></a></th> </tr> </thead> <tbody> <?php
Viewing 15 lines of 65 lines. View entire code block.
And also where the product options come from when shown in the indepth order page (single_pages/dashboard/store/orders.php):
<?php $items = $order->getOrderItems(); if($items){ foreach($items as $item){ ?> <tr> <td><?= $item->getProductName()?> <?php if ($sku = $item->getSKU()) { echo '(' . $sku . ')'; } ?> </td> <td> <?php $options = $item->getProductOptions(); if($options){
Viewing 15 lines of 34 lines. View entire code block.
Any help would be greatly appreciated on this situation.
Richard