Commit graph

122 commits

Author SHA1 Message Date
Chris Nehren
36eb8db8fc add ability to show metadata values in head blocks. 2008-08-21 18:51:16 +00:00
Graham Knop
c07e5bf3eb remove debug code 2008-08-01 20:34:26 +00:00
Kaleb Murphy
f49c79eed4 Corrected purge table column names 2008-08-01 14:51:44 +00:00
Colin Kuskie
311ee8db1c remove debugging code from Product.t 2008-07-31 03:22:58 +00:00
Colin Kuskie
05f85c5db3 Fix the configured title that is displayed when an asset is added
to the cart.
2008-07-31 02:41:40 +00:00
Colin Kuskie
448f1ffdf5 Fix per item shipping in Products. 2008-07-31 02:37:52 +00:00
JT Smith
03092ff297 forgot to check this in somehow 2008-07-30 21:17:46 +00:00
Kaleb Murphy
2c41d60933 Added first name and last name address options for products. 2008-07-29 20:46:17 +00:00
JT Smith
eea6d818e9 fixed export, purge, and some other stuff for ems. 2008-07-29 02:10:55 +00:00
Colin Kuskie
5fa3f7abba add a date selector to the manage code batch screen in the Subscription Sku 2008-07-21 04:16:11 +00:00
Yung Han Khoe
fb4eff7c4a fixed: problem with Calendar in EMS "Ticket" tab, "Start" field 2008-07-20 22:57:16 +00:00
Colin Kuskie
59f561eabe change i18n labels in the listSubscriptionCodes screen to try and clear things up 2008-07-19 03:36:00 +00:00
Colin Kuskie
a417feb69d add batch name to the manage batches screen in the subscription 2008-07-19 03:05:46 +00:00
Kaleb Murphy
6e97455afb Product.pm no longer caches if a cart object has been created for this session. 2008-07-18 16:11:21 +00:00
Colin Kuskie
3e2d5c6adf Add a continue shopping url to the Donation, Product, FlatDiscount and Subscription
Sku's.  Update all the templates to display this URL.  The new url takes the
user back to the view method with no extra variables set (like hasAddedToCart).
2008-07-16 01:05:06 +00:00
Colin Kuskie
6af150aa5d document the overridden duplicate method in Sku/Product.pm 2008-07-14 19:19:44 +00:00
JT Smith
cc0105a9a4 move product import to shelf 2008-07-12 21:40:27 +00:00
Yung Han Khoe
939b5b4897 fixed: Deleting Ticket from Event Management System Asset 2008-07-12 19:02:00 +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
d902c7ec79 Add a missing TD tag to a table in manage subscription batches screen.
Fix the link to Manage subscription codes in the admin console.
2008-06-27 21:52:45 +00:00
Colin Kuskie
e51d02e3d8 Add a new method to FlatDiscount to tell if it is already in the cart.
Add a template variable to tell if there is already one in the cart.
Modify the default template to include the thank you message and to hide
the add to cart button if this coupon is already in the cart.
2008-06-27 20:25:30 +00:00
Colin Kuskie
59424e1fe3 fix display bugs in the Subscription template (no price, and bare parens showing when no code batches are available) 2008-06-27 18:58:23 +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
Graham Knop
8f9568c887 fixed: storage locations for some assets in packages not imported correctly 2008-06-20 08:57:20 +00:00
Colin Kuskie
8be5eeb5f6 Prevent the Subscription from showing the redeem code label and URL unless there are codes 2008-06-20 04:41:03 +00:00
Colin Kuskie
68db4f8e46 Fix getThumbnailUrl in the Product, which was called by the Shelf directly causing failures.
Fix getPrice in the Product, which returned undef until a variant was applied to it.
These two fixes fix the Shelf.
2008-06-19 23:12:04 +00:00
Colin Kuskie
085f521225 Fix a typo with inStock vs in_stock template variables for the Product. It should be in_stock.
Add a new template variable, canEdit.
Change the default template to use canEdit to display the list of variants, so they aren't showed
twice.
2008-06-19 19:59:33 +00:00
Colin Kuskie
604b021514 clean-up www_buy and addToCart. inventory control is now completely in the cart 2008-06-14 00:52:24 +00:00
Colin Kuskie
6908bcb1bb fix a typo that caused variant skus to be be lost 2008-06-13 16:01:14 +00:00
Martin Kamerbeek
45756c36ba Added POD where I still had to. 2008-06-13 13:44:14 +00:00
Colin Kuskie
7d00fbcdc2 i18n and help fixes 2008-06-13 05:05:49 +00:00
Colin Kuskie
262bdaae72 i18n fixes for the Donation 2008-06-13 00:17:38 +00:00
Colin Kuskie
b57f289706 add a thank you message to the FlatDiscount/Coupon 2008-06-12 16:01:36 +00:00
Colin Kuskie
bfd1f3ae07 add hasAddedToCart and thankYouMessage template variables 2008-06-11 02:09:24 +00:00
Colin Kuskie
d77fec01c0 add POD, change spacing 2008-06-10 03:37:21 +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
ad92f6b628 fix a bug in edit variant 2008-06-10 01:04:25 +00:00
Colin Kuskie
0003f725b4 tidy up a bit and add a price to the variant dropdown 2008-06-07 04:02:12 +00:00
Colin Kuskie
bff85b56d0 provide a template var that will tell the user when there are no available variants for sale. Out of stock 2008-06-06 21:16:52 +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
1b2a829346 fix a potential future syntax error 2008-05-28 04:57:37 +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
Martin Kamerbeek
dc30ecccbe Recurring payment stuff fixes, forgot ITransact.pm in last commit. 2008-05-26 21:31:48 +00:00
Colin Kuskie
72b57b1601 Inventory management for the Product. 2008-05-25 23:02:33 +00:00
JT Smith
86be08b3b2 added product import node for the product import system 2008-05-25 21:59:46 +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
e3061a1606 begin implementing inventory control. Continue to separate the variants loop and the list of available variants for sale. 2008-05-24 23:14:38 +00:00
Colin Kuskie
28252f59e0 variant info is always displayed 2008-05-24 22:50:27 +00:00
Colin Kuskie
007693c2bd only show the buy form if there are variants to sell 2008-05-24 22:30:12 +00:00
Colin Kuskie
3428c3947d Translate all Product variables to use underscores instead of dots.
Update i18n and Help and the Product Template.
Remove the Benefits Showcase, Left Column Collateral and Three Columns Product templates.
2008-05-24 22:15:15 +00:00