Skip to main content
WEBSALE V8s automatically generates HTML code for many functions and tags. You control its appearance with CSS classes that the shop assigns as fixed names. This page lists the classes related to the customer account and address entry. Two mechanisms come up again and again: fixed class names for generated tables and selection lists, and error classes that the shop only appends when an error occurs. Guide: CSS styles

Login

On the ws_login.htm template, you don’t work with fixed classes but with error class tags. You can add these to any input field. If an error occurs, the tag generates the string _error; otherwise it generates nothing. This field:
becomes the following when an error occurs:
Which error class tag you use depends on the field. The right column lists the sections in which each tag applies.
The advantage of this notation is that you can fit a base class and an error class into a single attribute. In the example, the result is either input or input_error, and you define both in your stylesheet.

Billing and alternative delivery address

Input

User-defined UserDefList selection lists are deprecated and no longer supported. You don’t need the select_user_def_list class for new shops.

Display

For simply displaying an address that has already been entered, there is a second, smaller set. Guide: Requesting the billing address, Requesting an alternative delivery address, Selection lists for address data

Bank details

Guide: Direct debit, requesting bank details

Credit card data

The following classes belong to the direct entry of credit card data in the shop and are deprecated: ccard_text_input_holder, ccard_text_input_number, ccard_text_input_cvcode, select_ccard, select_ccard_validity, ccard_error_table, ccard_error_ul, and ccard_error_li.You don’t need them for new shops. Only include them in your stylesheet if an existing shop still uses them.
Guide: “Credit card” payment method

Multiple customer data

If a customer can store multiple delivery addresses, credit cards, or bank details, WEBSALE V8s generates additional selection lists. The shop sets all of the following classes automatically. The pattern is the same everywhere: for each class there is a second one with the suffix _error that applies when an error occurs.

Multiple delivery addresses

Each of these classes has a corresponding error class, that is, select_deliv_selection_error, select_salutation_error, and so on.
The previous documentation does not list an error class for select_usertype_list. All other entries in this group have one.

Multiple credit card data

The classes ccard_select, ccard_select_error, ccard_select_validity, and ccard_select_validity_error belong to direct entry in the shop and are deprecated.

Multiple bank details

Here, too, there are the error classes bank2_select_country_error and bank2_select_bank_error. Guide: Requesting billing and delivery address with multiple customer data

Postal code assistant

The postal code assistant shows suggestions for postal code and city in a separate area. This area has two IDs and several classes. Unlike the other styles, you get a ready-made template for the postal code assistant. Copy these default styles into your CSS file and adapt them to your design:
Two things stand out in this template that you should keep in mind when adapting it.The close icon is created via content: "\f00d" in the FontAwesome font. If your shop does not use this font, an empty box appears in its place. In that case, replace the rule with a graphic or a character of your own.The class ws_plzhelp_select appears in the template but is not in the list of classes above. It highlights the suggestion currently selected via keyboard or mouse.
Guide: Postal code assistant Guide: Requesting additional order information