sto installando la contrib Discount Groups 1.1.1 solo che mi sono già bloccato in partenza perchè nel file di installazione c'è questa dicitura da inserire nel DB che faccio fatica a capire. Purtroppo non sono espertissimo di Phpmyadmin e prima di fare qualche cag**a meglio chiedere consiglio. Vorrei tradurre tutto questo:
Codice: Seleziona tutto
# Database: catalog
# Table: 'customers_groups'
#
CREATE TABLE `customers_groups` (
`customers_groups_id` int(11) NOT NULL auto_increment,
`customers_groups_name` varchar(32) NOT NULL default '',
`customers_groups_discount` int(11) NOT NULL default '0',
PRIMARY KEY (`customers_groups_id`)
) TYPE=MyISAM;
# Database: catalog
# Table: 'groups_to_categories'
#
CREATE TABLE `groups_to_categories` (
`customers_groups_id` int(11) NOT NULL default '0',
`categories_id` int(11) NOT NULL default '0',
`discount` int(11) NOT NULL default '0',
PRIMARY KEY (`customers_groups_id`,`categories_id`)
) TYPE=MyISAM; F
add to the "customers_groups" table a record with id "1", name "Default" and discount = 0
add the column "customers_groups_id" int(11) to "customers" table with default value = 1;
execute on table "customers":
UPDATE customers SET customers_groups_id = 1;
add the column "category_id" int(11) to "customers_basket" table ;
Grazie a tutti
Skizo