Skip to content

Multi-Item Vendor Kit

Selling Your Second Life Creations:

Multi-Item Vendor Kit

.

“Vendors” are the various gizmos that you use to sell your creations in Second Life.  They are as simple as a poster board that your customer clicks on, or more complex where rotating products are displayed on a screen.

I have several different vendor kits that are free to the Second Life Community.  Of course, you can create any of these yourself, but I wanted to provide ready-made kits, so that you can start using them right away.

This vendor, the “Multi-Item Vendor” has a large display screen on it.  The customer clicks on the “Next” or “Previous” buttons to view images of the items that you have for sale.  As each item appears, the name of the item and its price is printed at the bottom of the display screen.  If the customer finds something that he or she would like to purchase, they right click and select “PAY.”  The lindens are deposited into your account.

The free package is available at my store.  I only ask for one small favor.  While you are at my store, I would be grateful if you added the store to your “Picks.”  (If you’ve never added a store to your picks, here how to do it in two illustrations:  Adding a Pick )

To obtain the kit go to my store in Second Life.   Look for the following display:

In this kit, I am using scripts that were developed by Jeff Heaton (his Second Life name is Encog Dod).  He has a great book:  Scripting Recipes for Second Life (ISBN: 160439000X).  Visit his website at http://www.heatonresearch.com/articles/series/22/ for more information.  If you are learning how to script and want to understand scripting better, this a great resource.

The Multi-Item Vendor Kit is fully assembled and ready to use.  It includes all prims and the scripts in a workable whole.  However, if desired, you can un-link it, and work individually with each of its parts.  Everything is copy and modify which allows you alter it to your own specifications.

Here’s how to use it:

1. REZ THE MULTI-ITEM VENDOR.  Go to my store and pick up a free copy of the Multi-item Vendor.   Then go to a sandbox or someplace where you can “rez” objects.  (Rez means dragging them out of your inventory to land).  Look in your inventory for the “Chimera’s Multi-Item Vendor.”  Then drag the vendor from your inventory to the ground so you can see it.

2. TRY IT OUT.  The kit comes with sample products so you can see how everything works.  Try cycling through the products.  Take a look at the contents and get a general feel for how everything works.

3. REZ BOXES AND PLACE THE ITEM TO BE SOLD IN THE BOXES.   At this point you’ll need to make boxes and place the items that you will be selling in the boxes.   Haven’t done that before?  To rez a box, right click on the ground and select “Build.”  A little wand will appear.  Click on the ground and a box will appear.  Right click on the box and select the “Contents” tab.  Drag the item from your inventory that you want to sell and place them into “Contents.”  Typically, you’ll also add other information to “Contents.”  For example, you may wish to add a landmark and a notecard with information on the product.  You’ll need to make boxes for each separate item that you intend to sell.

4. NAME THE BOXES.  After you have the item that you want to sell in the box, give the box a name.  Select the “General” tab and assign a name to the box.  The name that you give to the box will be the name that appears on the screen as the customer cycles through your items, and you’ll want to use a name that is understandable.   Do this for each of boxes.

5. “TAKE” THE BOXES INTO YOUR INVENTORY.  Right click on one of the boxes, and select “Take” to place the box in your inventory.  Then do the same for all boxes until they are in your inventory.

6. DRAG THE BOX FROM YOUR INVENTORY TO THE VENDOR POSTER.  Now drag each of the boxes out of your inventory and place it in “Contents” tab of the Multi-Item Vendor.

7. TAKE PICTURES & PREPARE IMAGES OF YOUR ITEMS.  Take pictures of each of your items.  Use a graphic program, dress up the image of the item and make it look nice.  Save each of the images with a name that you can recognize.  (Your customer won’t see the name of the images, but you’ll need to tell each of the images apart.)   Upload the images to Second Life by selecting Build >> Upload Image from the Menu on top of the screen.  (In the older Viewer, uploading was found under the File Menu).

8. PLACE IMAGES IN THE MULTI-ITEM VENDOR.   Drag the images from your inventory into “Contents” of the Multi-Item Vendor.

9.  PREPARE NOTECARD.   In “Contents” of the Multi-Item Vendor, you’ll find a notecard named  “Config.”  Open the notecard.  Delete everything in it, and then list your products.  Each of your products should occupy three lines.  That’s important.  Make sure you always use three lines.  Here what you want on each line:

  • Name of Image File (Image of the item you are selling)
  • Name of the object which holds the item you are selling
  • Price of the Item.

Thus, your “Config” notecard would look like this if you have 2 items:

Blue_Shirt_Image
Blue T-shirt
50
Green_Shirt_Image
Green T-shirt
60

When you’ve finished entering the information on the notecard, save it.  Then close out of the edit mode, and try clicking on the “Next” or “Previous” button on the vendor.  You should see images of your products, along with the name and prices underneath.

You’re all set to go!  Set up your vendor and start selling.

Background Information

The vendor consists of five (5) prims:

1. Next Button

2. Previous Button

3. Customer Instruction Panel

4. Display Screen

5. The Main Multi-Item Prim

Scripts are found in all prims except the Display Screen.  The script in the Main Multi-Vendor prim is the controlling script.  It starts by looking at the notecard (Config) and reads in the image name, name of the object and price.

When either the “Previous” or “Next” button is pressed by the customer, the script notifies the main script.  When that happens, an image of the (previous or next) item in the Config notecard appears on the screen.  The name and price also appear.

The script in the Customer Instruction Panel is quite interesting. When the “Instruction Panel” prim is linked to a set of prims, this script will cause the name and price of the item to hover above the prim.  It appears directly at the bottom of the Display Screen prim.  This works nicely since the name and price appear just underneath an image of the item that you are selling.  Without the Instruction Panel, the name would hover in the air above the vendor which is difficult for the customer to see.

How does this script work?   Briefly, the “link_message” function in the script is triggered when it receives a message from the function llMessageLinked (found in the Multi-Item Vendor Script).  The name of the item and its price is sent in the “Str” variable that you’ll see if you look at the script.  The script checks to make sure it’s the right “Str” by looking for a colon (:) as a prefix.  If so, it removes the colon and uses llSetText to hover the text above the prim.  Pretty cool!

Important Note

All prims included with this free package can be modified.  That means that you can un-link the vendor and alter the size, or color, or otherwise modify things to your liking.  When you  re-assemble the vendor by linking the prims, you must do so in a certain order.

Start linking the “Previous” and “Next” buttons first.  Then link the customer’s “Instruction Panel.”  Next to last, link the Display Screen, and the very last prim linked should be the Multi-Item Vendor prim.

Other Vendor Kits:

______

Keywords: Selling Products in Second Life, Selling in Second Life, Selling Items in Second Life, Making a Vendor to Sell Items in Second Life, Free Vendors for Selling Products in Second Life, Free Selling Kit, SL Vendors, SL Vendor Scripts, Second Life Vendor Scripts, Second Life Purchasing Vendors, Free SL Vendors, Free Second Life Vendors, Selling More than One Item from the Same Vendor

Advertisements
%d bloggers like this: