Database SQL
Database SQL
0, 0, 0),
(100, 'Indonesia', 'ID', 'IDN', ':name\n:street_address\n:city :postcode\n:count
ry', 0, 0, 0),
(101, 'Iran', 'IR', 'IRN', '', 0, 0, 0),
(102, 'Ira ', 'IQ', 'IRQ', '', 0, 0, 0),
(103, 'Ireland', 'IE', 'IRL', ':name\n:street_address\nIE-:city\n:country', 1, 1
, 0),
(104, 'Israel', 'IL', 'ISR', ':name\n:street_address\n:postcode :city\n:country'
, 0, 0, 0),
(105, 'Italy', 'IT', 'ITA', ':name\n:street_address\n:postcode-:city :state_code
\n:country', 1, 1, 0),
(106, 'Jamaica', 'JM', 'JAM', '', 0, 0, 0),
(107, 'Japan', 'JP', 'JPN', ':name\n:street_address, :suburb\n:city :postcode\n:
country', 0, 0, 0),
(108, 'Jordan', 'JO', 'JOR', '', 0, 0, 0),
(109, 'Kazakhstan', 'KZ', 'KAZ', '', 0, 0, 0),
(110, 'Kenya', 'KE', 'KEN', '', 0, 0, 0),
(111, 'Kiribati', 'KI', 'KIR', '', 0, 0, 0),
(112, 'Korea, North', 'KP', 'PRK', '', 0, 0, 0),
(113, 'Korea, South', 'KR', 'KOR', '', 0, 0, 0),
(114, 'Kuwait', 'KW', 'KWT', '', 0, 0, 0),
(115, 'Kyrgyzstan', 'KG', 'KGZ', '', 0, 0, 0),
(116, 'Laos', 'LA', 'LAO', '', 0, 0, 0),
(117, 'Latvia', 'LV', 'LVA', '', 1, 1, 0),
(118, 'Lebanon', 'LB', 'LBN', '', 0, 0, 0),
(119, 'Lesotho', 'LS', 'LSO', '', 0, 0, 0),
(120, 'Liberia', 'LR', 'LBR', '', 0, 0, 0),
(121, 'Libyan Arab Jamahiriya', 'LY', 'LBY', '', 0, 0, 0),
(122, 'Liechtenstein', 'LI', 'LIE', '', 0, 0, 0),
(123, 'Lithuania', 'LT', 'LTU', '', 1, 1, 0),
(124, 'Luxembourg', 'LU', 'LUX', ':name\n:street_address\nL-:postcode :city\n:co
untry', 1, 1, 0),
(125, 'Macau', 'MO', 'MAC', '', 0, 0, 0),
(126, 'Macedonia', 'MK', 'MKD', '', 0, 0, 0),
(127, 'Madagascar', 'MG', 'MDG', '', 0, 0, 0),
(128, 'Malawi', 'MW', 'MWI', '', 0, 0, 0),
(129, 'Malaysia', 'MY', 'MYS', '', 0, 0, 0),
(130, 'Maldives', 'MV', 'MDV', '', 0, 0, 0),
(131, 'Mali', 'ML', 'MLI', '', 0, 0, 0),
(132, 'Malta', 'MT', 'MLT', '', 1, 1, 0),
(133, 'Marshall Islands', 'MH', 'MHL', '', 0, 0, 0),
(134, 'Martini ue', 'MQ', 'MTQ', '', 0, 0, 0),
(135, 'Mauritania', 'MR', 'MRT', '', 0, 0, 0),
(136, 'Mauritius', 'MU', 'MUS', '', 0, 0, 0),
(137, 'Mayotte', 'YT', 'MYT', '', 0, 0, 0),
(138, 'Mexico', 'MX', 'MEX', ':name\n:street_address\n:postcode :city, :state_co
de\n:country', 0, 0, 0),
(139, 'Micronesia', 'FM', 'FSM', '', 0, 0, 0),
(140, 'Moldova', 'MD', 'MDA', '', 0, 0, 0),
(141, 'Monaco', 'MC', 'MCO', '', 0, 0, 0),
(142, 'Mongolia', 'MN', 'MNG', '', 0, 0, 0),
(143, 'Montserrat', 'MS', 'MSR', '', 0, 0, 0),
(144, 'Morocco', 'MA', 'MAR', '', 0, 0, 0),
(145, 'Mozambi ue', 'MZ', 'MOZ', '', 0, 0, 0),
(146, 'Myanmar', 'MM', 'MMR', '', 0, 0, 0),
(147, 'Namibia', 'NA', 'NAM', '', 0, 0, 0),
(148, 'Nauru', 'NR', 'NRU', '', 0, 0, 0),
(149, 'Nepal', 'NP', 'NPL', '', 0, 0, 0),
(150, 'Netherlands', 'NL', 'NLD', ':name\n:street_address\n:postcode :city\n:cou
ntry', 1, 1, 0),
'Alaska'),
'Alabama'),
'American Samoa'),
'Arkansas'),
(115, 1, 'Money Order Check', 'Money Order Check', '2009-09-12 20:08:49', '200909-12 20:08:49'),
(116, 2, 'Money Order Check', ' ', '2009-09-12 20:08:49', '2009-09-12
(117, 1, 'Kvitancia', 'Kvitancia', '2009-09-12 20:08:49', '2009-09-12 20:08:49')
,
(118, 2, 'Kvitancia', ' ', '2009-09-12 20:08:49', '2009-09-12 20:08:4
(119, 1, 'Invoice', 'Invoice', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(120, 2, 'Invoice', ' ', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(121, 1, 'Country', 'Country', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(122, 2, 'Country', '', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(123, 1, 'Print Order', 'Print Order', '2009-09-12 20:08:49', '2009-09-12 20:08:
49'),
(124, 2, 'Print Order', ' ', '2009-09-12 20:08:49', '2009-09-12 20:08:49'
(125, 1, 'Company', 'Company', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(126, 2, 'Company', '', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(127, 1, 'Invoice', 'Invoice', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(128, 2, 'Invoice', ' ', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(129, 1, 'Print Invoice', 'Print Invoice', '2009-09-12 20:08:49', '2009-09-12 20
:08:49'),
(130, 2, 'Print Invoice', ' ', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(131, 1, 'Example', 'Example', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(132, 2, 'Example', '', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(133, 1, 'Phone', 'Phone', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(134, 2, 'Phone', '', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(135, 1, 'Please agree to our policy.', 'Please agree to our policy.', '2009-0912 20:08:49', '2009-09-12 20:08:49'),
(136, 2, 'Please agree to our policy.', ' "",
(137, 1, 'Terms & Conditions.', 'Terms & Conditions.', '2009-09-12 20:08:49', '2
009-09-12 20:08:49'),
(138, 2, 'Terms & Conditions.', ' .', '2009-09-12 20
(139, 1, 'All', 'All', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(140, 2, 'All', '', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(141, 1, 'Pages', 'Pages', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(142, 2, 'Pages', '', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(143, 1, 'Update', 'Update', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(144, 2, 'Update', '', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(145, 1, 'Login', 'Login', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(146, 2, 'Login', '', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(147, 1, 'Search', 'Search', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(148, 2, 'Search', '', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(149, 1, 'E-mail', 'E-mail', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(150, 2, 'E-mail', 'E-mail', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(151, 1, 'Password', 'Password', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(152, 2, 'Password', '', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(153, 1, 'Registration', 'Registration', '2009-09-12 20:08:49', '2009-09-12 20:0
8:49'),
(154, 2, 'Registration', '', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(155, 1, 'Firstname', 'Firstname', '2009-09-12 20:08:49', '2009-09-12 20:08:49')
,
(156, 2, 'Firstname', '', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(157, 1, 'Lastname', 'Lastname', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(158, 2, 'Lastname', '', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(159, 1, 'Retype Password', 'Retype Password', '2009-09-12 20:08:49', '2009-09-1
2 20:08:49'),
(160, 2, 'Retype Password', ' ', '2009-09-12 20:08:49', '2009-09-12 20:08:49')
(161, 1, 'Register', 'Register', '2009-09-12 20:08:49', '2009-09-12 20:08:49'),
(162, 2, 'Register', '', '2009-09-12 20:08:49', '2009-09-12 20:08:49');
DROP TABLE IF EXISTS email_templates;
CREATE TABLE `email_templates` (
00'),
(6, 'AddToCartAfterSave', 'Core', '', '0000-00-00 00:00:00', '0000-00-00 00:00:0
0'),
(7, 'RemoveFromCartBeforeSave', 'Core', '', '0000-00-00 00:00:00', '0000-00-00 0
0:00:00'),
(8, 'RemoveFromCartAfterSave', 'Core', '', '0000-00-00 00:00:00', '0000-00-00 00
:00:00'),
(9, 'UpdateCustomerDetailsBeforeSave', 'Core', '', '0000-00-00 00:00:00', '000000-00 00:00:00'),
(10, 'UpdateCustomerDetailsAfterSave', 'Core', '', '0000-00-00 00:00:00', '000000-00 00:00:00'),
(11, 'SwitchLanguage', 'Core', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00')
,
(12, 'SwitchCurrency', 'Core', '', '0000-00-00 00:00:00', '0000-00-00 00:00:00')
;
DROP TABLE IF EXISTS event_handlers;
CREATE TABLE `event_handlers` (
`id` int(10) NOT NULL auto_increment,
`event_id` int(10) NOT NULL,
`originator` varchar(50) collate utf8_unicode_ci NOT NULL,
`action` varchar(200) collate utf8_unicode_ci NOT NULL,
`created` datetime NOT NULL,
`modified` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `event_handlers` (`id`, `event_id`, `originator`, `action`, `created
`, `modified`) VALUES
(1, 2, 'CouponsModule', '/module_coupons/event/utilize_coupon/', '2009-09-13 11:
11:08', '2009-09-13 11:11:08');
DROP TABLE IF EXISTS `geo_zones`;
CREATE TABLE IF NOT EXISTS `geo_zones` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(64) NOT NULL,
`description` text NOT NULL,
`created` datetime NOT NULL,
`modified` datetime NOT NULL,
PRIMARY KEY (`id`),
KEY `IDX_NAME` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
DROP TABLE IF EXISTS global_content_blocks;
CREATE TABLE `global_content_blocks` (
`id` int(10) NOT NULL auto_increment,
`name` varchar(255) collate utf8_unicode_ci NOT NULL,
`content` text collate utf8_unicode_ci NOT NULL,
`alias` varchar(50) collate utf8_unicode_ci NOT NULL,
`active` tinyint(4) NOT NULL default '1',
`created` datetime NOT NULL,
`modified` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `global_content_blocks` (`id`, `name`, `content`, `alias`, `active`,
`created`, `modified`) VALUES
(1, 'Footer', '<a href="http://vamcart.com/">{lang}PHP Shopping Cart{/lang}</a>
<a href="http://vamcart.com/">VamCart</a>', 'footer', 1, '2009-07-17 10:00:06',
'2009-09-12 17:05:49');
n
</table>\r\n
<a class="checkout" href="{checkout_link}">{lang}Checko
ut{/lang}</a>\r\n</div>', '2009-07-31 14:56:59', '2009-09-02 22:26:49', 'shoppin
g_cart');
INSERT INTO `micro_templates` VALUES (6, 'currency-box', '<!-- Box -->\r\n<div c
lass="box">\r\n<h5><img src="{base_path}/img/icons/menu/payment-methods.png" alt
="" /> {lang}Currency{/lang}</h5>\r\n<div class="boxContent">\r\n\r\n<form
action="{base_path}/currencies/pick_currency/" method="post">\r\n<select name="c
urrency_picker">\r\n{foreach from=currencies item=currency}\r\n<option value="{
currency.id}" {if currency.id == smarty.session.Customer.currency_id}selected
="selected"{/if}>{currency.name}</option>\r\n{/foreach}\r\n</select>\r\n<span c
lass="button"><button type="submit" value="{lang}Go{/lang}"><img src="{base_path
}/img/icons/buttons/submit.png" width="12" height="12" alt="" /> {lang}Go{/
lang}</button></span>\r\n</form>\r\n
\r\n</p>\r\n</div>\r\n</div>\r\n
<!-- /Box -->', '2009-08-01 14:42:02', '2010-02-05 19:19:50', 'currency_box');
INSERT INTO `micro_templates` VALUES (8, 'cart-content-box', '<!-- Box -->\r\n<d
iv id="shopping-cart-box">\r\n<div class="box">\r\n<h5><img src="{base_path}/img
/icons/menu/orders.png" alt="" /> <a href="{cart_link}" class="shopping_ca
rt_link">{lang}Shopping Cart{/lang}</a></h5>\r\n<div class="boxContent">\r\n\r\n
<ul class="cart_contents">\r\n
{foreach from=order_items item=product}
\r\n
<li>{product. ty} x <a href="{product.url}">{product.
name}</a></li>\r\n
{/foreach}\r\n </ul>\r\n
<ul class="cart_
total">\r\n
<li>{lang}Total{/lang}: {order_total}</li>\r\n </ul>\r\
n
<a class="checkout" href="{checkout_link}">{lang}Checkout{/lang}</a>\r\
n
\r\n</p>\r\n</div>\r\n</div>\r\n</div>\r\n<!-- /Box -->', '200908-09 16:27:09', '2010-02-05 19:18:16', 'shopping_cart');
INSERT INTO `micro_templates` VALUES (9, 'payment-view-cart', '<div class="cart"
>\r\n <table>\r\n
<tr>
\r\n
<th> </th>\r\n
<th>{lang}Product{/lang}</th>\r\n
<th>{lang}Price Ea.{/lan
g}</th>\r\n
<th>{lang}Qty{/lang}</th>\r\n
<th>{lang}Total{/lang}</th>\r\n
</tr>\r\n
\r\n
{foreach from=order_items item=product}
\r\n
<tr>\r\n
<td><a href="{ba
se_path}/cart/remove_product/{product.id}" class="remove">x</a></td>\r\n
<td><a href="{product.link}">{product.name}</a></td>\r\n
<td>{product.price}</td>\r\n
<td>{product. ty}</td>\
r\n
<td>{product.line_total}</td>\r\n
</tr>
\r\n
{foreachelse} \r\n
<tr>\r\n
<td colspan="5">{lang}No Cart Items{/lan
g}</td>\r\n
</tr>\r\n
{/foreach}
\r\n
\r\n
<tr class="cart_total">\r\n
<td colspan="5">\r\n
{lang}Shipping{/lang}: {shippin
g_total}<br />\r\n
<strong>{lang}Total{/lang}:</str
ong> {order_total}\r\n
</td>\r\n
</tr>\r\n
</table>\r\n</div>', '2009-08-10 13:09:25', '2009-09-02 22:25:57', 'shopping_car
t');
INSERT INTO `micro_templates` VALUES (10, 'language-box', '<!-- Box -->\r\n<div
class="box">\r\n<h5><img src="{base_path}/img/icons/menu/locale.png" alt="" />&n
bsp;{lang}Language{/lang}</h5>\r\n<div class="boxContent">\r\n\r\n{foreach from=
languages item=language}\r\n<a href="{language.url}"><img src="{language.imag
e}" alt="{language.name}" title="{language.name}"/></a>\r\n{/foreach}\r\n\r\n<
/div>\r\n</div>\r\n<!-- /Box -->', '2009-07-12 18:52:23', '2010-02-05 19:15:57',
'language_box');
INSERT INTO `micro_templates` VALUES (11, 'subcategory-listing', '<div>\r\n<ul c
lass="listing">\r\n{foreach from=content_list item=node}\r\n <li\r\n {if nod
e.alias == content_alias}\r\n
class="active"\r\n
{/if}\r\n
>\r\n <div><a href="{node.url}"><img src="{node.image}" alt="{node.name}" \
r\n
{if isset(thumbnail_width)}\r\n
width="{thumbnail_width}"\r\n
{/if}\r\n
/></a></div>\r\n
<div><a href="{node.url}">{node.name}<
/a></div></li>\r\n{foreachelse}\r\n
<li class="no_items">{lang}No Items Foun
d{/lang}</li>\r\n{/foreach}\r\n</ul>\r\n<div class="clear"></div>\r\n</div>\r\n'
ormation">\r\n
<div>\r\n
<h3>{lang}Billing Information{/lang}</h3>\r\n
</div>\r\n
<div> \r\n
<label for="bill_name">{lang}Name{/lang}</label
>\r\n
<input type="text" name="bill_name" id="bill_name" value="{order.bil
l_name}"/>\r\n
</div>\r\n
<div> \r\n
<label for="bill_line_1">{lang}
Address Line 1{/lang}</label>\r\n
<input type="text" name="bill_line_1" id=
"bill_line_1" value="{order.bill_line_1}" />\r\n
</div>
\r\n
<div> \r
\n
<label for="bill_line_2">{lang}Address Line 2{/lang}</label>\r\n
<i
nput type="text" name="bill_line_2" id="bill_line_2" value="{order.bill_line_2}
" />\r\n
</div>
\r\n
<div> \r\n
<label for="bill_city">{lang}City
{/lang}</label>\r\n
<input type="text" name="bill_city" id="bill_city" valu
e="{order.bill_city}" />\r\n
</div>
\r\n
<div> \r\n
<label for="
bill_country">{lang}Country{/lang}</label>\r\n
<select name="bill_country"
id="bill_country">{country_list selected=order.bill_country}</select>\r\n
</
div>
\r\n
<div> \r\n
<label for="bill_state">{lang}State{/lang}</lab
el>\r\n
<input type="text" name="bill_state" id="bill_state" value="{order
.bill_state}" />\r\n
</div>
\r\n
<div> \r\n
<label for="bill_zip"
>{lang}Zipcode{/lang}</label>\r\n
<input type="text" name="bill_zip" id="bi
ll_zip" value="{order.bill_zip}" />\r\n
</div> \r\n </div>
\r\n <div i
d="diff_shipping">\r\n
<div>\r\n
<h3>{lang}Shipping Information{/lang}</
h3>\r\n
</div>\r\n
<div>\r\n
<label for="diff_shipping"><input type="
checkbox" name="diff_shipping" id="diff_shipping" value="1" /> {lang}Different f
rom billing address{/lang}</label>\r\n
</div>\r\n </div>\r\n <div id="ship_
information">\r\n
<div>\r\n
<h3>{lang}Shipping Information{/lang}</h3>\r
\n
</div>\r\n
<div> \r\n
<label for="ship_name">{lang}Name{/lang}</l
abel>\r\n
<input type="text" name="ship_name" id="ship_name" value="{order
.ship_name}" />\r\n
</div>\r\n
<div> \r\n
<label for="ship_line_1">{
lang}Address Line 1{/lang}</label>\r\n
<input type="text" name="ship_line_1
" id="ship_line_1" value="{order.ship_line_1}" />\r\n
</div>
\r\n
<div
> \r\n
<label for="ship_line_2">{lang}Address Line 1{/lang}</label>\r\n
<input type="text" name="ship_line_2" id="ship_line_2" value="{order.ship_li
ne_2}" />\r\n
</div>
\r\n
<div> \r\n
<label for="ship_city">{lang
}City{/lang}</label>\r\n
<input type="text" name="ship_city" id="ship_city"
value="{order.ship_city}" />\r\n
</div>
\r\n
<div> \r\n
<label
for="ship_country">{lang}Country{/lang}</label>\r\n
<select name="ship_coun
try" id="ship_country">{country_list selected=order.ship_country}</select>\r\n
</div>
\r\n
<div> \r\n
<label for="ship_state">{lang}State{/lang}
</label>\r\n
<input type="text" name="ship_state" id="ship_state" value="{
order.ship_state}" />\r\n
</div>
\r\n
<div> \r\n
<label for="ship
_zip">{lang}Zipcode{/lang}</label>\r\n
<input type="text" name="ship_zip" i
d="ship_zip" value="{order.ship_zip}" />\r\n
</div>
\r\n </d
iv>\r\n <div id="contact_information">\r\n
<div>\r\n
<h3>{lang}Contact
Information{/lang}</h3>\r\n
</div>\r\n
<div> \r\n
<label for="email"
>{lang}Email{/lang}</label>\r\n
<input type="text" name="email" id="email"
value="{order.email}" />\r\n
</div>\r\n
<div> \r\n
<label for="phon
e">{lang}Phone{/lang}</label>\r\n
<input type="text" name="phone" id="phone
" value="{order.phone}" />\r\n
</div>
\r\n
<div> \r\n
<label for
="company_name">{lang}Company{/lang}</label>\r\n
<input type="text" name="c
ompany_name" id="company_name" value="{order.company_name}" />\r\n
</div>
\r\n
<div> \r\n
<label for="company_vat">{lang}VAT number{/lang}</labe
l>\r\n
<input type="text" name="company_vat" id="company_vat" value="{orde
r.company_vat}" />\r\n
</div>
\r\n
<div> \r\n
<label for="agree">
{lang}Please agree to our policy.{/lang} <a href="{base_path}/page/conditions-of
-use.html">{lang}Terms & Conditions.{/lang}</a></label>\r\n
<input type="ch
eckbox" class="checkbox" id="agree" name="agree" />\r\n
</div>
\r\n </div
>\r\n <div>\r\n {module alias="coupons" action="checkout_box"}\r\n </div>\r\n
<span class="button"><button type="submit" value="{lang}Continue{/lang}"><img
src="{base_path}/img/icons/buttons/submit.png" width="12" height="12" alt="" />&
nbsp;{lang}Continue{/lang}</button></span>\r\n</form>\r\n</div>\r\n', '2009-07-1
2 18:52:23', '2011-06-05 20:25:38', 'checkout');
INSERT INTO `micro_templates` VALUES (14, 'news-box', '<!-- News box -->\r\n<div
(2, 0, 2),
(3, 0, 3),
(4, 0, 4);
DROP TABLE IF EXISTS order_status_descriptions;
CREATE TABLE `order_status_descriptions` (
`id` int(10) NOT NULL auto_increment,
`order_status_id` int(10) NOT NULL,
`language_id` int(10) NOT NULL,
`name` varchar(50) collate utf8_unicode_ci NOT NULL,
`description` text collate utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `order_status_descriptions` (`id`, `order_status_id`, `language_id`,
`name`, `description`) VALUES
(1, 1, 1, 'Pending', ''),
(2, 1, 2, ' ', ''),
(3, 2, 1, 'Processing', ''),
(4, 2, 2, '', ''),
(5, 3, 1, 'Delivering', ''),
(6, 3, 2, '', ''),
(7, 4, 1, 'Delivered', ''),
(8, 4, 2, '', '');
DROP TABLE IF EXISTS payment_methods;
CREATE TABLE `payment_methods` (
`id` int(10) NOT NULL auto_increment,
`active` tinyint(4) NOT NULL,
`default` tinyint(4) NOT NULL,
`name` varchar(255) collate utf8_unicode_ci NOT NULL,
`icon` varchar(255) collate utf8_unicode_ci NOT NULL,
`alias` varchar(255) collate utf8_unicode_ci NOT NULL,
`order` int(10) NOT NULL,
`order_status_id` int(10) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `payment_methods` (`id`, `active`, `default`, `name`, `icon`, `alias
`, `order`, `order_status_id`) VALUES
(1, 1, 0, 'In-store Pickup', '', 'store_pickup', 0, 0),
(2, 1, 1, 'Money Order Check', '', 'money_order_check', 0, 0),
(3, 1, 0, 'Paypal', 'paypal.png', 'paypal', 0, 0),
(4, 1, 0, 'Credit Card', '', 'credit_card', 0, 0),
(5, 1, 0, 'Authorize.Net', '', 'authorize', 0, 0),
(6, 1, 0, 'Google Checkout', '', 'google_html', 0, 0);
DROP TABLE IF EXISTS payment_method_values;
CREATE TABLE `payment_method_values` (
`id` int(10) NOT NULL auto_increment,
`payment_method_id` int(10) NOT NULL,
`key` varchar(50) collate utf8_unicode_ci NOT NULL,
`value` varchar(255) collate utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `payment_method_values` (`id`, `payment_method_id`, `key`, `value`)
VALUES
(1, 3, 'paypal_email', '[email protected]'),
(2, 5, 'authorize_login', '123456'),
(2,
(3,
(4,
(5,
),
(6,
3,
3,
4,
4,
'per_item_amount', '1'),
'per_item_handling', '5.00'),
'table_based_type', 'weight'),
'table_based_rates', '0:0.50,\r\n1:1.50,\r\n2:2.25,\r\n3:3.00,\r\n4:5.75'
2, 'cost', '0');
solid c0c1c2;\r\n
border-top-left-radius: 8px;\r\n
border-top-right-radiu
s: 8px;\r\n
-moz-border-radius-topleft: 8px;\r\n
-webkit-border-top-left-r
adius: 8px;\r\n
-moz-border-radius-topright: 8px;\r\n
-webkit-border-top-r
ight-radius: 8px;\r\n
vertical-align: middle;\r\n }\r\n \r\ndiv.pageContent
\r\n {\r\n
margin: 0;\r\n
padding: .5em;\r\n
background-color: fff;\r
\n
background-image: url(../../img/bg.png);\r\n
background-position: 0 -60
2px;\r\n
background-repeat: repeat-x;\r\n
border-top: 0px;\r\n
border-l
eft: 1px solid c0c1c2;\r\n
border-right: 1px solid c0c1c2;\r\n
border-bo
ttom: 1px solid c0c1c2;\r\n
border-bottom-left-radius: 8px;\r\n
border-bo
ttom-right-radius: 8px;\r\n
-moz-border-radius-bottomleft: 8px;\r\n
-webki
t-border-bottom-left-radius: 8px;\r\n
-moz-border-radius-bottomright: 8px;\r\
n
-webkit-border-bottom-right-radius: 8px;\r\n }\r\n\r\n/ /Page content /\
r\n\r\n/- Menu /\r\n\r\ndivmenu\r\n {\r\n
border-top: 3px solid ff7b08;\
r\n
background-color: fff;\r\n
background-image: url(../../img/bg.png);\r
\n
background-position: 0 -100px;\r\n
background-repeat: repeat-x;\r\n
padding: 0;\r\n
margin: 0 auto;\r\n }\r\n\r\nmenu ul, menu ul li\r\n {\r\
n
list-style: none;\r\n
margin: 0;\r\n
padding: 0;\r\n }\r\n\r\nmenu
ul\r\n {\r\n
padding: 3px 0 3px;\r\n
text-align: center;\r\n }\r\n\r\nm
enu ul li\r\n {\r\n
display: inline;\r\n
margin-right: .3em;\r\n }\r\n\r
\nmenu ul li.current a\r\n {\r\n
display: inline;\r\n
color: fff;\r\n
background: ff7b08;\r\n
margin-right: .3em;\r\n }\r\n\r\nmenu ul li a\r\
n {\r\n
color: 000;\r\n
padding: 5px 0;\r\n
text-decoration: none;\r\
n }\r\n\r\nmenu ul li a span\r\n {\r\n
padding: 5px .5em;\r\n }\r\n\r\nm
enu ul li a:hover span\r\n {\r\n
color: fff;\r\n
text-decoration: none;\
r\n }\r\n\r\nmenu ul li a:hover\r\n {\r\n
color: 69C;\r\n
background:
text-decoration: none;\r\n }\r\n\r\n/\\///\r\nmenu ul li a\
ff7b08;\r\n
r\n {\r\n
display: inline-block;\r\n
white-space: nowrap;\r\n
width: 1
px;\r\n }\r\n\r\nmenu ul\r\n {\r\n
padding-bottom: 0;\r\n
margin-bottom
: -1px;\r\n }\r\n//\r\n\r\n/\\/\r\n html menu ul li a\r\n {\r\n
paddi
ng: 0;\r\n }\r\n//\r\n
\r\n/- /Menu /\r\n\r\n/- Boxes /\r\n\r\n/- Box
/\r\n.box\r\n {\r\n
margin: 0 .5em .5em .5em;\r\n
padding: 0;\r\n }\r\
n\r\n/- Box Header /\r\n.box h5\r\n {\r\n
color: ff7b08;\r\n
font-weig
ht: bold;\r\n
font-size: 12pt;\r\n
margin: 0;\r\n
padding: 7px 0 7px 10
px;\r\n
background-color: f4f4f4;\r\n
background-image: url(../../img/bg.
png);\r\n
background-position: 0 -135px;\r\n
background-repeat: repeat-x;\
r\n
border-top: 1px solid c0c1c2;\r\n
border-left: 1px solid c0c1c2;\r\n
border-right: 1px solid c0c1c2;\r\n
border-bottom: 1px solid c0c1c2;\r\
n
border-top-left-radius: 8px;\r\n
border-top-right-radius: 8px;\r\n
-m
oz-border-radius-topleft: 8px;\r\n
-webkit-border-top-left-radius: 8px;\r\n
-moz-border-radius-topright: 8px;\r\n
-webkit-border-top-right-radius: 8px;
\r\n
vertical-align: middle;\r\n }\r\n\r\n.box h5 a\r\n {\r\n
color: ff
7b08;\r\n
font-weight: bold;\r\n
font-size: 12pt;\r\n
text-decoration:
none;\r\n }\r\n/- /Box Header /\r\n\r\n/- Box Content /\r\n.boxContent\r\n
{\r\n
margin: 0;\r\n
padding: .5em;\r\n
background-color: fff;\r\n
background-image: url(../../img/bg.png);\r\n
background-position: 0 -602px;\
r\n
background-repeat: repeat-x;\r\n
border-top: 0px;\r\n
border-left:
1px solid c0c1c2;\r\n
border-right: 1px solid c0c1c2;\r\n
border-bottom:
1px solid c0c1c2;\r\n
border-bottom-left-radius: 8px;\r\n
border-bottomright-radius: 8px;\r\n
-moz-border-radius-bottomleft: 8px;\r\n
-webkit-bor
der-bottom-left-radius: 8px;\r\n
-moz-border-radius-bottomright: 8px;\r\n
-webkit-border-bottom-right-radius: 8px;\r\n }\r\n\r\n.boxContent.center\r\n {
\r\n
margin: 0 auto;\r\n
text-align: center;\r\n
padding: .5em;\r\n
background-color: fff;\r\n
background-image: url(../../img/bg.png);\r\n
b
ackground-position: 0 -602px;\r\n
background-repeat: repeat-x;\r\n
bordertop: 0px;\r\n
border-left: 1px solid c0c1c2;\r\n
border-right: 1px solid
border-bottom: 1px solid c0c1c2;\r\n
border-bottom-left-radi
c0c1c2;\r\n
us: 8px;\r\n
border-bottom-right-radius: 8px;\r\n
-moz-border-radius-botto
mleft: 8px;\r\n
-webkit-border-bottom-left-radius: 8px;\r\n
-moz-border-ra
dius-bottomright: 8px;\r\n
-webkit-border-bottom-right-radius: 8px;\r\n }\r\
n \r\nboxContent p\r\n {\r\n
margin: 0;\r\n
padding: 0;\r\n }\r\n\r\n/
px;\r\n
-moz-border-radius-topleft: 4px;\r\n
-webkit-border-top-left-radiu
s: 4px;\r\n
-moz-border-radius-topright: 4px;\r\n
-webkit-border-top-right
-radius: 4px;\r\n
-moz-border-radius-bottomleft: 4px;\r\n
-webkit-border-b
ottom-left-radius: 4px;\r\n
-moz-border-radius-bottomright: 4px;\r\n
-webk
it-border-bottom-right-radius: 4px;\r\n }\r\n\r\ntextarea\r\n {\r\n
overflo
w: auto;\r\n
width: 80;\r\n
height: 25em;\r\n
border: 1px solid;\r\n
border-color: 666 ccc ccc 666;\r\n
padding: .3em;\r\n
border-top-lef
t-radius: 4px;\r\n
border-top-right-radius: 4px;\r\n
border-bottom-left-ra
dius: 4px;\r\n
border-bottom-right-radius: 4px;\r\n
-moz-border-radius-top
left: 4px;\r\n
-webkit-border-top-left-radius: 4px;\r\n
-moz-border-radius
-topright: 4px;\r\n
-webkit-border-top-right-radius: 4px;\r\n
-moz-borderradius-bottomleft: 4px;\r\n
-webkit-border-bottom-left-radius: 4px;\r\n
-m
oz-border-radius-bottomright: 4px;\r\n
-webkit-border-bottom-right-radius: 4p
x;\r\n }\r\n\r\ntextarea:focus, input:focus, .sffocus, .sffocus\r\n {\r\n
b
ackground-color: ffc;\r\n }\r\n\r\nlabel.error \r\n {\r\n
margin-left: 10p
x;\r\n
width: auto;\r\n
display: inline;\r\n
color: red;\r\n
font-we
ight: normal;\r\n
background: transparent;\r\n}\r\n\r\n.error\r\n {\r\n
background: fcc;\r\n }\r\n
\r\n/ /Forms /\r\n\r\n\r\n/ Pagination /\r
\n.paginator ul\r\n {\r\n
list-style:none;\r\n }\r\n\r\n.paginator ul li\r\
n {\r\n
display:inline;\r\n }\r\n\r\n.paginator ul li a.current\r\n {\r\n
font-weight:bold;\r\n }\r\n/ /Pagination /\r\n.back { float: right;\r\n}\
r\n\r\ninput.button {\r\n margin: 0 5px;\r\n cursor: pointer;\r\n}\r\n\r\n.tot
al-value {\r\n float: right;\r\n}\r\n\r\nlogin-form .label {\r\n float: left;
\r\n width: 200px;\r\n}', 0, '2009-07-14 18:44:00', '2011-05-03 16:22:21');
DROP TABLE IF EXISTS stylesheet_media_types;
CREATE TABLE `stylesheet_media_types` (
`id` int(10) NOT NULL auto_increment,
`name` varchar(50) collate utf8_unicode_ci NOT NULL,
`type` varchar(50) collate utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `stylesheet_media_types` (`id`, `name`, `type`) VALUES
(1, 'all : Suitable for all devices.', 'all'),
(2, 'aural : Intended for speech synthesizers.', 'aural'),
(3, 'braille : Intended for braille tactile feedback de', 'braille'),
(4, 'embossed : Intended for paged braille printers.', 'embossed'),
(5, 'handheld : Intended for handheld devices', 'handheld'),
(6, 'print : Intended for paged, opa ue material and fo', 'print'),
(7, 'projection : Intended for projected presentations,', 'projection'),
(8, 'screen : Intended primarily for color computer scr', 'screen'),
(9, 'tty : Intended for media using a fixed-pitch chara', 'tty'),
(10, 'tv : Intended for television-type devices.', 'tv'),
(11, 'iPhone specific', 'only screen and (max-device-width: 480px)');
DROP TABLE IF EXISTS taxes;
CREATE TABLE `taxes` (
`id` int(10) NOT NULL auto_increment,
`default` tinyint(4) NOT NULL,
`name` varchar(255) collate utf8_unicode_ci NOT NULL,
`created` datetime NOT NULL,
`modified` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `taxes` (`id`, `default`, `name`, `created`, `modified`) VALUES
(1, 1, 'Non-Taxable', '2009-08-03 20:39:02', '2009-08-06 10:03:37'),
(2, 0, 'United States - VA Sales Tax', '2009-08-05 20:18:46', '2009-08-06 10:03:
52');
ox\'}\r\n
{language_box template=\'language-box\'}\r\n
{currency_box template=\'currency-box\'}\r\n
</div>\r\n
<!-- /Right Colu
mn -->\r\n\r\n <!-- Footer -->\r\n
<div id="footer">\r\n
<p>{glob
al_content alias=\'footer\'}</p>\r\n
</div>\r\n
<!-- /Footer -->\r\n\r\n
</div>\r\n<!-- /Container -->\r\n\r\n</body>\r\n</html>', '2009-07-26 16:02:41',
'2010-02-04 18:16:16'),
(3, 1, 2, 0, 'Content Page', '{description}\r\n', '2009-07-26 16:02:41', '2009-0
7-29 21:37:54'),
(4, 1, 3, 0, 'Product Info', '<script type="text/javascript" src="{base_path}/js
/j uery/j uery.min.js"></script>\r\n<link rel="stylesheet" type="text/css" href=
"{base_path}/css/j uery.fancybox-1.2.5.css" media="screen" />\r\n<script type="t
ext/javascript" src="{base_path}/js/j uery/plugins/fancybox/j uery.fancybox-1.2.
5.pack.js"></script>\r\n\r\n<script type="text/javascript">\r\n (document).rea
dy(function() {\r\n
"zoomOpacity"
: true,\
("a.zoom").fancybox({\r\n
r\n
"overlayShow"
: false,\r\n
"zoomSpeedIn"
: 250,\r\n
"zoom
SpeedOut"
: 250\r\n });\r\n });\r\n\r\n function onProductFormSubmit() {
\r\n
var str = ("product-form").serialize();\r\n\r\n
.post("/cart/purch
ase_product", str, function(data) {\r\n
("shopping-cart-box").html(data);
\r\n
});\r\n\r\n }\r\n</script>\r\n\r\n\r\n<div id="product_details_left">\r
\n {description}\r\n</div>\r\n<div id="product_details_right">\r\n <div class=
"product_images">{content_images}</div>\r\n <div class="pricing">\r\n
<h3>Pr
icing</h3>\r\n
{product_prices}\r\n
<div style="clear: both"></div>\r\n
<div style="clear: both"></div>\r\n
{if ''1'' == ajax_enable}\r\n
{pro
duct_form_ajax}\r\n
<div class="product_price">{product_ uantity} {purch
ase_button id=content_id}</div>\r\n
{/product_form_ajax}\r\n
{else}\r
\n
{product_form}\r\n
<div class="product_price">{product_ uantity
} {purchase_button id=content_id}</div>\r\n
{/product_form}\r\n
{/if}
\r\n
{module alias=''reviews'' action=''link''}\r\n </div>\r\n</div>\r\n<div
style="clear:both;"></div>', '2009-07-26 16:02:41', '2012-07-06 15:13:50'),
(5, 1, 4, 0, 'Category Info', '{description}\r\n\r\n{if sub_count->value.catego
ries > 0}\r\n <h3>{lang}Sub Categories{/lang}</h3>\r\n
<div class="cont
ent_listing">\r\n
{content_listing template=\'subcategory-listing\
' parent={content_id} type=''category''}\r\n </div>\r\n{/if}\r\n\r\n{if sub_
count->value.products > 0}\r\n <h3>{lang}Products in this Category{/lang}</h3>\
r\n
<div class="content_listing">\r\n
{content_listing templat
e=\'product-listing\' parent={content_id} page={page} type=''product''}\r\n
</div>\r\n{/if}', '2009-07-26 16:02:41', '2009-08-30 14:49:18'),
(6, 1, 5, 0, 'News Page', '{description}\r\n', '2009-07-26 16:02:41', '2009-07-2
9 21:37:54'),
(7, 1, 6, 0, 'Article Page', '{description}\r\n', '2009-07-26 16:02:41', '2009-0
7-29 21:37:54');
DROP TABLE IF EXISTS templates_stylesheets;
CREATE TABLE `templates_stylesheets` (
`template_id` int(10) unsigned NOT NULL default '0',
`stylesheet_id` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`template_id`,`stylesheet_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
INSERT INTO `templates_stylesheets` (`template_id`, `stylesheet_id`) VALUES
(1, 1);
DROP TABLE IF EXISTS template_types;
CREATE TABLE `template_types` (
`id` int(10) NOT NULL auto_increment,
`name` varchar(50) collate utf8_unicode_ci NOT NULL,
`default_template` text collate utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;