FreeCart Quickstart Guide

FreeCart Quickstart Guide

To activate FreeCart on a page, simply add the following code to your HTML:

<script src="https://freecart.store?1234"></script>

Replace '1234' with your User ID, which you can find in the "Account" tab of the control panel. This script will automatically load FreeCart on your webpage.

This will create an inline shopping cart (FreeCart) in the upper right corner of your website. You can adjust its position from the Account tab in the control panel for better integration with your site’s layout.

For precise positioning of the cart, use this code in your HTML:

<div id="integrated_cart"></div>

When a product image or images, product description, or options are used, FreeCart will automatically open a product detail window. This allows customers to get more information about the product and make a purchase quickly and easily.

IF you NEED HELP with ANYTHING regarding FreeCart we are HERE TO HELP.
CONTACT US and we will assist you ASAP!

Once FreeCart is activated, you can use two modes for your products:

QUICK AND SIMPLE PAY BUTTON (No Options)

Minimum Required Example Code:

<a href="#Cool T-shirt$24.99">Buy # for just $</a>

a href method
To create a Pay Button, add a href link to "#[Product Name]$[Price]" in your HTML code.
'#' marks the start of the Product Name and '$' marks the start of the Product Price. This is called the a "href-method".
All params and options except for [product name] and [price] is separated with a & as you will see in the examples, therefore, do not use of & in your descriptions or product names or _img URLs, if possible. If you MUST use & in Image-urls (_img parameter), you should always embrace the full URL in single quotes '

textarea method
If you prefer, you can use a textarea instead of a href, for more readability (and if you use many parameters). You add #[Product Name]$[Price] between the opening and closing textarea tags.
Note! The [Product Name] and [Price] MUST always be on the same row and must not use newlines, see example below! Also, with textarea method you separate each parameter and option with a newline and therefore you should not use & to separate when using textarea.

The $ in the syntax does not stand for US Dollars, but is just a marker for the product price!
The currency is set in the Control Panel and not in the shop pages! This simple approach allows for quick integration of e-commerce functionality into your website.
See examples below!

Note: For prices with decimals, use a period (.) not a comma (,). For example, 5.95 is correct, 5,95 is not. This ensures proper price formatting and calculation.

Examples:

a href method

<a href="#Nice Sweater$32.99">Buy # for just $</a>

textarea method

<textarea>
#Nice Sweater$32.99
Buy # for just $
</textarea>

In this example, '#' is replaced with "Nice Sweater" and '$' with "32.99" (plus the currency symbol set in your Control Panel). This dynamic replacement allows for easy customization of product names and prices.

Single Image Example:

<a href="#Cool T-shirt$24.99"><img src="https://freecart.store/media/tgreen.jpeg">Buy # now!</a>
<textarea>
#Cool T-shirt$24.99
_img=https://freecart.store/media/tgreen.jpeg
Buy # now!
</textarea>

img-tag
in a href-mode, When putting an image between the a-link tags, it automatically becomes the product image. Customers can click to view a detailed product view, and click again to close. The image will also appear in the shopping cart contents. This feature enhances the visual appeal of your product listings and provides a better user experience.

  • The '#' character in title, or between a-tags is replaced with the product name, allowing for dynamic text generation.
  • The '$' character is replaced with the product price and currency set in the Control Panel, ensuring consistent pricing across your site.

_img param
You can also use the param (parameter) _img to add image(s) to the product, both in a href-mode and textarea-mode, it automatically becomes the product image. Customers can click to view a detailed product view, and click again to close, as with the img-tag

Multiple Images Example:

<a href="#Nice T-shirt$31.00"><img src="https://freecart.store/media/tgreen.jpeg"><img src="https://freecart.store/media/tgreen2.jpeg"><img src="https://freecart.store/media/tgreen3.jpeg"></a>
<a href="#Nice T-shirt$31.00&_img='https://freecart.store/media/tgreen.jpeg','tgreen2.jpeg','/media/tgreen3.jpeg'"></a>
<textarea>
#Nice T-shirt$31.00
_img=https://freecart.store/media/tgreen.jpeg,/media/tgreen2.jpeg
_img=tgreen3.jpeg
</textarea>

