Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Creating 'hot spot' links on front page without disturbing session ID's?


aaronc

Recommended Posts

I have a jpeg image on the front page which I want to include links to the relevent products, but as i understand it if you create hot spot links in DW which are applied to the part of the image you need to put something in the link which sorts out the session ID.....

 

The front page is www.laptopworkshop.com, as you can see there are three laptops which I want to individually link to the correct product in the laptpo section but what do put in the link so the session ID is kept to the user?

 

thanks for any help in advance

Link to comment
Share on other sites

Have many ways to do it. this is one...

 

You can create and static link in the file name:

Go to you filename.php in /includes

define the url define('FILENAME_PERSONAL','index.php?cPath=24');

 

open index.php and put the url

<a href="<?PHP echo tep_href_link (FILENAME_PERSONAL)?>"><?php echo PERSONAL;?></a>

Erwin D. Padilla

Web Developer and Linux Admin

Link to comment
Share on other sites

Have many ways to do it. this is one...

 

You can create and static link in the file name:

Go to you filename.php in /includes

define the url define('FILENAME_PERSONAL','index.php?cPath=24');

 

open index.php and put the url

<a href="<?PHP echo tep_href_link (FILENAME_PERSONAL)?>"><?php echo PERSONAL;?></a>

 

Thanks for the reply

 

So http://www.laptopworkshop.com/store/produc...products_id=716 would become what?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...