Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

I have added the two highslide mods to my site - the product_info one is working ok but I am having a problem with the product_listing one...

When I click on a category the product price, buttons etc appears but there are no images.

 

This is the code that was modified:

 

case 'PRODUCT_LIST_IMAGE':
           $lc_align = 'center';
           //*    © Captain FLAM - Début - Highslide Module    *//
           if ( isset( $HTTP_GET_VARS['manufacturers_id'] ) ) {
             //$lc_text = '<a href="' . tep_href_link( FILENAME_PRODUCT_INFO, 'manufacturers_id=' . $HTTP_GET_VARS['manufacturers_id'] . '&products_id=' . $listing['products_id'] ) . '">' . tep_image( DIR_WS_IMAGES . $listing['products_image'], $listing['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT ) . '</a>';
             $lc_text = '<a id="thumb' . $listing['products_id'] . '" class="highslide" onclick="return hs.expand(this);" href="' . DIR_WS_IMAGES . $listing['products_image'] . '" alt="'. $listing['products_name'] .'">' . tep_image( DIR_WS_IMAGES . $listing['products_image'], $listing['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT ) . '</a>';
           } else {
             //$lc_text = ' <a href="' . tep_href_link( FILENAME_PRODUCT_INFO, ( $cPath ? 'cPath=' . $cPath . '&' : '' ) . 'products_id=' . $listing['products_id'] ) . '">' . tep_image( DIR_WS_IMAGES . $listing['products_image'], $listing['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT ) . '</a> ';
             $lc_text = ' <a id="thumb' . $listing['products_id'] . '" class="highslide" onclick="return hs.expand(this);" href="' . DIR_WS_IMAGES . $listing['products_image'] . '" alt="'. $listing['products_name'] .'">' . tep_image( DIR_WS_IMAGES . $listing['products_image'], $listing['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT ) . '</a> ';
           }
           //*    © Captain FLAM - Fin   - Highslide Module    *//
           break;

 

Any help will be greatly appreciated!

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...