Display orders by most recent first

  • Posts: 377
  • Thank you received: 7
9 years 11 months ago #155698

Hi Jerome,

Is it possible to default the orders on the vendor login area so that the most recent is shown first rather than the oldest?

Thanks

Alex

Please Log in or Create an account to join the conversation.

  • Posts: 26008
  • Thank you received: 4004
  • MODERATOR
9 years 11 months ago #155702

Hi,

Yes.
Please edit the file "components/com_hikamarket/view/ordermarket/view.html.php" and replace

		$cfg = array(
			'table' => 'shop.order',
			'main_key' => 'order_id',
			'order_sql_value' => 'hkorder.order_id'
		);

		$pageInfo = $this->getPageInfo($cfg['order_sql_value']);
By
		$cfg = array(
			'table' => 'shop.order',
			'main_key' => 'order_id',
			'order_sql_value' => 'hkorder.order_id'
		);

		$pageInfo = $this->getPageInfo($cfg['order_sql_value'], 'desc');
I will include this patch in HikaMarket 1.4.1

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Last edit: 9 years 11 months ago by Jerome. Reason: typo fix
The following user(s) said Thank You: Dibben

Please Log in or Create an account to join the conversation.

  • Posts: 377
  • Thank you received: 7
9 years 11 months ago #155704

Thanks,

Works great.

Alex

Please Log in or Create an account to join the conversation.

  • Posts: 32
  • Thank you received: 0
9 years 11 months ago #156391

Hi Jerome, we have problem with ordering prodicts.
1. After evry refresh on the every product page, product reorder every time, for example see here ... donmarin.com/katalog/podovi-plochki/granitogres-20-x-20.html
2.How to order product in product page in site like in product page in administration ? I tried meny time with many options, but not work...

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 26008
  • Thank you received: 4004
  • MODERATOR
9 years 11 months ago #156395

Hi,

I am sorry but this thread is talking about the product listing in the vendor section of HikaMarket.
If you want to manage the product sorting, please see the configuration of your HikaShop menu/module configuration to select the sorting your want. If you have any further question, please open a new thread in the HikaShop forum section.

Kind regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: LIP Trade

Please Log in or Create an account to join the conversation.

Moderators: Obsidev
Time to create page: 0.077 seconds
Powered by Kunena Forum