prodrating.config. It is located either in the Konfiguration directory, in which case it applies to all subshops, or in Konfiguration/<Subshop-ID>, in which case it applies only to that one subshop.
The structure follows a pattern that helps when reading it. The Basic section contains the basic settings plus some older email parameters. These older parameters are superseded by four dedicated email sections as soon as those sections are present. In between are templates, sorting, and message texts.
This page follows exactly this order and, for each older parameter, tells you which section replaces it.
The configuration used to be called
prodrating.ini. Both names refer to the same file.Sections at a glance
Basic
The basic settings of the product rating module.
Rating and nickname
Three peculiarities of the evaluation are not documented and have been added here.
MinNicknameLen has a hard lower limit of 2. A smaller value and an empty value are silently set to 2.MaxRange accepts values from 1 to 10. The previous documentation gives 2 as the lower limit. If the value is outside this range, it is ignored and the internal default remains in place. The value is not clamped to the nearest valid value.AllowMultipleRatings checks only for no. Any other value, including a typo, allows multiple ratings.Email address validation
domain checks the syntax and also whether the domain has a valid MX record. syntax checks only the syntax. none performs no check at all.
Older email parameters
These five parameters date from before the dedicated email sections. They only take effect as long as the superseding section is not in the configuration.
The kernel reads five more parameters in this section that are not described in the previous documentation. They all belong to the older plain-text email logic.
In the source code,
ConfirmCharset is explicitly marked as undocumented. All five parameters stop having any effect as soon as the respective superseding section is present.Templates
The names of the templates for product ratings. By default, they are located in the benutzer/templates/rating directory.
On the
Confirm page, depending on the configuration, you either explain the confirmation procedure or thank the person for the rating.
Sort
The texts for the sort selection list of the ratings.
An asterisk in front of the parameter name makes this sort order the default. An empty value removes the entry from the selection list.
For each sort criterion, the kernel first looks for the variant with an asterisk and only then for the variant without. If a criterion accidentally appears twice in the configuration, once with and once without an asterisk, the variant with the asterisk wins. This is not documented and has been added here.
NotifyMessages-Txt
The message texts of the module. This section is required.
The local tag
PRODRATING-MinimumNicknameLength is available in the length messages. It outputs the value from MinNicknameLen, so you do not have to write the number into every text.
FreeMessages-Txt
Up to 50 freely named text messages that you can output in the templates.
FMSG- plus the parameter name, so in the example ~FMSG-Hinweistext1~.
The four emails
All four email sections have the same structure and replace older parameters fromBasic and Templates.
ConfirmMail
The email with which the rating person confirms their rating. It is only sent if the ConfirmRatingPerEmail parameter in Basic is set to yes.
ConfirmSubject and ConfirmSenderAddress from Basic, and ConfirmMail from Templates.
SendNicknameMail
The email with which a person receives their forgotten nickname, similar to sending a password.
The nickname can only be sent if at least one rating has already been submitted under the specified email address. Otherwise, there is nothing to send.
NicknameSubject and NicknameSenderAddress from Basic, and NicknameMail from Templates.
ThankYouMail
The thank-you email that is sent immediately after a rating is submitted.
This section does not supersede any older parameters. There was no thank-you email before.
NotifyNewRatingMail
The notification to the shop operator as soon as a new rating has been received for approval.
If this section is present,
NotifyNewRatingsEmailAddress from Basic is no longer used.
Section for older shops
The kernel also reads aProductRatingImages section in this configuration, but only for version 7 shops. It contains the parameters Point1 to Point10 for the rating graphics as well as back and next for the paging buttons.
This section is not described in the previous documentation of the
prodrating.config. In WEBSALE V8s, the rating graphics are defined instead in the section of the same name in the shop.config.Related links
- Guide: Description of the product rating module
- Guide: Configuring the product rating module
- Guide: Displaying ratings on the product
- Guide: Sorting and filtering products by rating
