Graham Knop
24da723629
updating copyright year
2009-02-20 23:47:30 +00:00
Graham Knop
bf9bd2f0d2
use proper JSON encoding/decoding
2009-02-10 21:41:36 +00:00
Colin Kuskie
e961bb6f26
forward port Product JSON collateral wide character fix
2008-12-01 19:29:45 +00:00
Colin Kuskie
23f8e48f6d
Update POD for several methods.
...
Make getObject clone data for safety and update tests.
Make newObject always alter $address for consistency and update tests.
2008-12-01 17:39:34 +00:00
JT Smith
ee84cc7611
Deprecated WebGUI::Storage::Image. WebGUI::Storage can now do everything
...
WebGUI::Storage::Image can do.
2008-11-26 16:06:18 +00:00
Graham Knop
edebe7e2b9
revert oops
2008-08-19 20:48:47 +00:00
Doug Bell
57b8cc4bae
fixed: loginBox macro can no longer return the user to the logout page, logging them out
2008-08-19 20:39:43 +00:00
Colin Kuskie
85e2c32919
update Sku/Product.t test to include isShippingAddress and getConfiguredTitle
2008-07-31 02:56:09 +00:00
Colin Kuskie
0955679ea1
Remove the getImportProductNode tests since it doesn't exist anymore.
2008-07-12 22:00:49 +00:00
Colin Kuskie
91317dfdd7
Fix potential JSON/UTF8 encoding issues in Asset/Sku/Product.pm
2008-07-08 21:23:45 +00:00
Colin Kuskie
14724cbbef
Add tests to check how getThumbnailUrl is supposed to work in the Product.
...
Then fix the bugs I added to it yesterday.
2008-06-20 22:05:47 +00:00
Colin Kuskie
227745d975
Fix getCollateral, which used to return direct copies instead of safe copies, and
...
add a test for that.
addToCart does not adjust inventory, that is handled by the cart.
Invert the sense of quantity in onAdjustQuantity.
2008-06-10 01:48:20 +00:00
Colin Kuskie
a998e119d1
update the plan since tests were moved into Asset.t for getIsa
2008-05-30 07:04:32 +00:00
Colin Kuskie
3ad1668a21
Promote the getAllProducts to Asset.pm as getIsa. Move the tests
...
from Asset/Sku/Product.t into Asset/Asset.t, and add tests to check
that inheritance is respected.
2008-05-28 16:06:52 +00:00
Colin Kuskie
0a05d637d4
Build an iterator for getting all products as objects, one at a time.
...
Build tests for the iterator.
Begin working on the exporter (which will use the iterator).
2008-05-28 04:37:21 +00:00
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
JT Smith
4a73cadf64
created donation asset
2008-02-27 02:44:33 +00:00