Login
On thews_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:
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
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
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
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.Advertising consent
Guide: Requesting additional order information
