Advanced Solutions

Modified on Sun, 24 Sep, 2023 at 4:41 PM

I use a programming language and database to display product pages on my web site. What's the best way to integrate my web site with your shopping cart?

It's very easy to integrate this type of web site with the shopping cart. In your database, you probably assign a unique ID (number or code) to each of your products. The shopping cart can reference this product ID when your customers add an item to their cart, instead of using the item ID number assigned to it by our system.

To accomplish this, you will need to place each product's unique ID (the one you use in your database) in the product "name" field (in the Products area).

Use the following HTML code in the asp or cgi script you use to build your product pages:

<form method="post" action="">
<input type="hidden" name="sku" value="UNIQUE ID">
Quantity: <input type="text" name="quantity" value="1" maxlength="3" size="3">
<input type="submit" name="add" value="Add to Cart">

As your asp or cgi script builds each page and reads product data from your database, it should substitute "UNIQUE ID" with the product ID in your database. This will create one "Add to Cart" button and quantity box for each product on your web site.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article