Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted (edited)

Hi

 

I have the additional image mod installed. Once i installed this seo url. When i click on the second picture..or etc. I will get the invalid link. Please advise.

 

eg. when u go to this page

 

http://www.preciseswiss.com/shop/audemars-piguet-28mm-black-hornback-croco-leather-strap-with-ora-p-1231.html

 

 

When u enlarge the picture and click on "2" for second picture. I will get the wrong link

 

http://www.preciseswiss.com/shop/audemars-piguet-28mm-black-hornback-croco-leather-strap-with-ora-pi-1231.html&sel=2

 

The correct link should be

 

http://www.preciseswiss.com/shop/audemars-piguet-28mm-black-hornback-croco-leather-strap-with-ora-pi-1231&sel=2.html

 

 

Please advise where to correct the order for the link..

 

The sel=2 should be placed before .html

 

Please advise what should i do....

 

 

Hope somebody here can help me.

 

thanks!!

Edited by noodlemee
Posted

Please advise how to i get this fixed??

 

This is the popup_image.php file

 

case 1:

switch($HTTP_GET_VARS['sel']) {

case 1:

print '<a class="main_popup" href=' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . (int)$HTTP_GET_VARS['pID']) . '><b>1</b></a>';

break;

default:

print '<a class="main_popup" href=' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . (int)$HTTP_GET_VARS['pID']) . '>1</a>';

}

break;

case 2:

switch($HTTP_GET_VARS['sel']) {

case 2:

print '<a class="main_popup" href=' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . (int)$HTTP_GET_VARS['pID']) . '&sel=1>1</a>';

print '     <a class="main_popup" href=' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . (int)$HTTP_GET_VARS['pID']) . '&sel=2><b>2</b></a>';

break;

case 1:

print '<a class="main_popup" href=' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . (int)$HTTP_GET_VARS['pID']) . '&sel=1><b>1</b></a>';

print '     <a class="main_popup" href=' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . (int)$HTTP_GET_VARS['pID']) . '&sel=2>2</a>';

break;

default:

print '<a class="main_popup" href=' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . (int)$HTTP_GET_VARS['pID']) . '&sel=1>1</a>';

print '     <a class="main_popup" href=' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . (int)$HTTP_GET_VARS['pID']) . '&sel=2>2</a>';

}

break;

case 3:...................

 

Please advise

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...