CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Item description missing from event receipts?
Pages: [1]

Author Topic: Item description missing from event receipts?  (Read 963 times)

joanne

  • Administrator
  • Ask me questions
  • *****
  • Posts: 852
  • Karma: 83
  • CiviCRM version: 4.4.16
  • CMS version: Drupal 7
Item description missing from event receipts?
June 24, 2011, 07:16:40 am
When we ran an event earlier this year using v3.2, the automatically generated receipts showed the item description before the quantity for each price field. (ie the option label was printed for each selection)

We have upgraded to 3.4.2 but now the item descriptions are not showing at all in the receipts.  The heading "Item" still appears before "Qty Each Total" but the 'column' under the Item heading is empty although the correct info appears in the other 3 columns.

I have had a look at the system flow template for the online receipts and I know the relevant lines are:

  <td colspan="2" {$valueStyle}>
           <table> {* FIXME: style this table so that it looks like the text version (justification, etc.) *}
            <tr>
             <th>{ts}Item{/ts}</th>
             <th>{ts}Qty{/ts}</th>
             <th>{ts}Each{/ts}</th>
             <th>{ts}Total{/ts}</th>
        {if  $participantCount }<th>{ts}Total Participants{/ts}</th>{/if}
            </tr>
            {foreach from=$value item=line}
             <tr>
              <td>
               {$line.description}
              </td>
              <td>
               {$line.qty}
              </td>
              <td>
               {$line.unit_price|crmMoney}
              </td>
              <td>
               {$line.line_total|crmMoney}
              </td>
         {if  $participantCount }<td>{$line.participant_count}</td> {/if}
             </tr>
            {/foreach}
           </table>
          </td>
         </tr>
        {/if}
       {/foreach}
      {/if}

      {if $amount && !$lineItem}
       {foreach from=$amount item=amnt key=level}
        <tr>
         <td colspan="2" {$valueStyle}>
          {$amnt.amount|crmMoney} {$amnt.label}
         </td>
        </tr>
       {/foreach}

but I can't see what is wrong with them as {$line.description} is included where I think it should be. 

Our descriptions are very long (the longest is 120 characters - why must presenters chose such long titiles?) but I thought that in 3.2 all that happened was the description was truncated.

What should I do?


Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Item description missing from event receipts?
June 24, 2011, 06:28:10 pm

can u upgrade to 3.4.4 and see if this is still the case.

Does the same thing happen in the Confirm / Thank You page or only in the email receipt

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

joanne

  • Administrator
  • Ask me questions
  • *****
  • Posts: 852
  • Karma: 83
  • CiviCRM version: 4.4.16
  • CMS version: Drupal 7
Re: Item description missing from event receipts?
June 24, 2011, 06:46:29 pm
The problem only occurs on the receipt email and attached PDF.  The Confirm/Thank You pages are fine.

I will have to talk to the company hosting our site about the upgrade to 3.4.4

joanne

  • Administrator
  • Ask me questions
  • *****
  • Posts: 852
  • Karma: 83
  • CiviCRM version: 4.4.16
  • CMS version: Drupal 7
Re: Item description missing from event receipts?
June 24, 2011, 09:42:43 pm
Problem solved.  It was an error made when recustomising the receipt. Sorry  :-[

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Item description missing from event receipts?

This forum was archived on 2017-11-26.