Jump to content

Edit History

RoadToSuccess

RoadToSuccess

I just installed 1.7.7.5 most recent stable version and with this post's help was able to get my images back onto my order confirmation email.  Here is my code for that section if it should help another. It has my formatting but the code being implemented correctly should work.

 

order_conf_product_list.tpl

 

{foreach $list as $product}
 {assign var='defaultImage' value=Product::getCover($product['id_product'])}   


        <table class="table" width="100%" align="left">
            <tr>
                <td colspan="5" width="5">&nbsp;</td>
                <td colspan="5" align="left" colspan="5" style="margin-bottom: 20px; text-align: left;">

    
    <img src="https://motleymutt.com/shop/{$defaultImage['id_image']}-medium_default/{$defaultImage['id_image']}-medium_default.jpg"  width="150" height="150"/>    

                
                    <br>

                    <font size="2" face="Open-sans, sans-serif" color="#107fab">
                    <strong>{$product['name']}</strong>
                    </font>
                        
                        {*
                        {if count($product['customization']) == 1}
                            <br>
                            {foreach $product['customization'] as $customization}
                                {$customization['customization_text']}
                            {/foreach}
                        {/if}
                        

RoadToSuccess

RoadToSuccess

I just installed 1.7.7.5 most recent stable version and with this post's help was able to get my images back onto my order confirmation email.  Here is my code for that section if it should help another. It has my formatting but the code being implemented correctly should work.

 

{foreach $list as $product}
 {assign var='defaultImage' value=Product::getCover($product['id_product'])}   


        <table class="table" width="100%" align="left">
            <tr>
                <td colspan="5" width="5">&nbsp;</td>
                <td colspan="5" align="left" colspan="5" style="margin-bottom: 20px; text-align: left;">

    
    <img src="https://motleymutt.com/shop/{$defaultImage['id_image']}-medium_default/{$defaultImage['id_image']}-medium_default.jpg"  width="150" height="150"/>    

                
                    <br>

                    <font size="2" face="Open-sans, sans-serif" color="#107fab">
                    <strong>{$product['name']}</strong>
                    </font>
                        
                        {*
                        {if count($product['customization']) == 1}
                            <br>
                            {foreach $product['customization'] as $customization}
                                {$customization['customization_text']}
                            {/foreach}
                        {/if}
                        

×
×
  • Create New...