fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2010-04-06 05:54 pm

[dw-free] Update %SHOP configuration example

[commit: http://hg.dwscoalition.org/dw-free/rev/6f9013bce134]

http://bugs.dwscoalition.org/show_bug.cgi?id=2502

Add shop config to the example config file.

Patch by [personal profile] fu.

Files modified:
  • doc/config-local.pl.txt
--------------------------------------------------------------------------------
diff -r 1e04ba97020d -r 6f9013bce134 doc/config-local.pl.txt
--- a/doc/config-local.pl.txt	Tue Apr 06 16:38:24 2010 +0000
+++ b/doc/config-local.pl.txt	Tue Apr 06 10:58:52 2010 -0700
@@ -82,6 +82,20 @@
     # Uncomment if you don't want the (dw-free) default, 404-error.bml
     # (Note: you need to provide your own 404-error-local.bml)
     # $PAGE_404 = "404-error-local.bml";
+
+    # shop/pricing configuration
+    # %SHOP = (
+    #    key => [ $USD, months, account type, cost in points ],
+    #    prem6  => [  20,  6, 'premium', 200 ],
+    #    prem12 => [  40, 12, 'premium', 400 ],
+    #    paid1  => [   3,  1, 'paid', 30    ],
+    #    paid2  => [   5,  2, 'paid', 50    ],
+    #    paid6  => [  13,  6, 'paid', 130   ],
+    #    paid12 => [  25, 12, 'paid', 250   ],
+    #    seed   => [ 200, 99, 'seed', 2000   ],
+    #    points => [],
+    #);
+
 }
 
 1;
--------------------------------------------------------------------------------