Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

adding the "add to cart" link


Recommended Posts

I wanted to add the "add to cart" link at the main page but to no avail. I want it to go directly to cart content instead of product info. Looks like I pointed to the wrong link because the page doesn't move or maybe my code is wrong. Can anyone help with this? Below is the code I added


 <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '">' . ? ?tep_image_button('button_in_cart.gif', IMAGE_BUTTON_IN_CART). '</a>

Link to comment
Share on other sites


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

  • Create New...