We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 51315
    • 67 Posts
    I am getting crazy on this one and i am sure it's an easy answer.

    I want to edit tpl.msEmail.paid.user in miniShop2 to customize [[+goods]] placeholder relative chunk.

    My tpl.msEmail.paid.user chunk is really close to default and looks like follows:

    [[!msGetOrder?id=`[[+id]]`]]
    
    [[%ms2_email_subject_paid_user]]
    
    <table>
    <tfoot>
        <tr>
            <td>[[%ms2_cart_total]]</td>
            <td>[[+cart_count]] - [[%ms2_frontend_count_unit]]</td>
            <td>[[+cart_cost]][[%ms2_frontend_currency]]</td>
        </tr>
        <tr>
            <td>Shipping</td>
            <td> </td>
            <td>[[+delivery_cost]][[%ms2_frontend_currency]]</td>
        </tr>
        <tr>
            <td>[[%ms2_frontend_order_cost]]</td>
            <td> </td>
            <td>[[+cost]][[%ms2_frontend_currency]]</td>
        </tr>
    </tfoot>
    <tbody>
        [[+goods]]
    </tbody>
    </table>


    And this is the chunk i would like to show with [[+goods]]:

    <tr>
        <td class="title">
        <a href="[[+link]]">[[+name]]</a>
        </td>
        <td class="count">[[+count]] [[%ms2_frontend_count_unit]]</td>
        <td class="price">[[+price]][[%ms2_frontend_currency]]</td>
    </tr>


    The point is that i can't find any chunk by the likes of tpl.msEmail.row or something to edit as for msCart (tpl.msCart.outer + tpl.msCart.row).

    I tried to set a tpl this way but it doesn't work:

    [[!msGetOrder?
        id=`[[+id]]`
        &tplRow=`tpl.msEmail`
    ]]
    

    Any tips? [ed. note: fredela last edited this post 9 years, 4 months ago.]