Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Just need simple add to cart link


monkey13

Recommended Posts

without a link can help

 

Cheers

 

G

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Link to comment
Share on other sites

  • 2 weeks later...
  • 11 months later...

If your trying to get rid of the add to cart primary button to replace it with a themed button then replace the line

 

<span class="buttonAction"><?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_draw_button(IMAGE_BUTTON_IN_CART, 'cart', null, 'primary'); ?></span>

 

with

 

<span class="buttonAction"><?php echo tep_draw_button(IMAGE_BUTTON_IN_CART,'cart' ,tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $product_info['products_id'] . '&action=buy_now')); ?></span>

I hate everything about web programming, give me C++ and MFC any day. Strangely enough, I love OSc.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...