Remove "related_product" from URL

  • Posts: 251
  • Thank you received: 2
12 years 11 months ago #31440

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

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
12 years 11 months ago #31460

Hi,

You need to change the line:
$category_pathway = '&category_pathway='.JRequest::getInt('category_pathway',0).'&related_product='.$product_id;

to:
$category_pathway = '&category_pathway='.JRequest::getInt('category_pathway',0);

in the file components/com_hikashop/views/product/view.html.php

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

  • Posts: 251
  • Thank you received: 2
12 years 11 months ago #31507

Great!

Thank you!

Last edit: 12 years 11 months ago by Nello.

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

  • Posts: 251
  • Thank you received: 2
12 years 11 months ago #31508

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

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
12 years 11 months ago #31535

in that same file you should add the code:
$category_pathway = '';
before the code:
$this->assignRef('category_pathway',$category_pathway);

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

  • Posts: 251
  • Thank you received: 2
12 years 11 months ago #31538

Thank you!

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

Time to create page: 0.069 seconds
Powered by Kunena Forum