TOWeb e-Commerce functions

Page 10 of 29

Shopping cart

The shopping cart function allows your customers to add different products to their shopping cart before to order. A shopcart button is present on every pages of your website (generally on the top of your page depending on your theme), The shopping cart of your website is also accessible from a text link placed in any of your product pages. The functions of the shopping cart are only used if you both activate the price and shopping cart options of your catalog from the Design and layout tab.
If you do not have TOWeb e-Commerce Edition (or a TOWeb Studio Edition) but activate the shopping cart on your catalogs then your site will operate in demonstration mode (order email notifications without customers information, shopping cart limited to 3 items per order and demo messages displayed in your shopping cart and payment pages to indicate that this is a demonstration).

e-Commerce main parameters

The main parameters of your website shopcart can be modified from the "Shopcart button (  ) located in the TOWeb "Settings > e-Commerce" step. This screen contains different tabs where you will be able to :

  • customize the shopping cart buttons displayed on your site : icons and texts of order steps
  • set a the minimum & maximum amount per order (leave value to 0.00 if you do not want to set a limit)
  • specify the name or symbol of the currency (USD, $, EUR, €, ...) shown in the products pages of your catalogs and during the checkout where prices appear. select where to display the currency (before or after the amount values) and the decimal precision of all prices that can be 0 (eg for Yen) to 3 decimal places (eg for Tunisian Dinar). The currency set by default to your shopping cart is USD but you can change it any symbol or any name. This is only sued for display on your web pages. If you use online payments such as PayPal for instance (if you use it) you may verify that the currency you want is supported by each payment and that it is the expected one that is selected
  • customize the symbol or name of weight unit displayed in the orders (if you use this option) and a possible minimum & maximum weight to your commands (leave value to 0.00 if you do not want to set a limit)
  • use one or more delivery modes on your site with shipping price rules set according to the weight, the quantity or the amount of the order as well as countries
  • use a real time stock and directly update the quantites of your produits from the back-office of your site (version 8 or higher required)
  • display or not information & icons about the availability of your catalog items ("In Stock", "Available in 7 days", ...) shown in both your catalog items pages as well as in the shopping cart. If you choose to disable this option, the availability will not be shown except for the items "Out of stock" with a stock of 0
  • enable or disable the option "Notify customer every time a new item is added to the cart". This message appears only if the item is not already in his basket, if it already exists its quantity will be increased but without any other message. The items quantities may be increased, decreased and deleted later by viewing the contents of the shopping cart
  • use discount coupons
  • apply decreasing prices depending on the quantities purchased (version 8 or higher required)
  • sell digital product to download

Your Organization

From the button ( ) Your organization located in the Settings > e-Commerce step you need to enter the name, the address and contacts of your company. These information will be displayed in the order and you can also reuse them inside the instructions of your online payments.

How to install a shopcart ?

You just need to have or add at least one catalog on website with the shopcart option activated on it. And that's it. For more information please see how to add & manage catalogs of products.

Shipping Prices & Deliveries

Configure the Countries (and States) where to sale
You first need to select the list of countries/states where all your catalog products can be sold from the Country management button located in the "Settings > e-Commerce" screen. And thereafter, if needed, at the product level you will also be able to select among your countries selection in which countries /states a specific product can not be sold using the Excluded shipping countries field located in sidebar panel of you catalog product.

Configure shipments & fees depending on weight, amount or quantity
The management of shipping fees require to activate and create at least one shipment from the "Settings > e-Commerce" step. TOWeb offers some predefined shipments from the USA (UPS) and from France (Chronopost Collissimo, Fedex) that you can add and change thereafter to adapt them to your delivery zones and shipping fees schedules. You can also start a new shipment from scratch and then let yourself be guided to its creation.

For each shipment you can add a new delivery zone so you can then establish your shipping fees schedules depending on the country of your customers (and more precisely states & provinces for the U.S. & Canada). A delivery zone may contain one or more countries & states and each zone has its own shipping fees schedules which may depend on the :

  • the total weight of the order
  • the total amount of the order
  • the number of products of the order

In either weight, quantity or amount mode you need to set shipping fees schedules by entering all the its different limits and amounts.

IMPORTANT: If you decide to use multiple shipping fees schedules such as based on weight but also based on the amount of the order, the lowest fees who always be the one applied to your costumers' orders (and not the sum of the fees like it was in previous versions of TOWeb). It thus becomes possible to define such standard shipping fees based on weight and simultaneously indicate that the shipping costs are free from a certain amount ordered.

For example, suppose you want to apply different shipping charges depending on the total amount like this : free shipping fees for any purchase over $50. And a $10 shipping fees for any purchase lower than $50. To enter this in TOWeb will need to begin to add your first amount: 10. And then enter your limit price of 50 and the amount of 0 (zero) before to click the "Add" button. In the end you will get the following result displayed in TOWeb :

If the order amount is > $0 then shipping amount is = $10
If the order amount is > $50 then the shipping amount is = $0

