- Posts: 18
- Thank you received: 0
Display Product Custom Field in Order Backend View
Thanks.
Please Log in or Create an account to join the conversation.
<?php $class = hikashop_get('class.product');
$productData = $class->get($product->product_id);
echo $productData->CUSTOM_FIELD_COLUMN_NAME;
?>
before the line:
<p class="hikashop_order_product_custom_item_fields">
Please Log in or Create an account to join the conversation.
- Posts: 241
- Thank you received: 5
Seems like I could filter or sort my orders by their associated product... guessing it is in there somewhere.
Thanks.
Please Log in or Create an account to join the conversation.
It's actually not possible to filter orders by products by default in HikaShop.
Many changes are required to display the products in the order listing, or to filter by products.
We have on our TODO list a thing to develop which will allow to display everything with many filters and apply different actions on it.
Please Log in or Create an account to join the conversation.
- Posts: 241
- Thank you received: 5
Please advise.
Please Log in or Create an account to join the conversation.
- Posts: 241
- Thank you received: 5
How do i answer the question from a boss of "who bought x"? or a customer calling in to say "I think I bought x, can you check?" ?
Please Log in or Create an account to join the conversation.
As Xavier said we'll develop a feature to be able to get such data easily.
Until then if you want to get a list of user names of who bought a product, you can run the SQL query below via phpmyadmin :
Please Log in or Create an account to join the conversation.
- Posts: 241
- Thank you received: 5
For a given product, I need user_cms_id of users who have ordered ALL products (parent and child products) where product_alias = XXX (from hikashop_product).
That is where I need the help.
Please Log in or Create an account to join the conversation.
Here it is:
Please Log in or Create an account to join the conversation.
thanks
Please Log in or Create an account to join the conversation.
Yes you can edit this view in Display > Views, backend template.
And if you have errors when editing, you can still delete the modifications by clicking on the dustbin in the views listing.
Please Log in or Create an account to join the conversation.
thank you.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.