Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Problems adding to cart in custom front end

Problems adding to cart in custom front end

Locked

Views: 518

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
28 May 2010, 3:52 AM
#1
votartheunsure avatar

votartheunsure

New Zenner

Join Date:
May 2010
Posts:
2
Plugin Contributions:
0

Problems adding to cart in custom front end

Ver: 1.3.9b

My client wants a fully custom front end for her store which I've done but....and there's always a but.....I am having trouble getting the selected product into the shopping cart. I found this code fragment (which claimed to do the job):

<form action="http://[your domain name]/index.php?main_page=product_info&cPath=[your cPath]/&products_id=[your products_id]/&action=add_product" method="post" enctype="multipart/form-data" name="cart_quantity" id="cart_quantity"> <input type="hidden" name="cart_quantity" value="1" maxlength="6" size="4" /> <input type="hidden" name="products_id" value="[your products_id]" /> post </form>

but the closest it comes is to take me to the page that lets me put a product in the cart (the product ID comes across properly but the quantity doesn't) and I still have to click to add the product to the cart. Oh, and on IE it doesn't even do that - just wanders about in the ether for a few minutes and comes back to where the original page.

Any help would be appreciated as the client is really feeling the pressure from her client.

Thanks,

Mike

28 May 2010, 4:00 AM
#2
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Problems adding to cart in custom front end

Zen Cart is not designed to be used the way you're proposing. It can be done, but it takes a great deal of knowledge and work.

28 May 2010, 4:17 AM
#3
votartheunsure avatar

votartheunsure

New Zenner

Join Date:
May 2010
Posts:
2
Plugin Contributions:
0

Re: Problems adding to cart in custom front end

I did the same thing for a store using OS commerce and it wasn't anywhere near as difficult as this is turning out to be.

Maybe someone's got an answer, or at least a direction to point me in.

Thanks,

Mike