transfer the description instead of the summary to the line items
authorTony Cook <tony@develop-help.com>
Mon, 26 Feb 2007 06:47:42 +0000 (06:47 +0000)
committertony <tony@45cb6cf1-00bc-42d2-bb5a-07f51df49f94>
Mon, 26 Feb 2007 06:47:42 +0000 (06:47 +0000)
12 files changed:
site/cgi-bin/modules/BSE/TB/OrderItem.pm
site/docs/bse.pod
site/templates/admin/edit_seminar.tmpl
site/templates/admin/product_detail.tmpl
site/templates/cart_base.tmpl
site/templates/catalog.tmpl
site/templates/catalog/multi.tmpl
site/templates/checkout_base.tmpl
site/templates/checkoutfinal_base.tmpl
site/templates/checkoutnew_base.tmpl
site/templates/checkoutpay_base.tmpl
site/templates/user/userpage_base.tmpl

index ace43e1..ce398b0 100644 (file)
@@ -8,7 +8,7 @@ use vars qw/@ISA/;
 sub columns {
   return qw/id productId orderId units price wholesalePrice gst options
             customInt1 customInt2 customInt3 customStr1 customStr2 customStr3
-            title summary subscription_id subscription_period max_lapsed
+            title description subscription_id subscription_period max_lapsed
             session_id product_code/;
 }
 
index 11daf52..1df6f6a 100644 (file)
@@ -22,6 +22,10 @@ change the article summary to text instead of varchar().
 
 include highlight keywords for product field search matches
 
+=item *
+
+transfer the description instead of the summary to the line items
+
 =back
 
 =head2 0.15_54
index bba316f..28b140a 100644 (file)
             <td nowrap="nowrap" bgcolor="#FFFFFF"><:help product title:> <:error_img title:></td>
           </tr>
           <tr> 
-            <th nowrap="nowrap" align="left" bgcolor="#FFFFFF">Summary*:</th>
+            <th nowrap="nowrap" align="left" bgcolor="#FFFFFF">Summary:</th>
             <td nowrap="nowrap" bgcolor="#FFFFFF"><:ifFieldPerm summary:><input type="text" name="summary" value="<:old summary default summary:>" size="60" /><:or:><:seminar summary:><:eif:> </td>
             <td nowrap="nowrap" bgcolor="#FFFFFF"><:help product summary:> <:error_img
             summary:></td>
           </tr>
+          <tr> 
+            <th nowrap="nowrap" align="left" bgcolor="#FFFFFF">Description:</th>
+            <td nowrap="nowrap" bgcolor="#FFFFFF"><:ifFieldPerm description:><input type="text" name="description" value="<:old description default description:>" size="60" /><:or:><:seminar description:><:eif:> </td>
+            <td nowrap="nowrap" bgcolor="#FFFFFF"><:help product description:> <:error_img
+            description:></td>
+          </tr>
           <tr> 
             <th align="left" bgcolor="#FFFFFF" valign="top"> Body:</th>
             <td bgcolor="#FFFFFF"> 
index 67b84be..85669bf 100644 (file)
           <th align="left" nowrap bgcolor="#FFFFFF">Title:</th>
           <td bgcolor="#FFFFFF" width="100%"><:product title:></td>
         </tr>
+        <tr> 
+          <th align="left" nowrap bgcolor="#FFFFFF">Description:</th>
+          <td bgcolor="#FFFFFF" width="100%"><:product description:></td>
+        </tr>
         <tr> 
           <th align="left" nowrap bgcolor="#FFFFFF">Summary:</th>
           <td bgcolor="#FFFFFF" width="100%"><:product summary:></td>
index 264b4e3..7823269 100644 (file)
@@ -46,7 +46,7 @@
           <:iterator begin items:> 
           <tr valign="middle" align="center" bgcolor="#FFFFFF"> 
             <td width="100%" align="left"> &nbsp;<font face="Verdana, Arial, Helvetica, sans-serif" size="-2"><a href="<:item link:>"><:item 
