Skip to main content

Remove "related_product" from URL

More
14 years 10 months ago #31440 by Nello

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

More
14 years 10 months ago #31460 by nicolas
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.

More
14 years 10 months ago - 14 years 10 months ago #31507 by Nello
Great!

Thank you!
Last edit: 14 years 10 months ago by Nello.

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

More
14 years 10 months ago #31508 by Nello

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

More
14 years 10 months ago #31535 by nicolas
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.

More
14 years 10 months ago #31538 by Nello
Thank you!

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

Time to create page: 0.185 seconds
Powered by Kunena Forum