When putting multiple images between the a-link tags. The first image will be shown at the product view. When clicking it, it automatically becomes product images with a cool carousel view allowing customers to look at your product images. On mobile they can even swipe the photos left and right! Customers can click to enlarge the photo. The image will also appear in the shopping cart contents. This feature enhances the visual appeal of your product listings and provides a better user experience.

  • The '#' character in title, or between a-tags is replaced with the product name, allowing for dynamic text generation.
  • The '$' character is replaced with the product price and currency set in the Control Panel, ensuring consistent pricing across your site.

Product Description

Add a long product description using the TITLE-attribute of the link or the '_d' parameter. If you use an image (or images) you set can the description in the ALT-attribute of the (first) image. If you use title or ALT-attributes, you can also format the description with html-tags! This description will be displayed in the product details window that appears when a customer clicks on the product:

<a href="#Nice Sweater$32.99"><img src="https://freecart.store/media/tgreen.jpeg" alt="This sweater is warm & cozy.<br><b>Perfect</b> for cold and rainy days. Get it for only $" >Buy it now</a>
<a href="#Nice Sweater$32.99" title="This sweater is warm & cozy.<br><b>Perfect</b> for cold and rainy days. Get it for only $">Buy it now</a>
<a href="#Nice Sweater$32.99&_d=This sweater is warm and cozy. Perfect for cold and rainy days. Get it for only $"><img src="https://freecart.store/media/tgreen.jpeg" >Buy it now</a>

The Product Description allows you to provide detailed information about your product, which can help increase customer interest and boost sales.

When using a Product Description, your product will automatically be clickable and open in a product detail window.

PAY BUTTON THEMES

There are 20 different themes for Pay Buttons. Use the '_btm=[theme number]' parameter to customize the appearance of your buttons. If you don't set _btm, it will use the default one, that can be changed on the Control Panel:

<a href="#Nice Sweater$32.99&_btm=11">Buy # for $ now</a>

If omitted, FreeCart will use the default theme (which is 20 from the start), you CAN change the default value on the Control Panel. Check our Example Page to see all themes! These themes allow you to match the button style to your website's design without the need for custom CSS.

PRODUCT VIEW THEMES

There are 20 different themes for Product Views. a Product View is the area presenting the Product, its Price and also a product Image. Use the '_thm=[theme number]' parameter to customize the appearance of the Product View. If you don't set _thm, it will use the default setting, which you can easily change on the Control Panel:

<a href="#Plain Pants$22.50&_btm=12&_thm=3">Buy # now</a>
<a href="#Plain Pants$22.50&_btm=12&_thm=3"><img src="https://freecart.store/media/pants.jpeg">Right now, Only $!</a>
<textarea>
#Plain Pants$22.50
_thm=3
_btm=12
_img=https://freecart.store/media/pants.jpeg
_d=This is a pair of <i>high quality</i> pants!<br>You will become <h2>KING</h2> when wearing these!
Right now, Only $!
</textarea>
Right now, Only $!

If omitted, FreeCart will use the default theme (which is 1 from the start), you CAN change the default value on the Control Panel. Check our Example Page to see all themes! These themes allow you to match the Product View style to your website's design without the need for custom CSS.

CUSTOM CSS (NO BUTTON THEME)

For custom styles, set a CSS class name on the a-tag and don't include the _btm parameter. This gives you full control over the button's appearance:

<a class="my_custom_class" href="#Nice Sweater$32.99">Buy # Now!</a>
<textarea class="my_custom_class">
#Nice Sweater$32.99
Buy # Now!
</textarea>

Custom CSS allows you to create a unique look for your Pay Buttons that perfectly matches your website's branding.

Modal Window Feature

