#dotlrn-ecommerce.Item_Description# |
- #dotlrn-ecommerce.Paid_By# |
- #dotlrn-ecommerce.Participant# |
+
+ #dotlrn-ecommerce.Paid_By# |
+ #dotlrn-ecommerce.Participant# |
+
#dotlrn-ecommerce.Quantity# |
#dotlrn-ecommerce.PriceItem# |
#dotlrn-ecommerce.Subtotal_1# |
@@ -31,28 +33,30 @@
@in_cart.product_name@
|
-
-
- @in_cart.patron_name@
- |
-
- #dotlrn-ecommerce.lt_Participant_pays_for_# (#dotlrn-ecommerce.change#)
- |
+
+
+
+ @in_cart.patron_name@
+ |
+
+ #dotlrn-ecommerce.lt_Participant_pays_for_# (#dotlrn-ecommerce.change#)
+ |
+
+
+
+ @in_cart.patron_name@
+ |
+
+
+ Group: @in_cart.participant_name@
+
+
+ @in_cart.participant_name@
+
+ (#dotlrn-ecommerce.change#)
+ |
+
-
-
- @in_cart.patron_name@
- |
-
-
- Group: @in_cart.participant_name@
-
-
- @in_cart.participant_name@
-
- (#dotlrn-ecommerce.change#)
- |
-
@in_cart.quantity@
|
@@ -70,7 +74,7 @@
- #dotlrn-ecommerce.Total# |
+ colspan="3" align="right">#dotlrn-ecommerce.Total# |
@product_counter@ |
|
@@ -147,6 +151,6 @@
Index: openacs-4/packages/dotlrn-ecommerce/www/ecommerce/shopping-cart.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn-ecommerce/www/ecommerce/shopping-cart.tcl,v
diff -u -r1.4 -r1.5
--- openacs-4/packages/dotlrn-ecommerce/www/ecommerce/shopping-cart.tcl 8 Jul 2005 11:03:52 -0000 1.4
+++ openacs-4/packages/dotlrn-ecommerce/www/ecommerce/shopping-cart.tcl 8 Jul 2005 15:51:43 -0000 1.5
@@ -55,6 +55,12 @@
set user_session_id [ec_get_user_session_id]
ec_create_new_session_if_necessary [export_url_vars user_id]
+set viewing_user_id [ad_conn user_id]
+
+if { $viewing_user_id } {
+ source [acs_root_dir]/packages/dotlrn-ecommerce/www/ecommerce/check-shopping-cart.tcl
+}
+
# This is not being used anywhere
#set n_items_in_cart [db_string get_n_items "
# select count(*)