add to cart as a url link

28.08.2015 16:04
#1
JARECKI74
Joomshopping forum user no avatar
Name: JAR
22.08.2015
Posts: 13
Quote
add to cart as a url link

Hi

i need create add to cart product as url link on the basis of this form

it is possible ?

can you please help me ?

example http://mydomain.com/?product=1&cat=1&freeattr=1&cart=add

<form name='product' method='post' action='http://mydomain.com/shop/cart/add' enctype='multipart/form-data'>
<input type='hidden' class='inputbox' size='40' name='freeattribut[1]' value=''/>
<input type='hidden' name='quantity' id='quantity' class='inputbox' value='1' />
<input type='hidden' name='to' id='to' value='cart' />
<input type='hidden' name='product_id' id='product_id' value='1' />
<input type='hidden' name='category_id' id='category_id' value='1' />
<input name='submit' type='submit' value='Add to cart'/>
</form>

 
28.08.2015 16:45
#2
JARECKI74
Joomshopping forum user no avatar
Name: JAR
22.08.2015
Posts: 13
Quote
Aw: add to cart as a url link

solved

http://mydomain.com/shop/cart/add?freeattribut[1]=aaaa&quantity=1&product_id=1&category_id=1&to=cart


JARECKI74 - 28.08.2015 16:04
Hi

i need create add to cart product as url link on the basis of this form

it is possible ?

can you please help me ?

example http://mydomain.com/?product=1&cat=1&freeattr=1&cart=add

<form name='product' method='post' action='http://mydomain.com/shop/cart/add' enctype='multipart/form-data'>
<input type='hidden' class='inputbox' size='40' name='freeattribut[1]' value=''/>
<input type='hidden' name='quantity' id='quantity' class='inputbox' value='1' />
<input type='hidden' name='to' id='to' value='cart' />
<input type='hidden' name='product_id' id='product_id' value='1' />
<input type='hidden' name='category_id' id='category_id' value='1' />
<input name='submit' type='submit' value='Add to cart'/>
</form>


 
Copyrights MAXXmarketing GmbH. All Rights Reserved