Jump to content
Sign in to follow this  
Claudia M

Customer Group in emails and Invoice

Recommended Posts

So I would use {$BILLING.cust_groups} for the emails.  Would I also use that for the invoice / packing slip?

Share this post


Link to post
Share on other sites

It isn't showing up on the invoice.  This is what I have:

<div class="customer-tag" style="margin-bottom: 10px">Order Place Thru: {$BILLING.cust_groups} </div>

Share this post


Link to post
Share on other sites

On the invoice template, at the end, add {debug}. Then bring up the invoice page to the screen (ready to print).

There will be a popup of all the stuff Smarty was given to populate a template.

Scan for BILLING in the left pane.

Share this post


Link to post
Share on other sites
Posted (edited)

I found this under the customer section.  Is this what we are looking for?

 title_groups => "Customer Groups"

 

I don't have BILLING in the left pane. I'm using one of my customers to get to the ready to print page.  How else would I bring it up to print?

Edited by Claudia M
More info

Share this post


Link to post
Share on other sites

What is listed for ORDER_LIST in the debug popup?

If, from the linked conversation above, you also created the snippet that uses this hook:
"Description: Adds Customer Group Name(s) to Admin Orders List"
then you would use {$order.cust_groups} in the printable admin invoice file orders.print.php.

Share this post


Link to post
Share on other sites

I must have done something.  I accidentally deleted my debug info and went back to get it.  Now when I click the print button in an order it takes me to my home page.

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...