How to disable Filter module in compare page?

  • Posts: 15
  • Thank you received: 0
8 years 10 months ago #226205

-- url of the page with the problem -- : ilaza.vn/product/compare.html?cid []=712&cid[]=713
-- Error-message(debug-mod must be tuned on) -- : Disable Filter Module in compare page

Hi!
I'm using Filter module for my website, problem is when i compare product, it will show up error because Filter module didn't disable, i following this solution: www.hikashop.com/forum/4-how-to/57597-hi...l-product-pages.html
and it working on product page, but compare page still error
Please Help me to fix it!
Many thanks!
Quang

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

  • Posts: 82868
  • Thank you received: 13378
  • MODERATOR
8 years 10 months ago #226207

Hi,

You can use a similar method.
Instead of the code:
if(JRequest::getString('task','')!= 'show'){
you can use:
if(JRequest::getString('task','')!= 'show' && JRequest::getString('task','')!= 'compare'){

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

  • Posts: 15
  • Thank you received: 0
8 years 10 months ago #226256

Thank so much, Nicolas! :cheer:

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

  • Posts: 15
  • Thank you received: 0
8 years 10 months ago #226324

Hi! i check again, compare page is ok,now the same problem in checkout page, i try add:
if(JRequest::getString('task','')!= 'show' && JRequest::getString('task','')!= 'compare' && JRequest::getString('task','')!= 'checkout')
but it's not correct.
=> oh, i fix it, it work now, please help me next question.
-1 more question:i have a vendor list, when user click into vendor name, it will show up product list, i using vendor page and Modules under the vendor page is a product list( to show product list in vendor page)
how i can add a filter module to vendor page(child page of vendor list page) to apply for product list of this vendor?
thanks

Attachments:
Last edit: 8 years 10 months ago by quangnguyen.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
8 years 10 months ago #226349

Hi,

For your HikaMarket questions ; please use the HikaMarket section of the forum.

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.

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

Time to create page: 0.066 seconds
Powered by Kunena Forum