E2V - Fast. Reliable. Scaleable.

Vendor Pricing

Vendor options (including pricing) are specified in the Description field of the vendor prim (or object). The option information must appear inside square brackets, and must be the last (or only) thing on the Description line.

Important note: Please remember that scripts cannot automatically detect when a prim's name or description changes. So any time you make a change to the prim name or description, you must also reset the vendor script. You can do this easily by selecting "Reset" from the vendor's popup menu.

Local Pricing vs Price Groups

You can place a number inside the brackets, to assign a price to a vendor. For example:


This item would then be set to sell for L$75.

You may also specify buyer's rewards values along with the price. The buyer's rewards are two values that follow the price, separated by commas. The first value is the non-group value, and the second is the group value. For example:


With these options, the item sells for L$75, and gives 2% in store credit to customers not wearing your group tag, and 5% to customers who are.

You may also omit values, or use 0's when needed. Here are a few examples:

#1: [75,0,0]
#2: [75,,5%]
#3: [75,2%]

Example #1 - Using 0's prevents this vendor from giving store credit to anyone. Example #2 gives 5% to customers wearing your group tag, but leaves the non-group value undefined. (See below for more info on this.) Example #3 gives 2% buyer's rewards to all customers. (When only one value is given, it applies to group and non-group alike.)

Default Values

If you do not specify buyer's reward values on the vendor itself, the values will come from the Store Controller's deafults. You can take advantage of this if you use the same values on all your items. For example, if the Store Controller has


then the vendor can use those values simply by omitting them:

Simplified Changes

Now consider that you want to make a change to one or both reward values. If you were specifying them on every vendor, changing them would be rather labor intensive. But by using defautl values, all you have to do is change them in one place.

Overriding Default Values

Even if you use the default values on most of your vendors, you can always override the defaults on the vendor itself. Values specified at the vendor override the Store Controller's defaults.

Price Groups

Price Groups are a way to easily apply the same price and reward values to multiple vendors. A Price Group is defined in the Store Controller with a name, a price, and reward values. If reward values are not specified, the group will use the default values. Here are some examples from the Store Controller's notecard:



In the above examples, any vendors in the "boots" group will be priced at L$250, and will use 2% and 5% for the reward values. Vendors in the "jackets" group will be priced at L$175, and will give no rewards to non-group members, and 10% to group members. Lastly, vendors in the "hats" group will be priced at L$50, and will use 2% and 12% as the reward values.

To place a vendor in a Price Group, you use the group's name instead of a price in the vendor options, such as:


You can still override the reward values of a Price Group, if needed:

Simplify Sales

Using Price Groups, you can now easily put groups on sale, by changing the price in only one location. (If you want to put the entire store on sale, just use the Sale option inside the Store Controller.) Individual groups can also be excluded from store-wide sales.