2017-06-08 12:23:50 +02:00
|
|
|
|
|
2017-06-22 17:22:17 +02:00
|
|
|
|
# Install
|
2017-06-08 12:23:50 +02:00
|
|
|
|
|
2017-06-09 11:10:25 +02:00
|
|
|
|
- Install Db table
|
|
|
|
|
- Some Core and Template Files must be changed (see install dir)
|
|
|
|
|
- Modify ps_cart_product
|
|
|
|
|
ALTER TABLE `ps_cart_product` ADD `id_configurator` INT UNSIGNED NOT NULL DEFAULT '0' AFTER `id_product_attribute`;
|
|
|
|
|
ALTER TABLE `ps_cart_product` DROP PRIMARY KEY, ADD PRIMARY KEY (`id_cart`, `id_product`, `id_product_attribute`, `id_address_delivery`, `id_configurator`) USING BTREE;
|
|
|
|
|
- Modify ps_order_detail
|
|
|
|
|
ALTER TABLE `ps_order_detail` ADD `id_configurator` INT UNSIGNED NOT NULL DEFAULT '0' AFTER `product_price`;
|
2017-06-22 17:22:17 +02:00
|
|
|
|
- Disable ajax cart (Module > Bloc panier > Configurer)
|
2017-06-08 12:23:50 +02:00
|
|
|
|
|
2017-06-22 17:22:17 +02:00
|
|
|
|
# Documentation
|
2017-06-09 11:10:25 +02:00
|
|
|
|
|
2017-06-27 17:53:02 +02:00
|
|
|
|
## Usage
|
|
|
|
|
|
2017-06-09 17:55:37 +02:00
|
|
|
|
- Reference all options to be use in your catalog
|
|
|
|
|
1. Add a group
|
|
|
|
|
2. Add items in this group
|
2017-06-08 12:23:50 +02:00
|
|
|
|
|
2017-06-09 17:55:37 +02:00
|
|
|
|
- Add option group to your product
|
|
|
|
|
1. Select an option (group with items) and associate it with your product
|
|
|
|
|
2. Define price impact for each item
|
2017-06-08 12:23:50 +02:00
|
|
|
|
|
|
|
|
|
* TODO
|
2017-06-23 09:47:00 +02:00
|
|
|
|
- Ajouter la gestion des upload de fichiers
|
|
|
|
|
- nom du fichier sans espace et caractère spéciaux
|
2017-06-27 17:53:02 +02:00
|
|
|
|
- Proteger un groupe d'options si déjà affecté à un produit
|