FreeCart's Quick and Simple Pay Button automatically utilizes a modal window feature to enhance the customer's shopping experience. Here's what you need to know:

  • Automatic Activation: The modal window opens when a customer clicks on the Pay Button, providing more details about the product.
  • Product Information Display: The modal window shows the product name, price, description (if provided using the '_d' parameter), and image (if included in the link).
  • Quick Purchase: Customers can add the item to their cart directly from the modal window, streamlining the purchase process.
  • Mobile-Friendly: The modal window is responsive and works well on both desktop and mobile devices.

Pro Tip: To make the most of the modal window feature, always include a clear product image and a detailed description. This provides customers with all the information they need to make a purchase decision without leaving the current page.

Best Practices for Quick and Simple Pay Buttons

To maximize the effectiveness of your Pay Buttons, consider the following tips:

  • Use clear, concise product names that accurately describe the item.
  • Include high-quality product images to attract customer attention.
  • Write compelling product descriptions that highlight key features and benefits.
  • Choose button themes or custom CSS that complement your website's design.
  • Place Pay Buttons in prominent, easily accessible locations on your web pages.
  • Test your Pay Buttons across different devices and browsers to ensure consistent functionality.

By following these best practices and leveraging FreeCart's features, you can create an efficient and user-friendly shopping experience that encourages customers to make purchases quickly and easily.

SIMPLE FORM MODE (Multiple Options)

Minimum Required Example Code:

<a href="#Shirt$24.99&Color=Blue,Green,White,Black">Add To Cart!</a>

This creates a simple Product FORM using the default Form Theme with options. The Option type defaults to "[dropdown]" if omitted. When product options, images, or descriptions are used, FreeCart automatically opens a modal detail window, providing customers with more product information and a quick, easy purchasing experience.

Product Description

Add your product description with the TITLE attribute in the a-tag or parameter _d in the URL - For the a-tag you can use html-code to make your description look nicer. Never use & in the description if you use the parameter _d

<a href="#Shirt$24.99&Color=[radio]Blue,Green,White,Black" title="This shirt is made of the finest quality and looks stunning! It is manufactured by the monks of Tibet of pure Goat Wool.">Add To Cart!</a>
<a href="#Shirt$24.99&Color=[radio]Blue,Green,White,Black&_d=This shirt is made of the finest quality and looks stunning! It is manufactured by the monks of Tibet of pure Goat Wool.">Add To Cart!</a>

More Options

Specify multiple options by separating them with '&'. This allows you to create a more detailed product form with various customization options:

<a href="#Shirt$24.99&Color=Blue,Green,White,Black&Size=XS,S,M,L,XL">Add To Cart!</a>

Different Option Types

Four option types are available to create a versatile and user-friendly product form:

  • [dropdown] - Creates a dropdown list, ideal for options with multiple choices
  • [radio] - Creates radio buttons, perfect for mutually exclusive options
  • [checkbox] - Creates checkboxes, great for optional add-ons or features
  • [text] - Creates a text field, useful for personalization or custom requests

Example using option types:

<a href="#Shirt$24.99&Color=[radio]Blue,Green,White,Pink&Size=[dropdown]XS,S,M,L,XL">Add To Cart!</a>

REQUIRED Options

Make an option required by adding '!' before the option type. This ensures that customers provide necessary information before adding the item to their cart:

<a href="#Shirt$24.99&Color=![dropdown]Blue,Green,White,Pink&Size=![radio]XS,S,M,L,XL">Add To Order</a>

PRODUCT IMAGES

Add an image to your product by including an img tag or using the '_img' parameter. If the customer clicks the image a product detail window will open with a large image and product details. You can also add multiple images to a product, and then a product image carousel will be shown that allows your customer to cycle through the images. To add multiple images, just add more img tags, or use the _img parameter, separate each image with a comma.

<a href="#Shirt$24.99&Color=![dropdown]Blue,Green,White,Pink&Size=![radio]XS,S,M,L,XL&_img='https://freecart.store/media/white.jpeg','https://freecart.store/media/blue.jpeg'">Add to basket</a>
<a href="#T-Shirt$14.00&Color=![dropdown]Blue,Green,White,Pink&Size=![radio]XS,S,M,L,XL"><img src="https://freecart.store/media/tgreen.jpeg"><img src="https://freecart.store/media/tgreen2.jpeg"><img src="https://freecart.store/media/tgreen3.jpeg">Add to basket</a>

