Site maintenance: Sun 15 Nov, from 12:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / General Questions / Creating ADD TO CART link

Creating ADD TO CART link

Locked

Started by tjb on 30 Sep 2008, 4:15 AM · Views: 1,167

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
30 Sep 2008, 4:15 AM
#1
tjb avatar

tjb

New Zenner

Join Date:
Feb 2008
Location:
Illinois
Posts:
54
Plugin Contributions:
0

Creating ADD TO CART link

Is there a way to create a link (using an image or text) that will add a certain product to the cart without having to go it's product page?

I have a site that has just one product at the moment and the customer wants it to show up on the main page. I have put the detail on the Category section and set the site so that the category comes up as the main page. They would like to have an add to cart button or link available halfway through the detail so the customer doesn't have to scroll to the bottom of the page to click ADD TO Cart. I have tried to use the ADD TO CART link that the normal ADD TO CART button points to but the shopping cart page turns up empty.

Example of the link that I am trying to use with an image
https://www.website.com/ index.php?main_page=product_info&sort=20a&action=add_product&products_id=2

Is there a way of doing this?

Thomas Brophy

30 Sep 2008, 4:17 AM
#2
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Creating ADD TO CART link

Add image, details and link to product via html in
define main page...accessed via admin/tools
:smile:

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others