'Add to Basket' Examples

You don't have to just have basic 'Add to Basket' buttons or links. See below for other examples of what you can do.

Other ways that you can use RomanCart

Adding the RomanCart shopping cart to your website can be as simple as pasting in a hyperlink, or you might prefer using a form and a button. Listed below are some examples of what the cart can do, and how to do it.

RomanCart Footer

Basic 'Add to Basket' hyperlink

A great product that you'll really enjoy owning!

Add to Basket

The Code for this link is:

RomanCart Footer

Shopping cart hyperlink wizard

Let's make it even easier. Enter the name and Price of your Product below, and you can paste the link code directly into your Website.

Your Store Id
The name of the item you are selling
The price of the item (excluding any currency symbols)
You can paste this link directly into the code of your web page for an 'Add to Basket' link...
Test the link Add to Basket
If you are using a web design tool with some sort of 'Insert Hyperlink' function, the URL to insert is...
RomanCart Footer

Basic 'Add to Basket' form

Another fantastic product that you'll really enjoy owning!

 
The Code for this button is:

RomanCart Footer

Basic 'Add to Basket' form using your own image as a button

Another fantastic product that you'll really enjoy owning!

 
The Code for this button is:

RomanCart Footer

Fields you can send to the cart

RomanCart Footer

'View Basket' link.

You can also add a button or link to view the shopping basket.

View Basket

The Code for this link is:

RomanCart Footer

'View Basket' form.

 
The Code for this button is:

RomanCart Footer

Single variation e.g. Color dropdown

You can add a dropdown box to allow customers to customize the product.

A Great Product in:

 
The Code for this link is:

RomanCart Footer

Single variation which modifies the price

Each option can be a different price - put the price in {braces}

A Great Product in:

 
The Code for this link is:

RomanCart Footer

Multiple variations which modify the price

If you have lots of options, this is not a problem, you can post itemname, itemname2, up to itemname10.
In this example, we have also added prices to the options, but this is optional.

A Great Product (£1.99) in:
Size:
Pack:
Dimensions:

 
The Code for this link is:

RomanCart Footer

Single variation which modifies the price and weight

Each option can be a different price - put the price in {braces}

And a different weight - add the weight after W in the braces

A Great Product in:

 
The Code for this link is:

RomanCart Footer

Donation button where customer enters amount to donate

Amount to Donate:

 
The Code for this button is:

RomanCart Footer

Personalise an Item e.g. Getting the name to inscribe with

If you need to personalise an item, no problem

Personalised NamePlate £9.99 Name Required:

 
The Code for this form is:

RomanCart Footer

Main product with accessories e.g. Toy car and batteries

You can also have accessory products by prefixing the accessory fieldnames with Xn where n is a number between 1 and 100. The 'dependentmaster' parameter means that if the main product is removed from the cart the accessory products will also be removed.

 Main Product
Accessory 1
Accessory 2

 
The Code for this link is:

RomanCart Footer

Allowing the customer to add several products at once selected by checkboxes.

Product 1
Product 2
Product 3

 
The Code for this link is:

RomanCart Footer

Allowing the customer to add several products at once selected by checkboxes (Product Manager).

 
Set the products required for this on the product manager to mustbuy=no
Change the itemcodes and storeid to your own
The Code for this link is:

RomanCart Footer

Allowing the customer to add several products at once selected by quantity.

Product 1
Product 2
Product 3

 
The Code for this link is:

RomanCart Footer

Setting up quantity discounts

 
The Code for this link is:

RomanCart Footer

Setting up quantity discounts across a number of products

Submit products with mixed quantity discounts using the qdgroup parameter.
The total quantity of both products provides the threshold for the discount price.

 
The Code for these buttons is:

RomanCart Footer

Allow customers to enter a quantity on your page

Quantity:

 
The Code for this button is:

RomanCart Footer

Allow customers to enter a quantity from a list on your page

Quantity:

 
The Code for this button is:

RomanCart Footer

Use your own graphical buttons for the recalculate, checkout and continue shopping buttons on the cart

Upload some pictures to the web somewhere, and link to them in the basket page sub header or footer.

RomanCart Footer

Show the cart quantity and total on your own website

To show the cart quantity and total on your own website insert the following code onto your webpage.

Paste the following line just before the </body> tag on your page (changing the storeid value from 10000 to your own).

Next paste the following lines where you want the actual values to appear.
These return the value and currency symbol. You can use one, some or all of these.

Quantity...

Total...

Total ex Tax...

Total Tax...

Subtotal...

Alternatively you can use the following scripts (slower).

Quantity...

Total...

Total ex Tax...

Total Tax...

Subtotal...

RomanCart Footer

Post Customer Details to the Cart

To post customer details to the cart you can use the following fields. Always make sure the Address1 field is populated.

 
The following fields are for the delivery address (if applicable).

RomanCart Footer

Using the Product Manager

If you would prefer not to store your product details and prices on your web pages you can use the product manager.

Click on the 'Product Manager' button on the Romancart control panel and preload the cart with the details of each product.

If a product has several options, you will need to create modifier groups. An example modifier group might be 'Size' - with 'Small', 'Medium' and 'Large' as the modifiers.

Once you have added a product to the product manager, you only need to post the itemcode and storeid parameters for each product to the cart. If you are using modifiers then you will need to also post the itemnameX parameter as shown on the product manager for the modifier group.

RomanCart Footer

Product manager example for a simple product

Another fantastic product that you'll really enjoy owning!

 
The Code for this button is:

RomanCart Footer

Product manager example with modifiers

Each option can be a different price - set the price and weight modifications on the product manager for each modifier value

A Great Product in:

 
The Code for this link is:

RomanCart Footer

Product manager example with radio buttons

Which product would you like to buy?

Product A:
Product B:
Product C:

 
The Code for this button is:

RomanCart Footer

Product manager example with multiple groups of radio buttons

Which product would you like to buy?

None:
Product A:
Product B:
Product C:

None:
Product D:
Product E:
Product F:

 
The Code for this button is:

RomanCart Footer

Important: Test the 'Add to Basket' buttons or links you have created once you have uploaded your page(s) to the Internet, not when the page is stored on your PC.

Click here to get started

Sign up to RomanCart NOW and you can try out the above examples on your own cart!

RomanCart Footer
How to use PayPal How to use Amazon How to use Google Checkout How to use Authorize.net How to use SagePay How to use HSBC How to use ePDQ How to use WorldPay How to use PayPoint Courier Delivery VeriSign