Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

wrequine

Pioneers
  • Posts

    18
  • Joined

  • Last visited

Reputation Activity

  1. Like
    wrequine got a reaction from mac2me in Wishlist 3.0 Support Thread   
    Okay I feel like an idiot because this took me weeks to figure out, and the solution was so simple - staring me right in the face. But I scoured the forums and couldn't find an answer, so I am posting it here.
     
    To get rid of that annoying black border around your buttons, simply add style="border:0" to the end of this line of code. Once I figured this out, I was able to match the buttons on the wishlist page as well. Now everything looks seamless.
     

    <td class="main"><?php echo tep_image_submit_ori('button_wishlist.gif' , 'Add to Wishlist', 'name="wishlist" value="wishlist" style="border:0"'); ?></td>
  2. Like
    wrequine reacted to Guest in Simple Multi Image Add-on (Un-Limited) with FancyBox Popups   
    THX for your speedy reply; I should have known but did not entirely know where to put the line.
     
    Because I have several images per product which reflect actually the attributes of a product I name the images, eg duchess-blue.jpg, so for the benefit of customers I changed the line in product_info.php a little bit to show the name of the image as well as the name of the product.
     
    "echo '<a rel="image_group" title="'.$product_info['products_name'].'" href="' . ($source ? $source : DIR_WS_IMAGES . $product_info['products_image']) . '" alt="' . $product_info['products_name'] . '" target="_blank">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"', false, 5) . '<br />' . '</a>'; "
    becomes:
    echo '<a rel="image_group" title="'.$product_info['products_name'].'-' .$product_info['products_image'].'" href="' . ($source ? $source : DIR_WS_IMAGES . $product_info['products_image']) . '" alt="' . $product_info['products_name'] . '" target="_blank">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"', false, 5) . '<br />' . '</a>';
     
    and a little bit further on (twice):
    echo '<a rel="image_group" title="'.$product_info['products_name'].'" href="' . tep_href_link($source ? $source : DIR_WS_IMAGES . $value) . '" target="_blank">' . tep_image(DIR_WS_IMAGES . $value, $product_info['products_name'], TINY_IMAGE_WIDTH, TINY_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '</a>';
    becomes:
    echo '<a rel="image_group" title="'.$product_info['products_name'].'-' .$value.'" href="' . tep_href_link($source ? $source : DIR_WS_IMAGES . $value) . '" target="_blank">' . tep_image(DIR_WS_IMAGES . $value, $product_info['products_name'], TINY_IMAGE_WIDTH, TINY_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '</a>';
     
    Maybe other persons might like this too.
    Thx again.
×
×
  • Create New...