Submitted by smokinggoat on
Voici le script que j'ai développé pour le "Speed Demo" à Nantes - Créer un boutique avec DC en 20 minutes.
A utiliser avec caution.... ;-)
Point de départ: Le demo commence avec le téléchargement du code + le lancement du profil d'installation de base Drupal Commerce
Le point d'arrivé: Un catalogue avec au moins 2 produits (+ image & options), un tunnel d'achat complet mais modifié du défaut, une méthode de paiement qui marche (PayPal Sandbox) - avec explication tout au long du parcours!
==SPEED DEMO==
PRE-DEMO
Download Drupal 7 stable
Download modules + install profile
--VERSIONS DEV!!!
http://drupal.org/project/commerce
https://github.com/rszrama/commercedev
http://drupal.org/project/addressfield
http://drupal.org/project/ctools
http://drupal.org/project/entity
http://drupal.org/project/rules
http://drupal.org/project/views
http://drupal.org/project/admin_menu
http://drupal.org/project/commerce_paypal !!!!
Server settings:
* cp default.settings.php settings.php
* chmod 777 -R .
DEMO
Site name
* "Bootik Drupal Nantes"
Change currency
Add tax rate
* 19.6%
Change product 1
* T-shirt 1
* Add image
* Change tax inclus
Change Product Type
* Add size field
* List (text)
Add size to product 1
Change product 2
* Add size
* Add image
Add new product type
* Add image field
* Create Options field
FIX display - Image and Options on Teasers
Add product 3
* Image and options - No coffee
Add product 4
* Image and options - With coffee
Add Product Display
* For t-shirts
* For mugs
Add taxonomy terms
* T-shirts
* Mugs
Add to cart
* SHOW - Order created already
Cart Views
* Add titles to columns?
Checkout review
* Move payment to page 1 step
* Remove "Reivew"
==> One page checkout
Test one example purchase
Paypal
* Enable module
* Enable Rule
* Settings email : Your Paypal test address here
(Also note Test Buyer Email for Paypal ????)
Logout
Show Anon checkout
(IF TIME!) Show orders list and edit orders
(IF TIME!) Upload logo
(IF TIME!) Add Nav Menu
* T-shirts
* Mugs
(IF TIME!) Add rule to show example payment only for Admins
NOTE: Rules has bugs on Chrome, demo on SAFAR for this!!!!