SwissUpLabs Logo

Use cases

Add block into sales email

You can add soldtogether blocks to the sales email template using the following code:

{{block class='Swissup\\SoldTogether\\Block\\Email\\Customer' area='frontend' template='Swissup_SoldTogether::email/customer.phtml' order=$order}}
{{block class='Swissup\\SoldTogether\\Block\\Email\\Order' area='frontend' template='Swissup_SoldTogether::email/order.phtml' order=$order}}
Edit this Page