• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Cant install shop system modern help!!

you have to route it in your template so you can see it in your website
add this in your website
in templates/YOUR TEMPLATE NAME/index.tpl
in the donations place

PHP:
<a href="{$path}/index.php/p/v/gifts">Shop</a>
<a href="{$path}/index.php/p/v/gifts/history">Shop History</a>
<a href="{$path}/index.php/p/v/gifts/donate">Donate</a> 
<a href="{$path}/index.php/p/v/gifts/donate/history">Donation History</a>
 
CREATE TABLE IF NOT EXISTS `shop_history` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`product` int(11) NOT NULL,
`session` varchar(256) NOT NULL,
`player` varchar(256) NOT NULL,
`date` int(10) NOT NULL,
`processed` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=31 ;

-- --------------------------------------------------------

--
-- Table structure for table `shop_offer`
--

CREATE TABLE IF NOT EXISTS `shop_offer` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`points` int(11) NOT NULL DEFAULT '0',
`category` int(11) NOT NULL DEFAULT '1',
`type` int(11) NOT NULL DEFAULT '1',
`item` int(11) NOT NULL DEFAULT '0',
`count` int(11) NOT NULL DEFAULT '0',
`description` text NOT NULL,
`name` varchar(256) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=16 ;

CREATE TABLE IF NOT EXISTS `shop_donation_history` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`method` varchar(256) NOT NULL,
`receiver` varchar(256) NOT NULL,
`buyer` varchar(256) NOT NULL,
`account` varchar(256) NOT NULL,
`points` int(11) NOT NULL,
`date` int(10) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ;
 
Back
Top