<?xml version="1.0"?>
<addon scheme="3.0">
<id>ab__product_configurator</id>
<version>1.0.0</version>
<priority>2020</priority>
<position>0</position>
<status>active</status>
<default_language>en</default_language>
<ab>
<hash>d4cc0debba1196acbf817db39dda5c7bb02f7c44, 2021-03-05 23:35:20</hash>
<compatibility>
<dependencies>
<ab__addons_manager><min>2.3.5</min></ab__addons_manager>
</dependencies>
</compatibility>
</ab>
<authors>
<author>
<name>AlexBranding</name>
<email>info@alexbranding.com</email>
<url>https://alexbranding.com</url>
</author>
</authors>
<supplier>AlexBranding</supplier>
<supplier_link>https://cs-cart.alexbranding.com</supplier_link>
<supplier_page>ab__am.addons</supplier_page>
<compatibility>
<dependencies>ab__addons_manager</dependencies>
<core_version><min>4.11.4</min></core_version>
<core_edition>ULTIMATE,MULTIVENDOR</core_edition>
</compatibility>
<settings layout="separate" edition_type="ROOT,VENDOR,STOREFRONT">
<sections>
<section id="settings">
<items>
<item id="code"><type>hidden</type><default_value>ABA-x8AcWTBBVl3usAvTeaf6V</default_value></item>
<item id="build"><type>hidden</type><default_value>728</default_value></item>
<item id="demo_installed"><type>hidden</type><default_value></default_value></item>
</items>
</section>
</sections>
</settings>
<queries>
<item>CREATE TABLE IF NOT EXISTS ?:ab__pc_configurators (
configurator_id SMALLINT UNSIGNED NOT NULL AUTO_INCREMENT,
status char(1) NOT NULL DEFAULT 'A',
position SMALLINT UNSIGNED NOT NULL DEFAULT '0',
company_id int(11) UNSIGNED NOT NULL DEFAULT '0',
working_mode char(1) NOT NULL,
unavailable_steps_behavior char(1) NOT NULL DEFAULT '',
hide_prices_on_steps char(1) NOT NULL DEFAULT 'N',
show_welcome_page char(1) NOT NULL DEFAULT 'N',
allow_multistep_redirect char(1) NOT NULL DEFAULT 'N',
timestamp int(11) unsigned NOT NULL default '0',
updated_timestamp int(11) unsigned NOT NULL default '0',
updated_hash varchar(255) NOT NULL,
PRIMARY KEY (configurator_id),
KEY working_mode (working_mode)
) DEFAULT CHARSET=utf8;
</item>
<item>CREATE TABLE IF NOT EXISTS ?:ab__pc_configurator_descriptions (
configurator_id SMALLINT UNSIGNED NOT NULL,
lang_code char(2) NOT NULL,
configurator varchar(255) NOT NULL,
description mediumtext,
welcome_page mediumtext,
PRIMARY KEY (configurator_id,lang_code)
) DEFAULT CHARSET=utf8;
</item>
<item>CREATE TABLE IF NOT EXISTS ?:ab__pc_steps (
step_id SMALLINT UNSIGNED NOT NULL AUTO_INCREMENT,
configurator_id SMALLINT UNSIGNED NOT NULL,
status char(1) NOT NULL DEFAULT 'A',
position SMALLINT UNSIGNED NOT NULL DEFAULT '0',
step_type char(1) NOT NULL,
is_required char(1) NOT NULL DEFAULT 'N',
display_filter_conditions char(1) NOT NULL DEFAULT 'N',
display_help_info char(1) NOT NULL DEFAULT 'N',
auto_relocate char(1) NOT NULL DEFAULT 'N',
auto_relocate_amount TINYINT UNSIGNED NOT NULL DEFAULT '0',
allow_set_amount char(1) NOT NULL DEFAULT 'N',
show_prompt char(1) NOT NULL DEFAULT 'N',
min_amount SMALLINT UNSIGNED NOT NULL DEFAULT '0',
max_amount SMALLINT UNSIGNED NOT NULL DEFAULT '0',
display_conditions text,
link_conditions text,
limit_products_amount SMALLINT UNSIGNED NOT NULL DEFAULT '0',
show_sorting char(1) NOT NULL DEFAULT 'Y',
selecting_mode char(1) NOT NULL DEFAULT 'S',
active_button_behavior char(1) NOT NULL DEFAULT 'S',
default_view varchar(50) NOT NULL DEFAULT '',
logical_group_id int(11) NOT NULL DEFAULT '0',
forwarding_steps_amount int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (step_id),
KEY configurator_step (step_id,configurator_id)
) DEFAULT CHARSET=utf8;
</item>
<item>CREATE TABLE IF NOT EXISTS ?:ab__pc_step_descriptions (
step_id SMALLINT UNSIGNED NOT NULL,
lang_code char(2) NOT NULL,
step varchar(255) NOT NULL,
description mediumtext,
prompt mediumtext,
PRIMARY KEY (step_id,lang_code)
) DEFAULT CHARSET=utf8;
</item>
<item>CREATE TABLE IF NOT EXISTS ?:ab__pc_soses (
sos_id SMALLINT UNSIGNED NOT NULL AUTO_INCREMENT,
step_id SMALLINT UNSIGNED NOT NULL,
position SMALLINT UNSIGNED NOT NULL DEFAULT '0',
status char(1) NOT NULL DEFAULT 'A',
link_conditions text,
user_class varchar(255) NOT NULL,
PRIMARY KEY (sos_id),
KEY step_id (step_id)
) DEFAULT CHARSET=utf8;
</item>
<item>CREATE TABLE IF NOT EXISTS ?:ab__pc_sos_descriptions (
sos_id SMALLINT UNSIGNED NOT NULL,
lang_code char(2) NOT NULL,
name varchar(255) NOT NULL,
PRIMARY KEY (sos_id,lang_code)
) DEFAULT CHARSET=utf8;
</item>
<item>CREATE TABLE IF NOT EXISTS ?:ab__pc_display_conditions
(
id int auto_increment,
step_id int not null,
condition_type varchar(50) default '' not null,
relative_object_id int null,
condition_data text,
constraint ?:ab__pc_display_conditions_pk
primary key (id)
);
</item>
<item>
CREATE TABLE IF NOT EXISTS ?:ab__pc_logical_groups
(
logical_group_id int(11) auto_increment,
configurator_id int(11) not null,
position int(11) not null,
logical_group varchar(255) not null,
constraint ?:ab__pc_logical_groups_pk
primary key (logical_group_id)
);
</item>
<item for="install">REPLACE INTO ?:privileges (privilege, is_default, section_id, group_id, is_view) VALUES ('ab__product_configurator.data.manage', 'Y', 'ab__addons', 'ab__product_configurator', 'N')</item>
<item for="install">REPLACE INTO ?:privileges (privilege, is_default, section_id, group_id, is_view) VALUES ('ab__product_configurator.data.view', 'Y', 'ab__addons', 'ab__product_configurator', 'Y')</item>
<item for="uninstall">DELETE FROM ?:privileges WHERE section_id = 'ab__product_configurator' OR group_id = 'ab__product_configurator'</item>
</queries>
</addon>