To update the values you added, you must select the line in the grid and change the values before to click the "Modify" button or use the "Delete" button to remove it. You can also fix a maximum which means your shipment will not be used and will therefore not be proposed on your website among the possible shipments when orders are above this maximum. For example if your carrier does not allow deliveries over 50 pounds you need to specify this value at "Maximum weight". And if in contrast starting from 30 pounds the shipment costs is for example $3 per extra pound then you need to entered this value in the "Additional linear price" field (30 pounds will then no longer be a limit but the threshold from which your shipping costs will become linear). In addition to these limits specifics to deliveries, you can also set the weight and price limits on your shopping cart.

Finally, if you want you can also :

  • Apply multiple Taxes to each delivery zone defined in your site. Creating and modifying your e-commerce taxes of your website can be done from the button "Taxes (VAT, sale taxes,...)". Taxes are predefined in TOWeb for all ECE countries (VAT), Canada (GST, PST & HST) and the USA (Sale Tax) which allows you a quick start. The price of your e-commerce site can be entered and displayed with taxes included (B2C) or taxes excluded (B2B).
    You can manage multiple taxes rates, in % or fixed and then apply to each product of your catalogs its own taxes. Once created you can also apply different taxes to your different shipments.
  • Manage products with no shipping fees ie items whose prices will not be included in the total amount of the order when calculating shipping charges, by indicating a weight of 0 in level their "Stock & Price" tab if you only defined shipping fees schedules otherwise by setting them as a "service".
  • Defining modes of delivery which will not concern the total order but a separate delivery mode for specific products. For example, a user "TV delivery carrier" that can apply to the sale of an TV product, which will therefore not be taken into account to calculate shipping costs of the order but will be delivered separately from the rest of the order. To do this you must first select your shipment and assign it the "separate delivery for specific products" option and then, under the "Stock & Price" of your product, select this shipment in the "Cust. Shipmode" list.

Incorrect Shipping prices in your Orders
Check the following points :
  • if you set shipping fees based on weight then make sure the weight values you have specified in your products (and any sub-products) are correct in particular that the decimal "." is correctly placed and consistent with the weight unit you set in the shopping cart,
  • you do not set different fee shipping schedules in one or more deliveries zones because if this happens the cheaper rate will be the one applied to the customers' orders,
  • that limits and amounts you listed in your fee schedules do not contain wrong values and that they comply with the recommendations and examples previously listed on this page.

Online Orders

Configure email orders
Your host most support PHP script and allow you to use the mail function on your web space too. Verify that the i-Service Form located in the "Settings > i-Services > e-Commerce backofffice" screen of TOWeb is activated and configure this service by activating the option "Use this i-service to receive customers orders by email". A script will then be automatically generated on your web space and be responsible to email you all the order coming from your e-commerce site.

Orders & Customers information fields displayed in your payment texts
You will find below a list of all field names that you may need to reuse insinde the payment instructions :

{OrderID} : order number
{OrderTotal} : total amount of the order
{OrderDate} : order date
{ClientName} : fullname of your customer
{ClientEmail} : email address of your customer
{ClientPhone} : phone number of your customer
{ClientFirstname} : firstname of your customer
{ClientLastname} : lastname of your customer 
{ClientAddress} : address of your customer (number and street name only)
{ClientAddress2} : additional address information of your customer
{ClientCity} :  city of your customer
{ClientPostalCode} : postal code / ZIP code of your customer
{ClientCountryCode} : 2 characters code of your customer's country (code ISO 3166-1)
{ClientStateCode} : the 2 characters code of your customer's state/province (if countries is USA, Canada or Brazil)
{SiteLang} : language of your website used by your customer

As well as information about your company/organization for use in any text of your site, like for instance in a paragraph of a topic but also in your payment instructions :

{ARTICLES} : the list of articles contained in the order
{OrganizationName} : name of your company/organization (editable from Settings>e-Commerce>Your organization)
{OrganizationAddress} : address of your company/organization (editable from Settings>e-Commerce>Your organization){OrganizationContact} : contact information for your customers (phone, email, fax, mobile, ...)
{SiteUrl} : the URL of your website


Paypal is the payment proposed by default in TOWeb that accepts credit cards (Visa, Eurocard-Mastercard, American Express, ...) as well as money from PayPal users accounts. If you do not have yet a PayPal account, you will need to sign up for a new PayPal account from their website. Then indicate in TOWeb the email address you used for Paypal, verify under the "Mode" tab that the currency otherwise update it and that's it, your website will then be ready to go with the Paypal payment service ! If you want to customize this payment, you may change its description (displayed among the list of payments available on your website), the instruction message (displayed before the payment button) and the payment button.
By clicking on the "Payment return" tab you may also the return addresses to your website if you want your customer to be able to return to your website after proceeding to their payment or canceling it.

From the "Payment modes" link you you can add other payment modes to your shopping cart like check or wire transfer with the "+" button located above the payments list in the shopping cart payment configuration dialog box. If the off-line payment you are looking for is not present in the list (check, wire transfer, Western Union, MoneyGram), you will need to add one (the closest to your needs) and customize it like for instance starting with the Cash or Western Union template and update the instructions for your new payment mode.
If you want to use another online credit card payment service than the ones predefined in TOWeb (MoneyBookers, Ogone, Paybox, PayZen, WorldPay, PagSeguro, Klik&Pay, SystemPay, PesaPal, JamboPay) like for example the credit card payment service of your bank, you need to add a "user payment script" and copy/paste your HTML redirection form into the field located under the "Payment script" tab. The creation of your own payment scripts requires advanced web programming skills on which no support will be made by Lauyan. The development of your payment script is not assisted by TOWeb and such script adapted to your needs will NOT be provided by the Lauyan support. To obtain such payment scripts, ask them to your payment service provider and have them customized to your needs by their services or by yourself. More information about other payments.

For each payment method you can also assign additional fees that can be systematic or based on customer's country. This may be necessary if for example your bank applies additional charges for some type of payments such as checks coming from foreign countries.

Payments updates

Payment methods can evolve and be updated regularly accross the different versions of TOWeb. If you have created and added a payment with an older version of TOWeb and this payment is updated later on, then you must use not only the latest version of TOWeb but also remove this payment and re-create it by adding the new one to your site.
Sometimes payment improvements are either optional or concerning a feature you may not use on your site. If this is your case and if your payment is still perfectly working on your site, then it is not necessary nor required to update it.

Taxes & VAT

Creating and modifying your e-commerce taxes of your website can be done from the Taxes (VAT, sale taxes,...) button ( ) located in "Settings > e-Commerce" screen or accessible from the E-COMMERCE menu button if you are in the index page of your catalog. Taxes are predefined in TOWeb for all ECE countries (VAT), Canada (GST, PST & HST) and the USA (Sale Tax) which allows you a quick start. The price of your e-commerce site can be entered and displayed with taxes included (B2C) or taxes excluded (B2B).
You can manage multiple taxes rates, in % or fixed and then apply to each product of your catalogs its own taxes. Once created you can also apply different taxes to your different shipments and for each product select which taxes will be applicable to it.

Terms of Sales

Among the topics of your web site appears in the last position of the list a special topic that may contain your terms and conditions. If in the order form of your e-Commerce website you want your customers to read and accept your terms of sales then a link to that topic will be created automatically to display your terms of sale in overlay so that your client can read them before to continue their order. A link to this page is placed by default in the footer of your site.

Coupons rebates codes

You can create and manage rebates and coupons from the rebate codes button located in the "Settings > e-Commerce" screen. By enabling this option and adding one or more rebates you will be able to enter any code that you will communicate to them so they can have price rebate on their purchase. The rebate can be either a fixed amount (eg $5 discount on a purchase) or a percentage of the amount (eg. 5% rebate) or a quantity offer (eg. 1 item free for 3 purchased). And if you want a coupon to be no longer valid you can specify a validity period (with a starting date and/or an ending date), enable or disable it before republish your site to make your changes effective on Internet.

A reduction may be either "global", meaning applicable to the total amount of the shopping cart or "local", meaning applicable to just a product or several products (by entering several references). Depending on the coupon, its "value" and its "minimum" shall have the following constraints:

  • a rebate applicable to the total amount of the shopping cart may have a value amount or a % (but no quantity) and its minimum is always an amount.
  • a coupon rebate applicable to one or several products can have a value amount, a % or a quantity and its minimum is always a quantity (not an amount).

A rebate can be automatic or with a coupon:

  • an automatic rebate is always applicable to your shopping cart and your customer doesn't have to enter any coupon (just leave empty the field "coupon code" to have an automatic rebate). If you enter several automatic rebates they will be cumulative, meaning they will all be applied to your shopping cart
  • a coupon rebate applies only if you specify a coupon code and the customer has entered it while ordering from your site. Only one coupon can be applied during an order.

Back office

You receive all the orders of your customers by email but TOWeb also allows you to use a back office, that only you as an administrator can use to view and manage your orders of your site. To use this back office, you will need keep your orders on your web space meaning that you have to activate the option called "Save an order copy to your web space " accessible from the Back-Office (  ) button located in the "Options > e-Commerce" step (or from "Options > i-Services > e-Commerce backoffice > Configure" if using a version 7 or older). From this screen where you can set / change the administrator user name and its associated password and click the link to " view, retrieve or delete the lastest order files saved on your web space". Once connected to your back office , a summary of each order is displayed and you can retrieve your commands in text format ( if you ever encounter a problem with the e-mail and your email account for instance) as well as in HTML format (if you ever want to use the links to a printable version and/or as a reference to use when contacting your customers or if you simply want to reuse the HTML page of these orders) .
Note: If you make a configuration change in TOWeb at this level such as enabling or disabling the orders to be saved on your web space or a change of admin password, then you will need to republish your website to make this changes effective in your backoffice.

From your backoffice your can see the list of all the orders of your shop with a summary of each one, like in this example :
TOWeb backoffice example
From there, by clicking on the "TXT" link you will open the text version of the order (the one you also receive by email) and by clicking a line it will open the html version of the order, like this one for example :
TOWeb backoffice order example