Jump to content

Test Email Templates with Data


Recommended Posts

CubeCart 6.4.8 has put in place a different editor to compose Email Contents templates and Email/Newsletter Template templates (but not Newsletter Contents, Offline Message, Site Documents, Product or Category Descriptions). This different editor is the same one used to write PHP code Snippets. There is no WYSIWYG mode - there is only source-code mode.

As such, there is a "Test" button that will open a 'colorbox' showing what the HTML will look like when rendered. However, none of the 'Macros' will be compiled. That is to say, {$BILLING.name} will still be that, and {foreach} loops will not show a list.

For Email Contents templates, the attached file is instructions for code edits and files of sample data. The code edits provide a separate button to open a 'colorbox' showing the editor's contents as it will (should) look like after the template rendering engine (Smarty) compiles and populates the template with data.



Edited by bsmither
Link to comment
Share on other sites

  • 4 months later...

I have some information on your Question i hope its helpful,

Username: [username] Email: [user email] Membership Level: [membership level] isit our website at [website URL] to explore our products/services. Read our user guide at [user guide URL] to understand how to make the most of our offerings.                                                            





Edited by jhon sins
Link to comment
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.

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.

  • Create New...