- Posts: 37
- Thank you received: 0
Add a new column in the Hikashop Orders listing
- girish.tiwaricb
-
Topic Author
- Offline
Less
More
10 years 6 months ago #235379
by girish.tiwaricb
Add a new column in the Hikashop Orders listing was created by girish.tiwaricb
-- HikaShop version -- : HikaShop Business 2.3.5
-- Joomla version -- : 3.4.8
-- PHP version -- : 5
-- Browser(s) name and version -- : Firefox
Hi,
We are using hikashop with JMS2WIN multisite extension. So, for both sites the orders, products, customers are same but the frontend template and few settings are different which is handled by multisite extension.
We want to create a new column in admin Orders listing to distinguish order source, we have a parent site (domain.com) and child site (child.com), so we want to add a entry (domain name) on the order table when order is creating and want to show that column in order listing. What is the best way to do it.
We tried by creating a custom field for order using Hikashop custom fields and the column is created on order table but not sure how to add domain name at the time of order creation.
-- Joomla version -- : 3.4.8
-- PHP version -- : 5
-- Browser(s) name and version -- : Firefox
Hi,
We are using hikashop with JMS2WIN multisite extension. So, for both sites the orders, products, customers are same but the frontend template and few settings are different which is handled by multisite extension.
We want to create a new column in admin Orders listing to distinguish order source, we have a parent site (domain.com) and child site (child.com), so we want to add a entry (domain name) on the order table when order is creating and want to show that column in order listing. What is the best way to do it.
We tried by creating a custom field for order using Hikashop custom fields and the column is created on order table but not sure how to add domain name at the time of order creation.
Please Log in or Create an account to join the conversation.
10 years 6 months ago #235406
by nicolas
Replied by nicolas on topic Add a new column in the Hikashop Orders listing
Hi,
There is already the column "order_site_id" in the hikashop_order table in recent versions of HikaShop and it's already filled with the site id automatically.
So all you would have to do is to display it in the "listing" file of the "order" view for your backend template via the menu Display>Views.
So just update to the latest version of HikaShop and you should be able to easily do that.
There is already the column "order_site_id" in the hikashop_order table in recent versions of HikaShop and it's already filled with the site id automatically.
So all you would have to do is to display it in the "listing" file of the "order" view for your backend template via the menu Display>Views.
So just update to the latest version of HikaShop and you should be able to easily do that.
Please Log in or Create an account to join the conversation.
Time to create page: 0.165 seconds