Last active
August 29, 2015 14:19
-
-
Save cscartjp/65a38da5b157662bd524 to your computer and use it in GitHub Desktop.
CS-Cart Advanced Add-on Tutorial
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<addon scheme="2.0"> | |
<id>advanced_addon</id> | |
<name>Advanced Add-on</name> | |
<description>Advanced Add-on</description> | |
<version>1.0</version> | |
<priority>100500</priority> | |
<status>active</status> | |
<queries> | |
<item for="install">DROP TABLE IF EXISTS ?:advanced_addon_data;</item> | |
<item for="install"> | |
CREATE TABLE `?:advanced_addon_data` ( | |
`user_id` int(11) unsigned NOT NULL DEFAULT 0, | |
`categories` text NOT NULL DEFAULT '', | |
PRIMARY KEY (`user_id`) | |
) Engine=MyISAM DEFAULT CHARSET UTF8; | |
</item> | |
<item for="uninstall">DROP TABLE IF EXISTS ?:advanced_addon_data;</item> | |
</queries> | |
</addon> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment