chocolatdemariage/www/modules/antadisconfigurator
2017-09-28 16:56:07 +02:00
..
classes Fix hidden fields 2017-09-19 16:04:14 +02:00
controllers Change 755 to 0755 2017-09-28 16:56:07 +02:00
install Add txt column to store configuration 2017-08-16 09:45:38 +02:00
override Fix ajax price 2017-08-29 15:34:10 +02:00
translations fix form checkbox 2017-08-24 18:17:43 +02:00
views Fix hidden fields 2017-09-19 16:04:14 +02:00
antadisconfigurator.php Uninstall 2017-09-01 15:47:48 +02:00
index.php Add module antadisconfigurator + specific 2017-06-08 12:23:50 +02:00
logo.gif Add module logo 2017-06-29 16:12:22 +02:00
logo.png Add module logo 2017-06-29 16:12:22 +02:00
README.md Update doc 2017-06-27 17:53:02 +02:00

# Install

  • 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;
  • Disable ajax cart (Module > Bloc panier > Configurer)

Documentation

## Usage

  • Reference all options to be use in your catalog

    1. Add a group
    2. Add items in this group
  • 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
  • TODO
  • Ajouter la gestion des upload de fichiers
  • nom du fichier sans espace et caractère spéciaux
  • Proteger un groupe d'options si déjà affecté à un produit