Go Back   OtLand > OpenTibia > Support

Reply
Old 16th June 2009, 19:09   #1 (permalink)
RunarM
.
 
RunarM's Avatar
 
Join Date: Jul 2008
Location: Norway/Tromsø
Posts: 1,386
Blog Entries: 3
Reputation: RunarM is just really niceRunarM is just really niceRunarM is just really niceRunarM is just really nice



Exclamation Shopsystem?

How does the shop system in gesiors aac work?

$offer['id'] = $data['id'];
$offer['type'] = $data['offer_type'];
$offer['days'] = $data['count1'];
$offer['points'] = $data['points'];
$offer['description'] = $data['offer_description'];
$offer['name'] = $data['offer_name'];

should i edit there?
Give me an example please

Runarm
__________________
RunarM is offline   Reply With Quote
Old 16th June 2009, 19:12   #2 (permalink)
christiandb
Q-productions
 
Join Date: Feb 2008
Location: 010
Posts: 1,961
Reputation: christiandb is a splendid one to beholdchristiandb is a splendid one to beholdchristiandb is a splendid one to beholdchristiandb is a splendid one to beholdchristiandb is a splendid one to beholdchristiandb is a splendid one to behold



Is it that hard to read the english in Gesior's shop topic?
__________________
christiandb is online now   Reply With Quote
Old 16th June 2009, 19:20   #3 (permalink)
Red
Cyntara Admin
 
Red's Avatar
 
Join Date: Aug 2008
Location: United States
Posts: 1,376
Reputation: Red is just really niceRed is just really niceRed is just really niceRed is just really niceRed is just really nice



If you have z_shop_offer in your database, use the SQL button, paste this information, and then click "Go". (You will want to continue this until all of your items are made, Making sure that the `id` is ONE higher every time you submit it! Afterward, you should see a new table.

`id` = Unique ID of the item. These go up in intervals of 1, each item has to be different. (ex. 1, 2, 3, 4, 5)
`points` = How many points it will cost
`itemid1` = The ID of the item
`count1` = How many of the item (ID above) do you wish to receive
`itemid2` = Set to 0, you wont use this unless you are selling backpacks of items
`count2` = Same as above
`offer_type` = The type of offer you're giving away. This one is obviously, one item, so keep it as `item`.
`offer_description` = The description on the website. What you want to advertise about the item.
`offer_name` = Name of the item on the website

Edit the tables as needed, and it should appear in your shop, as seen below:

(obviously that was made for my server specifically)

Red
__________________

- For Cyntara!
Red is offline   Reply With Quote
Old 16th June 2009, 19:33   #4 (permalink)
RunarM
.
 
RunarM's Avatar
 
Join Date: Jul 2008
Location: Norway/Tromsø
Posts: 1,386
Blog Entries: 3
Reputation: RunarM is just really niceRunarM is just really niceRunarM is just really niceRunarM is just really nice



thanks red.

Quote:
Originally Posted by christiandb View Post
Is it that hard to read the english in Gesior's shop topic?

Is it hard to answear my question?
__________________
RunarM is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 14:13.
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO
Copyright ©2007 - 2010, OtLand.net.