Announcement

Collapse
No announcement yet.

Product Reviews by Tess

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

    Product Reviews by Tess

    What is the best way to get support for this module? It would seem that at least the Mail After Notification is not including the Order Number nor any of the order content


    This is the code for the Order Number:

    Code:
    <div class="text-center" style="color:#1a2026; font-family:Arial, sans-serif; min-width:auto !important; font-size:24px; line-height:24px; text-align:center"><strong>Your Recent Order (<a href="&mvte:urls:ORDS:auto_sep;Order_ID=&mvte:orde r:id;&amp;Order_BillEmail=&mvte:order:bill_email;& amp;Order_BillZip=&mvte:order:bill_zip;" style="color:#1a2026; text-decoration: none;">#&mvte:order:id;</a>)</strong></div>
    This is the code for the items ordered (I updated the code to pull the correct Image Type):

    Code:
    <!-- BEGIN Items -->
    <mvt:do file="g.Module_Library_DB" name="l.success" value="ImageType_Load_Code( 'thumb', l.imagetype )" />
    <mvt:assign name="l.flags:sep" value="1" />
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <mvt:foreach iterator="item" array="order:items">
    <mvt:comment>
    |
    | Load Main image, 150 x 150
    |
    </mvt:comment>
    <mvt:do file="g.Module_Library_DB" name="l.success" value="ProductImage_Load_Type( l.settings:item:product_id, l.imagetype:id, l.settings:item:product_imagetype )" />
    <mvt:do file="g.Module_Library_DB" name="l.success" value="GeneratedImage_Load_Dimensions( l.settings:item:product_imagetype:image_id, 150, 150, l.settings:item:generated_image )" />
    <mvt:if expr="NOT l.settings:item:generated_image:image">
    <mvt:do file="g.Module_Library_DB" name="l.success" value="Image_Load_ID( l.settings:item:product_imagetype:image_id, l.settings:item:imagedata )" />
    <mvt:do file="g.Module_Library_DB" name="l.success" value="Image_Load_File( l.settings:item:imagedata:image, l.settings:item:product_image )" />
    <mvt:do file="g.Module_Library_DB" name="l.success" value="GeneratedImage_FindOrInsert_Image_Dimension s( l.settings:item:product_image, 150, 150, l.settings:item:generated_image )" />
    </mvt:if>
    <mvt:assign name="l.settings:item:imagetypes:main" value="l.settings:item:generated_image:image" />
    <mvt:comment>
    |
    | Load Product Link
    |
    </mvt:comment>
    <mvt:do file="g.Module_Library_DB" name="l.success" value="Product_Load_ID( l.settings:item:product_id, l.settings:item:product )" />
    <mvt:do file="g.Module_Feature_URI_UT" name="l.settings:item:link" value="Store_Product_URL( l.settings:item:product, l.flags )" />
    <mvt:if expr="POS1 GT 1">
    <tr>
    <td colspan="2">
    <div style="height: 2px; margin: 10px 0; background: #f2f3f4; width: 100%;">&nbsp;</div>
    </td>
    </tr>
    </mvt:if>
    <tr>
    <td width="165">
    <div>
    <mvt:if expr="ISNULL l.settings:item:imagetypes:thumb">
    &nbsp;
    <mvt:else>
    <div class="item-image">
    <a href="&mvte:item:link;TGR_Order_ID=&mvte:order:id; "><img src="&mvte:global:domain:base_url;&mvte:item:image types:thumb;" alt="&mvte:item:name;" /></a>
    </div>
    </mvt:if>
    </div>
    </td>
    <td>
    <div class="text" style="color:#1a2026; font-family:Arial, sans-serif; min-width:auto !important; font-size:16px; line-height:24px; text-align:left">
    <a href="&mvte:item:link;TGR_Order_ID=&mvte:order:id; " target="_blank" class="link-2" style="color:#303748; text-decoration:none"><strong class="link-2" style="color:#303748; text-decoration:none">&mvte:item:name;</a>
    <mvt:foreach iterator="option" array="item:options">
    <mvt:if expr="l.settings:option:option_id">
    <br />&mvte:option:attr_prompt;: &mvte:option:opt_prompt;
    <mvt:elseif expr="NOT ISNULL l.settings:option:data">
    <mvt:if expr="NOT ( l.settings:option:attr_prompt EQ 'digitaldownload' ) AND ( NOT ISNULL l.settings:option:digital_download_url )">
    <br />&mvte:option:attr_prompt;: &mvte:option:data;
    </mvt:if>
    <mvt:elseif expr="NOT ISNULL l.settings:option:data_long">
    <br />&mvte:option:attr_prompt;: &mvte:option:data_long;
    <mvt:else>
    <br />&mvte:option:attr_prompt;
    </mvt:if>
    </mvt:foreach>
    </div>
    </td>
    </tr>
    </mvt:foreach>
    </table>
    <!-- END Items -->

    It displays nothing. Any ideas?
    Leslie Kirk
    Miva Certified Developer
    Miva Merchant Specialist since 1997
    Previously of Webs Your Way
    (aka Leslie Nord leslienord)

    Email me: [email protected]
    www.lesliekirk.com

    Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

    #2
    Wow, nobody?

    Leslie Kirk
    Miva Certified Developer
    Miva Merchant Specialist since 1997
    Previously of Webs Your Way
    (aka Leslie Nord leslienord)

    Email me: [email protected]
    www.lesliekirk.com

    Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

    Comment


      #3
      Can you check if the order item is assigned to the template? The older version of the module did not unassign this item from the template and that could be causing the issue.

      Nicholas Adkins
      Lead Developer / Miva, Inc.
      [email protected]
      http://www.miva.com

      Comment


        #4
        Originally posted by Nick View Post
        Can you check if the order item is assigned to the template? The older version of the module did not unassign this item from the template and that could be causing the issue.
        Thanks Nick. That was it. I just had to wait for an email to come through to check it.
        Leslie Kirk
        Miva Certified Developer
        Miva Merchant Specialist since 1997
        Previously of Webs Your Way
        (aka Leslie Nord leslienord)

        Email me: [email protected]
        www.lesliekirk.com

        Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

        Comment

        Working...
        X