Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Linkshare buy now buttons removal


cougarabc

Recommended Posts

Posted

:'( Is there way to remove the first or first and second set of buy now buttons? I have some affiliate products that I have set at zero dollars because I want the customer to go to the product company to purchase the certain product. I may have one whole category for this, or I may have a few products within a category. I would like to have the customer click through to the certain product to see the link to go to. I dont' want to keep the zero pricing in there with the buy now. I do have instruction on those products to click the link.

 

Another question, can we color code links??? and How????? >_<

 

Thanks for all your help and support

Posted

<?php if ($product_price == '0.00') { ?>
			<td class="main" align="right"></td>
		<?php } else { ?>
			<td class="main" align="right"><?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); ?></td>				<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
		<?php } ?>

 

 

I think that MAY work. Put near the bottom of product_info.php where the button part is.

Posted

The link comes from the stylesheet;

 

A {

color: #000000;

text-decoration: none;

}

 

A:hover {

color: #AABBDD;

text-decoration: underline;

}

 

 

From there you can change the link color but that will change ALL the links.

Archived

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

×
×
  • Create New...