Options Captions

Add captions to describe options using the '/' character. This provides clear instructions to customers in the modal detail window:

<a href="#Shirt$24.99&What Color do you want? (Required)/Color=![dropdown]Blue,Green,White,Pink">Add to Cart</a>

Option Label, Name and Image

Use different labels for options and change product images based on selection. This creates an interactive experience in the modal detail window. Separate Label, Name and Image with a *. example: Lavendel Blue*blue*blue.jpg - This will Show "Lavendel Blue", store "blue" in the cart, and when selecting it in the Product View, it will load the image "blue.jpg" from the same folder as the original image.

<a href="#Shirt$24.99&What Color do you want? (Required)/Color=![dropdown]Blue*blue*blue.jpeg,Green*green*green.jpeg,White*white*white.jpeg,Pink*pink*pink.jpeg&_img='https://freecart.store/media/white.jpeg'">Add to basket</a>

FULL OPTIONS Example

Use any combination of options to build your advanced product. This comprehensive example showcases how to create a detailed product form that opens in the modal window:

a href example (params/options separated with &)

<a href="#Business Shirt$24.99&_d=This is real high quality office shirt for any business man or woman!&What Color do you want? (Required)/Color=![dropdown]Blue*blue*blue.jpeg,Green*green*green.jpeg,White*white*white.jpeg,Pink*pink*pink.jpeg&Size=![radio]XS,S,M,L,XL&Your Comment/comment=[text]&Do you want any Extras?/extras=[checkbox]Awesome Nice gift wrap*wrapping,extra pearl buttons*buttons&_thm=5""><img src="https://freecart.store/media/white.jpeg"></a>

textarea example (params/options separated with newline)

<textarea>
#Business Shirt$24.99
Buy # now today $
_d=This is real high quality office shirt for any business man or woman!
What Color do you want? (Required)/Color=![dropdown]Blue*blue*blue.jpeg,Green*green*green.jpeg,White*white*white.jpeg,Pink*pink*pink.jpeg
Size=![radio]XS,S,M,L,XL
Your Comment/comment=[text]
Do you want any Extras?/extras=[checkbox]Awesome Nice gift wrap*wrapping,extra pearl buttons*buttons
_img=https://freecart.store/media/white.jpeg
_thm=5
</textarea>

Product View Themes

Select from 20 different themes using the '_thm' parameter. Not stating the _thm will use the default theme, and this can be changed on the Control Panel. This allows you to match the modal window's appearance to your website's design:

<a href="#Shirt$79.99&Color=blue,pink,green,yellow&_thm=3&_img='https://freecart.store/media/white.jpeg'&_d=Formal Shirt for meetings">Add to cart</a>
<textarea>
#Business Shirt$79.99
Add to cart
_d=Formal Shirt for meetings
Color=![dropdown]blue,pink,green,yellow
_img=https://freecart.store/media/white.jpeg
_thm=3
</textarea>

DETAILED FORM MODE

For full control over the product form, build it using regular HTML and your own CSS/Styles. This method gives you complete customization over the form's appearance and behavior:

<form>
    <h2>Oxford Shirt</h2>
    <input type="hidden" name="product-price" value="25.50">
    <input type="hidden" name="product-name" value="Oxford Shirt">
    <label>Quantity:</label>
    <input type="number" name="quantity" value="1" min="1" required>
    <br>
    <label>Color: (Required)</label>
    <select name="color" required>
        <option value="">Select Color</option>
        <option value="blue">Blue</option>
        <option value="white">White</option>
        <option value="grey">Grey</option>
    </select>
    <br>
    <label>Size: (Required)</label>
    <input type="radio" name="size" value="S" required><label>S</label>
    <input type="radio" name="size" value="M" required><label>M</label>
    <input type="radio" name="size" value="L" required><label>L</label>
    <input type="radio" name="size" value="XL" required><label>XL</label>
    <input type="radio" name="size" value="XXL" required><label>XXL</label>
    <br>
    <label>Customize the shirt: (Not Required)</label>
    <br>
    <input type="text" name="details">
    <br>
    <button type="submit" disabled>Add to Cart</button>
