Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

I had a design that used a Graphic for Tell a friend that would show even if you weren't in a product info page so I added the following code to hide the table row - thought some one else might find this useful:

 

<?php

// Show IF Conditional region1

if (@$_GET['product_id'] = "") {

?>

<tr>

<td align="left"><img src="../../../../assets/storeimages/headers/tellafriend.jpg" alt="3" width="193" height="59"></td>

</tr>

<tr>

<td valign="top">$tellafriendbox</td>

</tr>

<?php }

// endif Conditional region1

?>

 

I added this on the index.php.html template page mainly for the front page itself.

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