I have this snippet of code that was written by somone else and am trying to configure to work with my needs...
$info_box_contents = array();
$info_box_contents[] = array('text' => $categories_string);
$info_box_contents[] = array('align' => 'left', 'text' => '<br><a href="' . tep_href_link('product_info.php', '', 'NONSSL') . '">' . Inspections . '</a>');
This is used to not lose the session id... however I need to access a specific product referred to as product_id...
I have tried:
'product_info.php?product_ID=6&'
When I use this it shows this in the address bar:
however it goes back to the index page... however if I click
another link it displays the same address in the address bar but goes to the product page.
If I leave it as:
'product_info.php'
then it goes to the product page and has the session ID but no product...
How can I get it to list product_id as 6?
I hope I made sense...
$info_box_contents = array();
$info_box_contents[] = array('text' => $categories_string);
$info_box_contents[] = array('align' => 'left', 'text' => '<br><a href="' . tep_href_link('product_info.php', '', 'NONSSL') . '">' . Inspections . '</a>');
This is used to not lose the session id... however I need to access a specific product referred to as product_id...
I have tried:
'product_info.php?product_ID=6&'
When I use this it shows this in the address bar:
however it goes back to the index page... however if I click
another link it displays the same address in the address bar but goes to the product page.
If I leave it as:
'product_info.php'
then it goes to the product page and has the session ID but no product...
How can I get it to list product_id as 6?
I hope I made sense...