New Vendor Admin: Product HTML Code

The product HTML page provides you with the HTML code snippets for each product. Once obtained, this information can be added to your website to create the product listing and purchase button or link. To access the product HTML page in our new vendor administration panel login at the following url: https://www.2checkout.com/va/

Once you have logged in click on the ‘Products’ tab and then select the ‘View’ sub category. From here you may view your products and click on the HTML icon under the actions column to view the product HTML page. This page will list all of the HTML information as follows.

  • Show the product image on your site- HTML snippets provided for both the thumbnail and full version of the product image.
  • ‘Buy from 2CO’ Link- HTML for a single quantity link.
  • ‘Buy from 2CO’ Button- HTML snippet to create a ‘Buy from 2CO’ Button for a single quantity.
  • ‘Buy from 2CO’ Button with Quantity- HTML snippet to create a ‘Buy from 2CO’ Button with a variable quantity box.
  • Add a Shopping Cart ‘Checkout’ Link- HTML for a view shopping cart/checkout link.
  • Add a Shopping Cart ‘Checkout’ Button- HTML for a view shopping cart/checkout button.

New Vendor Admin: Affiliate HTML Code

The detail affiliate HTML page provides you with the HTML code snippets for each affiliate product. Once obtained, this information can be added to your website to create the affiliate product listing and purchase button or link. To access the affiliate HTML page in our new vendor administration panel login at the following url: https://www.2checkout.com/va/
Once you have logged in click on the ‘Affiliates’ tab and then select the ‘Browse Opportunities’ sub category. From here you may view the affiliate opportunities by selecting the affiliate category that you would like to browse. Once you have found a product you are interested in you may click on the product name to view the affiliate HTML page. This page will list all of the affiliate product information as follows.

  • Short Description- Short description of the product.
  • Long Description- Long description of the product.
  • Recurring- Whether the product is recurring or not. (Y/N)
  • Startup Fee- Startup fee for the product. (Added to the product total)
  • Handling- Handling fee for the product. (Added to the product total)
  • Tangible- Whether the product is tangible or not. (Y/N)
  • Show the product image on your site- HTML snippets provided for both the thumbnail and full version of the product image.
  • ‘Buy from 2CO’ Button- HTML snippet to create a ‘Buy from 2CO’ Button for the product.
  • ‘Buy from 2CO’ Button with Quantity- HTML snippet to create a ‘Buy from 2CO’ Button with a variable quantity box.
  • Add a Shopping Cart ‘Checkout’ Link- HTML for a view shopping cart/checkout link.
  • Add a Shopping Cart ‘Checkout’ Button- HTML for a view shopping cart/checkout button.

Custom Purchase Links

Many of our suppliers have asked if they can customize their Plug and Play purchase links. This article will demonstrate an easy way to do so.

Below is an example of part of an HTML Snippet we may provide. This snippet can be found in the ‘Set Up Products’ section of your account by clicking the ‘HTML’ link for the appropriate product:

<a href="https://www.2checkout.com/checkout/purchase?sid=11&quantity=1&product_id=4"> PRODUCT NAME </a>

Once a supplier has copy and pasted this auto-generated code into their site, it will appear like this to a web browser:

PRODUCT NAME

Using the auto-generated code as a starting point, we can simply remove the link text and replace it with the HTML code for an image:

<a href="https://www.2checkout.com/checkout/purchase?sid=11&quantity=1&product_id=4"><img src="XXXXXX" alt="PRODUCT NAME"></a>

Please make sure that you replace “XXXXXX” with a link to the desired purchase image hosted on your site, “PRODUCT NAME” with your actual product name or other appropriate text and “11″ with your own 2CO supplier ID.

Displaying Product Information

Vendors who use our 3rd party cart parameters often wish for the product details to be displayed on our 2Checkout.com order page. By default, when using this parameter set, only the value of the cart_order_id parameter and the total of the sale are displayed on this page. Did you know it was possible for you to create the products in your vendor account, reference them with a few parameters, and still pass 2Checkout an arbitrary total value? The process is quite simple. We will start from the beginning and you are welcome to follow along by placing your Supplier ID number as the value for the sid parameter in our example links.

Continue reading…

Using Checkboxes With The Plug and Play Purchase Parameters

While the Plug and Play parameter set is typically implemented based on the provided HTML code, it can be extended and used in other forms. In this article we will explain how you can use the plug and play parameters with checkboxes. This will allow you to build an order form on your site where your customers can check the products or services they wish to buy all at once. We will also look at the use of checkboxes for product add-on and options.

Continue reading…

Why do I get a parameter error when adding multiple buy buttons on the same page?

Each button added to the page needs to have its own opening and closing form field. This tells the browser that each form is separate, and not part of the same one.

The following correct example generated two separate buy buttons:

<form action="https://www.2checkout.com/checkout/purchase" method="post">
<input type="hidden" name="sid" value="XXXXXX" />
<input type="hidden" name="product_id" value="10" />
<input type="text" name="quantity" size="5" value="1" />
<input type="submit" name="submit" value="Buy from 2CO" />
</form><form action="https://www.2checkout.com/checkout/purchase" method="post">
<input type="hidden" name="sid" value="XXXXXX" />
<input type="hidden" name="product_id" value="10" />
<input type="text" name="quantity" size="5" value="1" />
<input type="submit" name="submit" value="Buy from 2CO" />
</form>

** Notice that there are two opening tags ( <form> ) and two closing tags ( </form> ).

Another possibility, if you are using an HTML editor, is the editor may be adding extra numbers to the parameters, thinking each identical one is part of the same form, and not a separate form. Look at the parameters in the forms, and make sure there are not extra numbers added to it.
Incorrect Example:

<form action="https://www.2checkout.com/checkout/purchase" method="post">
<input type="hidden" name="sid1" value="XXXXXX" />
<input type="hidden" name="product_id" value="10" />
<input type="text" name="quantity" size="5" value="1" />
<input type="submit" name="submit" value="Buy from 2CO" />
</form>

** Notice that the in second line from the name=”sid1″, this should always be name=”sid”

Important Note: When you are testing parameters, please be certain to clear the cookies in your browser between tests to ensure the changes you have made are applied. For more information on clearing the cookies please click here.

How do I insert HTML code into Front Page?

Insert HTML in the Normal pane.
When you edit a page in the Normal pane, you can insert HTML by using an HTML Markup component. The HTML you insert is added by using a Microsoft FrontPage web component that protects code that FrontPage might not recognize.

Important! FrontPage does not verify the text or HTML you type for correctness, or reformat it when the page is saved!

On the Insert menu, click Web Component.
In the left pane, click Advanced Controls.
In the right pane, double-click HTML.
Type the plain text or HTML you want to insert.
Note: If you click Reveal Tags on the View menu, or if Show All is selected, the inserted text or HTML appears as an HTML Markup icon. The inserted text or HTML, however, will appear as intended on the Preview tab, or when a site visitor views the page.

Recent Posts from the Community:

API Beta

posted by: cliff

session destroy

posted by: rojan

Payment request

posted by: shoj
More from the community »

Spotlight Supplier

Spotlight Supplier

Sell Downloads Guide

Spotlight Product

Spotlight Product

Professional Banner Design


Popular Tags