Commit graph

113 commits

Author SHA1 Message Date
Colin Kuskie
1fd425ac96 Convert WebGUI::Shop::Products over to be object oriented.
Update the tests and Content plugin for the Shop.
Add the Products screen to the Shop admin screen.
Add exception handling to www_import.
Add a status message to the manage products screen.
2008-06-09 21:52:59 +00:00
Colin Kuskie
112da861ca add missing collateral from previous commit, add more tests for import 2008-06-07 22:35:55 +00:00
Colin Kuskie
0316b74ecd add tests for upgrading existing products, with bug fixes 2008-06-07 22:16:47 +00:00
Colin Kuskie
090e4c7adf add more export products tests, along with several bug fixes 2008-06-06 23:11:38 +00:00
Colin Kuskie
288fd54b17 tests for exporting, and some bug fixes in exportProducts 2008-06-05 19:57:01 +00:00
Colin Kuskie
994da561a5 web interface for importing and exporting products. Additional tests for the import/export API 2008-06-05 04:10:48 +00:00
Colin Kuskie
844c39e321 update PayDriver.t with the latest definition and form elements 2008-05-30 07:18:05 +00:00
Colin Kuskie
70f657d042 account for another default paydriver not that itransact has been added 2008-05-30 07:14:39 +00:00
Colin Kuskie
e562a45b10 Fix two bugs with importing product data.
Begin to build code for adding and editing products.
2008-05-27 04:01:41 +00:00
Colin Kuskie
b03b3b340e Remove extra whitespace in the testing files.
Make importProducts check file headers.
Add testing collateral, and tests
2008-05-27 01:12:01 +00:00
Colin Kuskie
b283ebaf81 begin work on importing products 2008-05-27 00:32:25 +00:00
JT Smith
57c85fde5a changed the name of getCartBySession to newBySession
created the CartItemCount and MiniCart macros
added help for MinCart, Cart, Address Book, and Edit Address templates
2008-05-24 23:27:30 +00:00
Colin Kuskie
9c9da302f1 remove colons from END blocks, so they actually act like END blocks 2008-05-09 18:14:14 +00:00
Colin Kuskie
e39ae106fd add templates to the mix. Product macro template scan and update done 2008-05-08 03:20:42 +00:00
Colin Kuskie
4cf45c289c Update all Wobjects, and snippets from using the Product
Macro to using AssetProxy.  The loadProductAsset.pl script is
for testing the conversion.
2008-05-08 01:51:43 +00:00
Colin Kuskie
711d0f5fc1 update defaultValue in the group field of the PayDriver definition 2008-05-07 16:33:27 +00:00
Colin Kuskie
c930c73d67 Fix Hidden, Radio and Checkbox, which wouldn't allow
a value of zero to be set in them.  It was translated to
the empty string.
2008-05-05 22:20:16 +00:00
Colin Kuskie
d7c6507c8b convert feature collateral to JSON 2008-05-05 17:50:26 +00:00
Colin Kuskie
52d29d90e4 convert specification collateral to JSON 2008-05-05 17:06:52 +00:00
Colin Kuskie
e5615e386c convert related over to JSON collateral 2008-05-05 03:13:28 +00:00
Colin Kuskie
2215e55bcb Convert accessory collateral to JSON based accessory collateral.
Add a product with accessory collateral to loadProducts.pl to test the upgrade.
2008-05-04 17:15:02 +00:00
Colin Kuskie
bef82ef65f Handle null productNumbers in the Product variant translation.
Update the product loading script to add more products.
2008-05-01 22:38:14 +00:00
Colin Kuskie
e0ad88a869 Shop/Tax.t was skipping the wrong number of tests for root 2008-04-24 19:39:46 +00:00
Colin Kuskie
473cef2483 update PayDriver to match new module code 2008-04-23 03:39:54 +00:00
Colin Kuskie
20a2bba8a4 Let 0 be a valid tax rate in the tests. 2008-04-23 03:26:44 +00:00
Colin Kuskie
b786e4c2ad fix some really bad testing code that was deleting a default shipper 2008-04-21 19:39:00 +00:00
Colin Kuskie
8563e438fe Update tests to match AddressBook.pm behavior 2008-04-21 19:18:30 +00:00
JT Smith
8dd5a6bd2c a number of bug fixes 2008-04-04 22:42:54 +00:00
Colin Kuskie
d1253c705f Finish database and config translation from Wobject/Product
to Sku/Product.  Now for the code.
2008-04-03 04:05:30 +00:00
Colin Kuskie
c8e1c3c3d3 more work on translating Asset Products to Sku Products 2008-04-03 03:40:56 +00:00
Colin Kuskie
01835737dc widget script for throwing Products into the db for testing upgrades 2008-04-01 23:22:03 +00:00
Martin Kamerbeek
fb77b80603 adding cash paydriver, paydriver management 2008-03-24 16:39:42 +00:00
Colin Kuskie
2f351c7101 add a script to dump in the 2008 California state tax table 2008-03-23 21:02:08 +00:00
Colin Kuskie
345c54db92 Pay.t does not use Test::Exception 2008-03-20 17:11:36 +00:00
JT Smith
3062b9477e fixed a test 2008-03-19 23:30:14 +00:00
JT Smith
309b16ca09 trying to add more exceptions 2008-03-19 23:23:51 +00:00
Colin Kuskie
ec3d2f1eb0 Don't delete the SKUs so that the cart can call onRemoveFromCart 2008-03-19 22:43:05 +00:00
JT Smith
1cb43b13af update tests to match new code 2008-03-19 22:30:41 +00:00
JT Smith
dbbc52d643 proper indent 2008-03-19 21:30:52 +00:00
Colin Kuskie
76811ec791 Note where additional tests need to be written for Shop/{Tax,Transaction}. 2008-03-19 19:04:49 +00:00
Colin Kuskie
875187ee74 Fix the Shop/Transaction tests for JSON.
Convert Shop/Transaction and Shop/Tax to use buildDataTableStructure.
Change SQL.pm to return a hash instead of a hashref for buildDataTableStructure.
2008-03-19 04:45:02 +00:00
Colin Kuskie
4db53bb8ed Reformat the JSON test for Shop/Tax.t
Add JSON tets to Shop/Transaction.t
Reindent several methods in SQL/ResultSet.pm
add a method for returning a YUI Data Table structure to SQL.pm
2008-03-19 04:33:24 +00:00
Colin Kuskie
94b03aa3f5 Fix a bug in the json method for getting tax data.
Tests for the json method.
A LOT of California tax data for testing.
2008-03-18 23:34:35 +00:00
Colin Kuskie
b2b3ead60a more test maintenance. Add automatically added form elements, change shipperId to getId 2008-03-17 20:18:47 +00:00
JT Smith
3d8b329660 fixed bugs due to changes in code 2008-03-17 18:46:52 +00:00
Colin Kuskie
7f4ebb2c47 options access is now private, removing test. 2008-03-17 17:48:21 +00:00
JT Smith
02199ff58c transaction backend and tests complete 2008-03-14 22:39:38 +00:00
Martin Kamerbeek
c2c258400d Adding the getCart method to PayDriver.pm 2008-03-13 21:18:05 +00:00
JT Smith
7c184b26c3 added getCartBySession() 2008-03-13 21:15:56 +00:00
JT Smith
819552ce06 finally got shipping driver management working 2008-03-12 23:18:04 +00:00