Fron-end user order filtering

  • Posts: 965
  • Thank you received: 75
  • Hikashop Business
1 month 2 weeks 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: 65661
  • Thank you received: 9582
  • MODERATOR
1 month 3 weeks 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.053 seconds
Powered by Kunena Forum