Hikashop cid availability while using sh404SEF

  • Posts: 69
  • Thank you received: 1
9 years 1 month ago #217889

-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.4.3

Hi,

I am using some of the Hikashop classes and need to retrieve the cid. This has not been an issue until I installed sh404SEF, as I was able to get the cid from the URL... like thus:
$jinput = JFactory::getApplication()->input;
$pid = $jinput->get('cid', 'default_value', 'raw');

Now I cannot due this because sh404SEF removes this infomation. Is there a way to access the hikashop cid values while still having sh404SEF turned on?

Thanks,

Dennis


______________
Dennis Kmetz

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
9 years 1 month ago #217928

Hi,

You can try like that:

$cid = (int)$_REQUEST['cid'];

The following user(s) said Thank You: dkmetz@taylorbruce.com

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

Time to create page: 0.056 seconds
Powered by Kunena Forum