Commit graph

10 commits

Author SHA1 Message Date
Colin Kuskie
affd08990a Convert variants over to the new collateral API.
Convert the upgrade script to the new API.
Fix a few bugs in the collateral API with "empty" collateral Ids
and add tests for it.
2008-05-18 23:44:43 +00:00
Colin Kuskie
d849aacc51 Add tests for handling adding new collateral.
Covert features to new collateral API.
2008-05-18 16:01:13 +00:00
Colin Kuskie
04412f96c4 handle the case when the JSON hash contains only the unique identifier 2008-05-16 05:40:20 +00:00
Colin Kuskie
06a38c61c3 JSON collateral rewrite, first part.
API is rewritten and tested.  Upgrade script builds JSON
for all commerce products with unique identifiers.
TBD: Rework Product asset and test it.
2008-05-16 05:08:58 +00:00
Colin Kuskie
4da1f8314f Convert accessories over to the new Product collateral methods.
Add a method to get the JSON collateral indexed, for easy access to indeces.
Add tests for the new getIndexedCollateralData method.
In the upgrade script, put variants in all versions of the Product.  Begin
work on converting the collateral tables over to JSON.
2008-05-04 16:06:31 +00:00
Colin Kuskie
9d2b810a05 conversion of Product from Wobjects to Skus with variants is done 2008-05-04 04:32:58 +00:00
Colin Kuskie
6ad6cd3e5e move* with tests 2008-05-03 21:25:19 +00:00
Colin Kuskie
9489383cfe deleteCollateral tests, and detab Sku/Product.pm 2008-05-03 19:24:30 +00:00
Colin Kuskie
ef12f5118f more product collateral tests 2008-05-03 19:18:01 +00:00
Colin Kuskie
0000db901e Product variant creation is held off until we can finalize
the variant code.
Began building JSON based variant code, and a test for
verifying how it works.  set, get and delete collateral
are implemented.  Still need to build moveUp and moveDown.
Lots of tests to be written.
2008-05-03 05:41:13 +00:00