Fron-end user order filtering

  • Posts: 1119
  • Thank you received: 114
5 years 7 months ago #305299

Hi,

With Hikashop 4.0.3 we have received great update for fron-end user order filtering. It was really welcome and makes much easier to find orders....

Now question. This part of the code returns number of orders based on current filter:

if(is_string($filterObj))
			echo $filterObj;

But is there a way to get order numbers excluding order range filter?
Basically i would like to hide order range filter if there is no orders at ALL based on order status. So if new user has no created orders it will be hidden, as example....

Thanks

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

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
5 years 7 months ago #305302

Hi,

That would require an extra MySQL query and some PHP with it. It's not impossible if you know MySQL/PHP. The you can just add your code in the orders/listing.php view file.

The following user(s) said Thank You: kyratn

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

Time to create page: 0.043 seconds
Powered by Kunena Forum