Jump to content

Add to Cart buttons for other products in Product Description


Recommended Posts

I'm trying to add "Add to Cart" buttons (with and without attributes) in a product description so a customer can add products to the cart to create a kit without having to search through my whole website for all the parts.

 

I've tried:

https://www.griffineffects.com/cart.php?qty=1&id_product=134&add=1

and

https://www.griffineffects.com/cart.php?qty=1&id_product=171&id_product_attribute=134&add=1

and neither seem to work.

 

This is the form code I'm using:

<form method="post" action="https://griffineffects.com/cart.php?qty=1&id_product=134&add=1">
<input type="hidden" name="id" value="167411" />
<input type="hidden" name="lp" value="" />
<input type="text" name="q" value="1" size="3" maxlength="5" />
<input type="submit" name="buy" value="Buy It Now" />
</form>

Here is the link to the product I'm trying to create the add to cart button for:

http://www.griffineffects.com/resistors/171-metal-film-resistors.html#/134-resistor_values-100k

Attached image is what I'm trying to accomplish.

post-346074-0-18678700-1466097380_thumb.jpg

Edited by bside2234 (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...