Announcement

Collapse
No announcement yet.

Can Marketing Feeds be used to generate the following snippet?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Can Marketing Feeds be used to generate the following snippet?

    Can Marketing Feeds be used to generate the following code (snippet) along with applicable render values?

    Code:
    <!-- START: Product Content Table (PROD: #%product:code%) -->
    <table width="100%" bgcolor="#d8d8d8" cellpadding="0" cellspacing="0" border="0" id="backgroundTable" st-sortable="left-image">
    <tbody>
    <tr>
    <td>
    <table width="560" cellpadding="0" cellspacing="0" border="0" align="center" class="devicewidth">
    <tbody>
    <tr>
    <td width="100%">
    <table bgcolor="#ffffff" width="560" cellpadding="0" cellspacing="0" border="0" align="center" class="devicewidth">
    <tbody>
    <tr>
    <td height="20" style="font-size:1px; line-height:1px; mso-line-height-rule: exactly;"> </td>
    </tr>
    <tr>
    <td>
    <table width="520" cellpadding="0" cellspacing="0" border="0" align="center" class="devicewidth">
    <tbody>
    <tr>
    <td>
    <table width="200" align="left" border="0" cellpadding="0" cellspacing="0" class="devicewidth">
    <tbody>
    <tr>
    <td width="200" height="150" align="center" class="devicewidth">
    <a href="http://www.[DomainName].com/sale.html?utm_source=[DomainName]&utm_medium=eMail&utm_content=ProductImage-PROD-%product:code%&utm_campaign=YYYY-MM-DD-Campaign" target="_blank"><img src="%product:image%" alt="Click here now to view this item online." title="Click here now to view this item online." border="0" width="" height="" style="display:block; border:none; outline:none; text-decoration:none;" class="col2img"></a>
    </td>
    </tr>
    </tbody>
    </table>
    <!-- spacing for mobile devices-->
    <table align="left" border="0" cellpadding="0" cellspacing="0" class="mobilespacing">
    <tbody>
    <tr>
    <td width="100%" height="15" style="font-size:1px; line-height:1px; mso-line-height-rule: exactly;"> </td>
    </tr>
    </tbody>
    </table>
    <!-- end for mobile devices -->
    <table width="300" align="right" border="0" cellpadding="0" cellspacing="0" class="devicewidthmob">
    <tbody>
    <tr>
    <td style="font-family: Helvetica, arial, sans-serif; font-size: 18px; color: #2d2a26; text-align:left; line-height: 24px;" class="padding-top-right15" height="150" align="left" valign="middle">
    <a href="http://www.[DomainName].com/sale.html?utm_source=[DomainName]&utm_medium=eMail&utm_content=ProductName-PROD-%product:code%-Textlink&utm_campaign=YYYY-MM-DD-Campaign" target="_blank">%product:name%</a>
    <p><span style="text-decoration: line-through; color: red; font-weight: bolder;"><span style="color: gray; font-weight: bolder;">$ %product:price%</span></span> <span style="color: red; font-weight: bolder; font-style:italic">Now Only $ XX.XX!</span></p> <a href="http://www.[DomainName].com/sale.html?utm_source=[DomainName]&utm_medium=eMail&utm_content=LearnMore-PROD-%product:code%-Textlink&utm_campaign=YYYY-MM-DD-Campaign" target="_blank">Learn More</a>
    </td>
    </tr>
    </tbody>
    </table>
    </td>
    </tr>
    </tbody>
    </table>
    </td>
    </tr>
    <tr>
    <td height="20" style="font-size:1px; line-height:1px; mso-line-height-rule: exactly;"> </td>
    </tr>
    <tr>
    <td height="5" bgcolor="#FFFFFF" style="font-size:1px; line-height:1px; mso-line-height-rule: exactly;"><hr align="center" width="90%"></td>
    </tr>
    </tbody>
    </table>
    </td>
    </tr>
    </tbody>
    </table>
    </td>
    </tr>
    </tbody>
    </table>
    <!-- END: Product Content Table (PROD: #%product:code%) -->
    Thank you, Bill Davis

    #2
    If you need a template that loops through the product list you can add your own page template and use:

    <mvt:do file="g.Module_Library_DB" name="l.success" value="Runtime_ProductList_Load_All(products var)" />

    Using a feed template just to create content of products is overkill (IMO)

    Bruce Golub
    Phosphor Media - "Your Success is our Business"

    Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
    phosphormedia.com

    Comment


      #3
      Originally posted by Bruce - PhosphorMedia View Post
      If you need a template that loops through the product list you can add your own page template and use:

      <mvt:do file="g.Module_Library_DB" name="l.success" value="Runtime_ProductList_Load_All(products var)" />

      Using a feed template just to create content of products is overkill (IMO)
      Bruce, here is what I am trying to accomplish. I use to use Emporium Plus Template Data Feed module to generate the small snippet posted earlier for a products assigned to a sale category. I would then copy and paste that snippet of products in an html email, saving me hours of having to code html in the past.

      The problem is that module works well. it does not generate any code.

      No that I have clarified my intentions, if its still applicable how would I use your suggestion?
      Thank you, Bill Davis

      Comment


        #4
        It should still work, you just need to replace things like

        %product:code%

        with the SMT tokens, i.e.

        &mvt:product:code;

        The content can even be called by using the template render command:

        <mvt:do name="l.result" file="g.Module_Feature_TUI_MGR" value="TemplateManager_Render_Page( 'Page_Code_Here' )" />
        Bruce Golub
        Phosphor Media - "Your Success is our Business"

        Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
        phosphormedia.com

        Comment


          #5
          Originally posted by Bruce - PhosphorMedia View Post
          It should still work, you just need to replace things like

          %product:code%

          with the SMT tokens, i.e.

          &mvt:product:code;

          The content can even be called by using the template render command:

          <mvt:do name="l.result" file="g.Module_Feature_TUI_MGR" value="TemplateManager_Render_Page( 'Page_Code_Here' )" />
          Is there any documention on this?
          Thank you, Bill Davis

          Comment


            #6
            not specifically, but maybe search for some old posts where I talk about using a 'helper' or 'workbench' page. i've posted bits and pieces many times.
            Bruce Golub
            Phosphor Media - "Your Success is our Business"

            Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
            phosphormedia.com

            Comment

            Working...
            X