google-code-export / google-checkout-java-sdk

Automatically exported from code.google.com/p/google-checkout-java-sdk
1 stars 0 forks source link

[Storefront] Move hardcoded values into a config file #39

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This config file should contain at minimum the base customer id and the URL
where the store will be fetching its json feed from.

Original issue reported on code.google.com by dang.cha...@gmail.com on 14 Dec 2007 at 6:08

GoogleCodeExporter commented 9 years ago
The config file should also have a property the merchant can set to switch a 
theme.
Another property could point to a location of a picture and if the picture is 
not
found then, we could A) not display any picture or B) display a default picture 
...
option A seems more acceptable imo.

Original comment by dang.cha...@gmail.com on 14 Dec 2007 at 10:42

GoogleCodeExporter commented 9 years ago
Under the directory src/com/google/checkout/samples/samplestore/server, there 
exists
a GridStore.xml for the hardcoded values. These values are the base customer 
id, the
name of the store and the max number of results the merchant wants to display.

Original comment by dang.cha...@gmail.com on 22 Dec 2007 at 3:25