Can someone show me what HTML line(s) to delete to take the price off the table?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Gerod
    Mini Mivite

    • Oct 2011
    • 14

    #1

    Can someone show me what HTML line(s) to delete to take the price off the table?

    In the Order Fulfillment section where you can edit the email templates there is all this code. I want to CC my manufacturer on drop ship orders but I don't want it to show what the customer paid me. He doesn't care if I charge less than his minimum as long as I don't advertise below it. But I don't want to rub it in his face that all my charges are lower than his MAP pricing requirements.

    Here is all the code:

    <table>
    <tr class="basket-heading">
    <td class="item-name">Item</td>
    <td class="item-quantity">Qty.</td>
    <td class="item-price">Item Price</td>
    <td class="item-total">Total Price</td>
    </tr>
    <mvt:foreach iterator="item" array="order:items">
    <tr>
    <td class="item-name">
    <div class="special-offer"><mvt:if expr="l.settings:item:upsold">(Special Offer)</mvt:if></div>
    <div class="item-name">
    &mvt:item:name; - <span class="item-code">
    &mvt:item:code;
    </span>
    </div>
    </td>
    <td class="item-quantity">
    &mvt:item:quantity;
    </td>
    <td class="item-price">
    &mvt:item:formatted_price;
    </td>
    <td class="item-total">
    &mvt:item:formatted_subtotal;
    </td>
    </tr>
    <mvt:foreach iterator="option" array="item:options">
    <tr class="item-options">
    <td class="item-name">
    <mvt:if expr="l.settings:option:option_id">
    &mvt:option:attr_code;: &mvt:option:opt_code;
    <mvt:elseif expr="NOT ISNULL l.settings:option:data">
    &mvt:option:attr_code;: &mvt:option:data;
    <mvt:elseif expr="NOT ISNULL l.settings:option:data_long">
    &mvt:option:attr_code;: &mvt:option:data_long;
    <mvt:else>
    &mvt:option:attr_code;
    </mvt:if>
    </td>
    <td class="item-quantity">&nbsp;</td>
    <td class="item-price">
    <mvt:if expr="l.settings:option:price">
    &mvt:option:formatted_price;
    <mvt:else>
    &nbsp;
    </mvt:if>
    </td>
    <td class="item-total">
    <mvt:if expr="l.settings:option:price">
    &mvt:option:formatted_subtotal;
    <mvt:else>
    &nbsp;
    </mvt:if>
    </td>
    </tr>
    </mvt:foreach>
    </mvt:foreach>
    <mvt:foreach iterator="charge" array="order:charges">
    <tr class="basket-charges">
    <td colspan="2">&nbsp;</td>
    <td class="charge-description">
    &mvt:charge:descrip;:
    </td>
    </tr>
    </mvt:foreach>
    <tr id="basket-totals">
    <td colspan="2">&nbsp;</td>
    <td class="total-prompt">
    Total:
    </td>
    <td class="formatted-total">
    &mvt:order:formatted_total;
    </td>
    </tr>
    </table>
    <div class="clear"></div>
  • lesliekirk
    Super Moderator











    • Aug 2008
    • 9296

    #2
    Re: Can someone show me what HTML line(s) to delete to take the price off the table?

    Originally posted by Gerod View Post
    In the Order Fulfillment section where you can edit the email templates there is all this code. I want to CC my manufacturer on drop ship orders but I don't want it to show what the customer paid me. He doesn't care if I charge less than his minimum as long as I don't advertise below it. But I don't want to rub it in his face that all my charges are lower than his MAP pricing requirements.

    Here is all the code:

    <table>
    <tr class="basket-heading">
    <td class="item-name">Item</td>
    <td class="item-quantity">Qty.</td>
    <td class="item-price">Item Price</td>
    <td class="item-total">Total Price</td>
    </tr>
    <mvt:foreach iterator="item" array="order:items">
    <tr>
    <td class="item-name">
    <div class="special-offer"><mvt:if expr="l.settings:item:upsold">(Special Offer)</mvt:if></div>
    <div class="item-name">
    &mvt:item:name; - <span class="item-code">
    &mvt:item:code;
    </span>
    </div>
    </td>
    <td class="item-quantity">
    &mvt:item:quantity;
    </td>
    <td class="item-price">
    &mvt:item:formatted_price;
    </td>
    <td class="item-total">
    &mvt:item:formatted_subtotal;
    </td>

    </tr>
    <mvt:foreach iterator="option" array="item:options">
    <tr class="item-options">
    <td class="item-name">
    <mvt:if expr="l.settings:option:option_id">
    &mvt:option:attr_code;: &mvt:option:opt_code;
    <mvt:elseif expr="NOT ISNULL l.settings:option:data">
    &mvt:option:attr_code;: &mvt:option:data;
    <mvt:elseif expr="NOT ISNULL l.settings:option:data_long">
    &mvt:option:attr_code;: &mvt:option:data_long;
    <mvt:else>
    &mvt:option:attr_code;
    </mvt:if>
    </td>
    <td class="item-quantity">&nbsp;</td>
    <td class="item-price">
    <mvt:if expr="l.settings:option:price">
    &mvt:option:formatted_price;
    <mvt:else>
    &nbsp;
    </mvt:if>
    </td>
    <td class="item-total">
    <mvt:if expr="l.settings:option:price">
    &mvt:option:formatted_subtotal;
    <mvt:else>
    &nbsp;
    </mvt:if>
    </td>

    </tr>
    </mvt:foreach>
    </mvt:foreach>
    <mvt:foreach iterator="charge" array="order:charges">
    <tr class="basket-charges">
    <td colspan="2">&nbsp;</td>
    <td class="charge-description">
    &mvt:charge:descrip;:
    </td>
    </tr>
    </mvt:foreach>
    <tr id="basket-totals">
    <td colspan="2">&nbsp;</td>
    <td class="total-prompt">
    Total:
    </td>
    <td class="formatted-total">
    &mvt:order:formatted_total;
    </td>

    </tr>
    </table>
    <div class="clear"></div>
    Or something like that.
    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: X | Facebook | Pinterest

    Comment

    • Gerod
      Mini Mivite

      • Oct 2011
      • 14

      #3
      Re: Can someone show me what HTML line(s) to delete to take the price off the table?

      Even when I take out everything in red the email still shows the price paid. How is this possible?!
      Attached is a JPEG of the email that comes to the vendor when an order is placed.


      Last edited by Gerod; 10-04-11, 11:57 AM.

      Comment

      • lesliekirk
        Super Moderator











        • Aug 2008
        • 9296

        #4
        Re: Can someone show me what HTML line(s) to delete to take the price off the table?

        That looks like it's the Merchant Order Confirmation - where (what screen) is the code that you posted located at?
        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: X | Facebook | Pinterest

        Comment

        • Gerod
          Mini Mivite

          • Oct 2011
          • 14

          #5
          Re: Can someone show me what HTML line(s) to delete to take the price off the table?

          Thanks for trying to help me.

          How I get there is click on the Miva Admin Options Tree: Order Fulfillment Settings>Template based order emails tab>Edit template option on the right> order contents tab above.

          That is where I found the HTML. The 24 hour Miva help said that this was where the price that shows in the email is populating from. But they said they weren't allowed to tell me what code or part to edit/remove.

          I need the email to just show shipping address and the product. Not the price that the customer paid.

          Comment

          • lesliekirk
            Super Moderator











            • Aug 2008
            • 9296

            #6
            Re: Can someone show me what HTML line(s) to delete to take the price off the table?

            Also look the page template for tokens such as &mvt:item:formatted_subtotal; and &mvt:order:formatted_total; - you may have removed them from the Order Contents tab.

            Sorry haven't looked close enough to see why it's in the two locations.
            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: X | Facebook | Pinterest

            Comment

            Working...
            X