Wrong Itemid in Order Management(backend) for show product

  • Posts: 567
  • Thank you received: 11
8 years 3 months ago #264191

-- HikaShop version -- : 3.0.1
-- Joomla version -- : 3.6.1
-- PHP version -- : 5.4.45

Dear

We face this problem
option=com_hikashop&ctrl=product&task=show&cid=8024&tmpl=component&Itemid=890

item 890 is currently a login/registration page and thus it cause a error

an itemid was added wrongly, we can not find a place to change it from configuration, how can we define this itemid for backend product link in the order editing page?

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

  • Posts: 83989
  • Thank you received: 13604
  • MODERATOR
8 years 3 months ago #264220

Hi,

There is no option for that.
You'll have to change the line:

<a onclick="return window.orderMgr.showProduct(this);" href="<?php echo hikashop_frontendLink('index.php?option=com_hikashop&ctrl=product&task=show&cid='.$product->product_id,true); ?>"><?php
in the file "show_products" in the menu Display>Views in order to add the Itemid parameter you want. Since there isn't any defined by default, HikaShop automatically attributes one from the frontend.

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

Time to create page: 0.055 seconds
Powered by Kunena Forum