function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
samson sfdcsamson sfdc 

How to show the inline items indent in the email template.

I have an email template where i'm listing all the products purchased by the customer. When the customer purchased a bundle product, I have to show the product name as a main item then indent the inline product items in the bundle.
1. Canon Camera bundle
        Wide anlge Lens
        Remote switch
        Camera bag
2. Memory Card
3. Baterry
4. Flash
SonamSonam (Salesforce Developers) 
What kind of email template are you using? Is it an HTML email or Visualforce template..Please share the code.
samson sfdcsamson sfdc
Its a Visualforce template.

               <apex:repeat value="{!OrdItm}" var="item">
                        <td style="width:50%;">
                            <apex:outputText value="{!item.code & ' ' & item.productName}" />
                        <td class="a-right" style="width:110px;">
                            <apex:outputPanel layout="none" rendered="{!IF(item.pricingTiers.size > 1,false,true)}">
                                <amount="{!item.Price}" />
                            <apex:outputPanel layout="none" rendered="{!IF(item.pricingTiers.size > 1,true,false)}">
                                <apex:repeat value="{!item.pricingTiers}" var="tier" id="pricingTiers">
                                    <apex:outputText value="{!tier.Quantity}" /><span> X </span><amount="{!tier.Price}"  /><br />
SonamSonam (Salesforce Developers) 
Adding <p> tag might help you get the margin space you are looking for as shown in the sample code on the link:
Did you happen to try it?