|
Post by ACA on Aug 15, 2006 13:24:34 GMT -5
Is there a way to order the items by price? If not.. how would I do it manually?
|
|
|
Post by captheathmalc on Aug 30, 2006 12:42:34 GMT -5
There are a couple ways to do it manually....which is the only way.
1st: Set your least expensive items in catagory 1, your next expensive items in catagory 2,etc,etc.
2nd) If you want to keep your catagories the way they are, then you'll need to change the order of your items, for example:
Here is the example from the original code:
[0,"Basic Axe","http://proboards.the-ccw.net/pb/shop/items/axe.gif",500,"A basic battle axe.",0,1], [1,"Bunch of Balloons #1","http://proboards.the-ccw.net/pb/shop/items/balloonbunch.gif",250,"The first bunch of brightly colored balloons.",0,3], [2,"Blob","http://proboards.the-ccw.net/pb/shop/items/blob.gif",800,"Buy your very own pet blob!",0,4], [3,"Bunny","http://proboards.the-ccw.net/pb/shop/items/bunny.gif",900,"Buy your own pet bunny! Nice and fluffy...",0,4], [4,"Chain Mace","http://proboards.the-ccw.net/pb/shop/items/chainmace.gif",750,"High quality iron chain mace.",0,1], [5,"Cross","http://proboards.the-ccw.net/pb/shop/items/cross.gif",650,"A solid stone cross.",0,2], [6,"Cutlass","http://proboards.the-ccw.net/pb/shop/items/cutlass.gif",800,"A well constructed cutlass.",0,1],
Notice that #0[basic axe] costs 500, and is in cat #1 then #4[Chain Mace] $750; cat1(all weapons) #6[Cutlass] $800;cat1
See how they are going up in price? The lowest priced item in a particular catagory, should be the first in your list, and so on.
|
|