-              summary:> <:if Options:>(<:iterator begin options:><:option desc:>: 
+              description:> <:if Options:>(<:iterator begin options:><:option desc:>: 
               <:option label:><:iterator separator options:>, <:iterator end options:>)<:or 
               Options:><:eif Options:></a><:ifItem session_id:>(session at <:location description:> <:date "%H:%M %d/%m/%Y" session when_at:>)<:or:><:eif:></font></td>
             <td nowrap align="center"> 
index 5b4e99b..1bf9413 100644 (file)
@@ -46,7 +46,7 @@
           <:iterator begin allprods:> 
           <tr valign="middle" align="center" bgcolor="#FFFFFF"> 
             <td width="100%" align="left"> &nbsp;<font face="Verdana, Arial, Helvetica, sans-serif" size="-2"><a href="<:url allprod:>"><:allprod 
-              summary:></a></font> <:moveallprod:></td>
+              description:></a></font> <:moveallprod:></td>
 <:if Allprod retailPrice:>
             <td align="right"> <font face="Verdana, Arial, Helvetica, sans-serif" size="-2"><b>$<:money allprod retailPrice:></b></font></td>
 <:ifAnd [cfg shop order_from_catalog] [ifEq [allprod options] ""]:>
index c6b8212..dd93441 100644 (file)
@@ -43,7 +43,7 @@
           <:iterator begin allprods:> 
           <tr valign="middle" align="center" bgcolor="#FFFFFF"> 
             <td width="100%" align="left"> &nbsp;<font face="Verdana, Arial, Helvetica, sans-serif" size="-2"><a href="<:url allprod:>"><:allprod 
-              summary:></a></font> <:moveallprod:></td>
+              description:></a></font> <:moveallprod:></td>
 <:ifAllprod retailPrice:>
             <td align="right"> <font face="Verdana, Arial, Helvetica, sans-serif" size="-2"><b>$<:money allprod retailPrice:></b></font></td>
 <:or:>
index 1153de5..4ef9fe2 100644 (file)
@@ -86,7 +86,7 @@ function BSE_validateForm {
         <:iterator begin items:> 
         <tr valign="middle" align="center" bgcolor="#FFFFFF"> 
           <td width="100%" align="left"> &nbsp;<a href="<:item link:>"><font face="Verdana, Arial, Helvetica, sans-serif" size="-2"><:item 
-            summary:>  <:options:></font></a></td>
+            description:>  <:options:></font></a></td>
           <td nowrap align="center"><font face="Verdana, Arial, Helvetica, sans-serif" size="-2"><:item 
             units:></font></td>
           <td align="right"> <font face="Verdana, Arial, Helvetica, sans-serif" size="-2"><b>$<: 
index a7f04ec..c5346a7 100644 (file)
@@ -59,7 +59,7 @@
         <:iterator begin items:> 
         <tr valign="middle" align="center" bgcolor="#FFFFFF"> 
           <td width="100%" align="left"> &nbsp;<font face="Verdana, Arial, Helvetica, sans-serif" size="-2"><a href="<:product link:>"><:product 
-            summary:></a> <:options:><:ifItem session_id:>(session at <:location description:> <:date "%H:%M %d/%m/%Y" session when_at:>)<:or:><:eif:></font></td>
+            description:></a> <:options:><:ifItem session_id:>(session at <:location description:> <:date "%H:%M %d/%m/%Y" session when_at:>)<:or:><:eif:></font></td>
           <td nowrap align="center"><font face="Verdana, Arial, Helvetica, sans-serif" size="-2"><:item 
             units:></font></td>
           <td align="right"> <font face="Verdana, Arial, Helvetica, sans-serif" size="-2"><b>$<: 
index 2cd1743..129fc28 100644 (file)
@@ -86,7 +86,7 @@ function BSE_validateForm {
         <:iterator begin items:> 
         <tr valign="middle" align="center" bgcolor="#FFFFFF"> 
           <td width="100%" align="left"> &nbsp;<font face="Verdana, Arial, Helvetica, sans-serif" size="-2"><a href="<:item link:>"><:item 
-            summary:>  <:options:></a><:ifItem session_id:>(session at <:location description:> <:date "%H:%M %d/%m/%Y" session when_at:>)<:or:><:eif:></font></td>
+            description:>  <:options:></a><:ifItem session_id:>(session at <:location description:> <:date "%H:%M %d/%m/%Y" session when_at:>)<:or:><:eif:></font></td>
           <td nowrap align="center"><font face="Verdana, Arial, Helvetica, sans-serif" size="-2"><:item 
             units:></font></td>
           <td align="right"> <font face="Verdana, Arial, Helvetica, sans-serif" size="-2"><b>$<: 
index a77eedf..d7c12ac 100644 (file)
@@ -45,7 +45,7 @@
         <:iterator begin items:> 
         <tr valign="middle" align="center" bgcolor="#FFFFFF"> 
           <td width="100%" align="left"> &nbsp;<a href="<:item link:>"><font face="Verdana, Arial, Helvetica, sans-serif" size="-2"><:item 
-            summary:>  <:options:></font></a></td>
+            description:>  <:options:></font></a></td>
           <td nowrap align="center"><font face="Verdana, Arial, Helvetica, sans-serif" size="-2"><:item 
             units:></font></td>
           <td align="right"> <font face="Verdana, Arial, Helvetica, sans-serif" size="-2"><b>$<: 
index 030a83e..45d7862 100644 (file)
@@ -73,7 +73,7 @@
           <:iterator begin items:> 
           <tr bgcolor="#FFFFFF"> 
             <td width="100%"><a href="<:product link:>"><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><:product 
-              summary:></font></a></td>
+              description:></font></a></td>
             <td align="center"><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><:item 
               units:></font></td>
             <td align="right"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">$<:money