</form>

Oxford Shirt






Key points for building custom forms:

  • Create an HTML form without an action property to ensure proper integration with FreeCart.
  • Include hidden inputs for "product-price" and "product-name" to set the basic product information.
  • Use any combination of checkboxes, radio buttons, dropdown lists, and text inputs for options to create a versatile form.
  • FreeCart will scan the form and create a product name based on the selected options, making it easy for customers to identify their choices.
  • Use the "required" attribute to make fields mandatory, ensuring that customers provide all necessary information.
  • Include a quantity input with a default value of 1, allowing customers to easily adjust the number of items they want to purchase.
  • You can add your own "Add to Cart" button, or FreeCart will add one automatically if omitted. This flexibility allows you to customize the button's appearance and placement.
  • When using product images, descriptions, or multiple options, FreeCart will automatically open a modal detail window. This feature provides customers with a comprehensive view of the product and its options, enhancing their shopping experience.
  • The modal window is designed to be responsive and user-friendly, allowing customers to easily view product details, select options, and make purchases without navigating away from the current page.

Pro Tip: When using the detailed form mode, you have full control over the styling and layout. This allows you to seamlessly integrate FreeCart with your website's design. Additionally, you can leverage the automatic modal window feature to create a rich, interactive product showcase that encourages customer engagement and boosts conversions.

Modal Detail Window Feature

The FreeCart modal detail window is a powerful feature that enhances the customer's shopping experience. Here's what you need to know:

  • Automatic Activation: The modal window automatically opens when you use product images, descriptions, or multiple options in your FreeCart link or form.
  • Rich Product Information: The modal window displays comprehensive product details, including images, descriptions, and all available options, giving customers a complete view of the product.
  • Interactive Options: Customers can easily select different options, see real-time updates (such as price changes or image swaps), and customize their product directly in the modal window.
  • Quick Purchase: The modal window includes an "Add to Cart" button, allowing customers to complete their purchase without navigating away from the current page, streamlining the buying process.
  • Responsive Design: The modal window is designed to work seamlessly on both desktop and mobile devices, ensuring a consistent experience across all platforms.
  • Customizable Appearance: You can use the '_thm' parameter to select from different themes, helping you match the modal window's appearance to your website's design.

By leveraging the modal detail window feature, you can create a more engaging and informative shopping experience for your customers, potentially increasing conversion rates and customer satisfaction.

Best Practices for Using FreeCart

To make the most of FreeCart's features and the modal detail window, consider the following best practices:

  • Use High-Quality Images: Include clear, high-resolution product images to showcase your items effectively in the modal window.
  • Write Detailed Descriptions: Provide comprehensive product descriptions that highlight key features and benefits, helping customers make informed decisions.
  • Organize Options Logically: Group related options together and use clear labels to make it easy for customers to customize their products.
  • Leverage Dynamic Images: Use the option to change product images based on selected options to give customers a visual representation of their choices.
  • Keep Forms Concise: While it's important to offer customization options, avoid overwhelming customers with too many choices. Focus on the most important options.
  • Test Thoroughly: Ensure that all options, images, and descriptions display correctly in the modal window across different devices and browsers.
  • Optimize for Mobile: Remember that many customers shop on mobile devices, so make sure your product forms and modal windows are mobile-friendly.

Remember: The goal of using FreeCart and its modal detail window feature is to create a seamless, informative, and engaging shopping experience for your customers. By providing detailed product information and easy customization options, you can help customers make confident purchase decisions, potentially reducing cart abandonment and increasing sales.

IF you NEED HELP with ANYTHING regarding FreeCart we are HERE TO HELP.
CONTACT US and we will assist you ASAP!