Announcement

Collapse
No announcement yet.

Removing "discount" from sales emails

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

  • Removing "discount" from sales emails

    When customer gets their sales receipt email, it shows:

    Subtotal: $
    Discount: $
    Shipping: $
    Sales Tax: $
    Total: $

    How do I remove the "discount" from this?

  • #2
    3DCuser Find the email in your admin panel (settings-->design-->emails)

    1. Text search discount
    2. You can use <!-- code to remove will be hidden between these arrows as shown -->

    The actual section string you will want to remove should be: <strong>Discount:</strong> [totaldiscounts]<br />

    So this is what should be as removed(hidden)
    <!--<strong>Discount:</strong> [totaldiscounts]<br />-->

    Hope this helps
    Last edited by thecartdesigner; 01-20-2017, 12:28 AM.
    TheCartDesigner.com
    Not 3dcart Owned or Operated
    100% Independent 3dcart Expert


    Follow Us on Twitter

    Comment


    • #3
      Thanks will try it.

      Comment


      • #4
        3DCuser That should do it so let me know if it works for you
        TheCartDesigner.com
        Not 3dcart Owned or Operated
        100% Independent 3dcart Expert


        Follow Us on Twitter

        Comment


        • #5
          Well it did not work. Here is the code from New Order - Customer email:

          <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
          <html>
          <head>
          <title>[store_name]</title>
          <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
          <body>
          <table width="621" border="0" cellspacing="0" cellpadding="0">
          <tr>
          <td width="40" rowspan="6"></td>
          <td colspan="2"><!--START: invoicelogo-->
          <img src="[store_url]/[invoicelogo]">
          <!--END: invoicelogo-->
          </td>
          <td valign="bottom"><div align="right">Phone: [phone1]<br>
          <a href="mailto:[email]">[email]</a></div></td>
          </tr>
          <tr>
          <td colspan="3"><hr color="#000000" size="thin"></td>
          </tr>
          <tr>
          <td height="40" colspan="3"><strong>Order Confirmation</strong></td>
          </tr>
          <tr>
          <td colspan="3"><p>[ofirstname] [olastname],<br>
          <br>
          This email confirms that your order was received at [store_name]. You will receive an additional email once your order is shipped. Contact us if you have any questions about your order.<br>
          <br>
          Thanks for using [store_name].</p></td>
          </tr>
          <tr>
          <td colspan="3"> </td>
          </tr>
          <tr>
          <td colspan="3"> </td>
          </tr>
          <tr>
          <td></td>
          <td width="275"><strong>Order Information</strong></td>
          <td width="30"></td>
          <td width="275"><strong>Additional Information </strong></td>
          </tr>
          <tr>
          <td></td>
          <td><hr color="#000000" size="thin"></td>
          <td></td>
          <td><hr color="#000000" size="thin"></td>
          </tr>
          <tr>
          <td></td>
          <td><p><strong>Order number:</strong> [invoicenum_prefix][invoicenum]<br>
          <strong>Order Date:</strong> [odate]<br>
          </p></td>
          <td></td>
          <td valign="top"><!--START: ocomment-->
          <strong>Comments</strong>:<br>
          [ocomment]<br>
          <!--END: ocomment-->
          <!--START: pass-->
          <strong>Account Info:</strong><br>
          Login: [oemail]<br>
          Pass: [pass]
          <!--END: pass-->
          </td>
          </tr>
          <tr>
          <td></td>
          <td colspan="3"> </td>
          </tr>
          <tr>
          <td></td>
          <td width="275"><strong>Billing Address</strong></td>
          <td width="30"></td>
          <td width="275"><strong>Payment Information</strong></td>
          </tr>
          <tr>
          <td></td>
          <td><hr color="#000000" size="thin"></td>
          <td></td>
          <td><hr color="#000000" size="thin"></td>
          </tr>
          <tr>
          <td></td>
          <td>[ofirstname] [olastname]<br>
          <!--START: ocompany-->
          [ocompany]<br>
          <!--END: ocompany-->
          <!--START: oemail-->
          [oemail]<br>
          <!--END: oemail-->
          <!--START: ophone-->
          [ophone]<br>
          <!--END: ophone-->
          [oaddress] <br>
          <!--START: oaddress2-->
          [oaddress2]<br>
          <!--END: oaddress2-->
          [ocity], [ostate] [ozip] [ocountry]</td>
          <td></td>
          <td valign="top"><p><strong>Payment Method</strong><br />
          [opaymethod]</p></td>
          </tr>
          <tr>
          <td></td>
          <td colspan="3"> </td>
          </tr>
          <tr>
          <td></td>
          <td colspan="3"><strong>Order Summary</strong></td>
          </tr>
          <tr>
          <td></td>
          <td colspan="3"></td>
          </tr>
          <!--START: shipment-->
          <tr>
          <td></td>
          <td colspan="3"><hr color="#000000" size="thin"></td>
          </tr>
          <tr>
          <td></td>
          <td colspan="4"><table width="100%" border="0" cellspacing="0" cellpadding="10">
          <tr>
          <td width="70%" valign="top"><strong>Shipping To:</strong> [oshipfirstname] [oshiplastname]
          <!--START: oshipcompany-->
          [oshipcompany]
          <!--END: oshipcompany-->
          <br>
          [oshipaddress] [oshipaddress2] [oshipcity], [oshipstate] [oshipzip] [oshipcountry]
          <!--START: oshippeddate--><br>
          <strong>Shipped Date</strong>: [oshippeddate]<!--END: oshippeddate--> </td>
          <td width="30%" valign="top"><strong>Shipping Method</strong><br>
          [oshipmethod]<br>
          <!--START: trackingcode-->
          <strong>Tracking Number</strong><br>
          <a href="[store_url]/shiptracking.asp?trackno=[trackingcode]">[trackingcode]</a>
          <!--END: trackingcode-->
          </td>
          </tr>
          </table></td>
          </tr>
          <!--END: shipment-->
          <!--START: product-->
          <tr>
          <td></td>
          <td colspan="3"><table width="100%" border="0" cellspacing="0" cellpadding="10">
          <tr>
          <td width="9%"><!--START: thumbnail-->
          <img src="[store_url]/[thumbnail]">
          <!--END: thumbnail--></td>
          <td width="46%"><span>[itemid] [itemname]</span></td>
          <td width="23%"><div align="left">[unitprice] x [numitems] </div></td>
          <td width="22%"><div align="right"><strong>[itemsubtotal]</strong></div></td>
          </tr>
          </table></td>
          </tr>
          <!--END: product-->
          <!--START: edownload-->
          <tr>
          <td></td>
          <td colspan="3"><hr color="#000000" size="thin"></td>
          </tr>

          <tr>
          <td></td>
          <td colspan="3"><a href="[store_url]/order_eproduct.asp?action=edownload&eid=[orderkey]">Click Here to download</a>
          or go to this link [store_url]/order_eproduct.asp?action=edownload&eid=[orderkey]</td>
          </tr> <!--END: edownload--> <tr>
          <td></td>
          <td colspan="3"><hr color="#000000" size="thin"></td>
          </tr>
          <tr>
          <td></td>
          <td colspan="3"><div align="right"><strong>Subtotal: </strong>[osubtotal]<br>
          <!--<b>Discount:</b> [totaldiscounts]<br> DISCOUNT REMOVED-->
          <b>Shipping:</b> [oshipcost]<br>
          <b>Sales Tax:</b> [otax]<br>
          <b>Total:</b> [orderamount] </div></td>
          </tr>
          <!--START: discount_block-->
          <tr>
          <td></td>
          <td colspan="3"> </td>
          </tr>
          <tr>
          <td></td>
          <td colspan="3"><strong>Discounts / Promotions / Gift Certificates</strong></td>
          </tr>
          <tr>
          <td></td>
          <td colspan="3"><hr color="#000000" size="thin"></td>
          </tr>
          <tr>
          <td></td>
          <td colspan="3"><!--START: discounts-->
          [promotion_name] - [discount_amount] <br>
          <!--END: discounts-->
          </td>
          </tr>
          <!--END: discount_block-->
          <!--START: checkoutquestions_block-->
          <tr>
          <td></td>
          <td colspan="3"> </td>
          </tr>
          <tr>
          <td></td>
          <td colspan="3"><strong>Checkout Questions</strong></td>
          </tr>
          <tr>
          <td></td>
          <td colspan="3"><hr color="#000000" size="thin"></td>
          </tr>
          <tr>
          <td></td>
          <td colspan="3"><!--START: checkoutquestions1-->
          <!--START: question1-->
          [question]: [answer] <br />
          <!--END: question1-->
          <!--END: checkoutquestions1-->
          <!--START: checkoutquestions2-->
          <!--START: question2-->
          [question]: [answer] <br />
          <!--END: question2-->
          <!--END: checkoutquestions2-->
          <!--START: checkoutquestions3-->
          <!--START: question3-->
          [question]: [answer] <br />
          <!--END: question3-->
          <!--END: checkoutquestions3-->
          </td>
          </tr>
          <!--END: checkoutquestions_block-->
          <tr>
          <td></td>
          <td colspan="3"><hr color="#000000" size="thin"></td>
          </tr>
          <tr>
          <td></td>
          <td colspan="3"><table width="100%"><tr><td width="30%">
          [store_name]</td>
          <td></td>
          <td width="67%"><div align="right">[address1] [address2] [city], [state] [zip] <br>
          Phone: [phone1]</div>
          </td></tr></table>

          </td>
          </tr>
          </table>
          </body>
          </html>

          Comment


          • #6
            Did you clear your store cache? and have a new email sent. Also you are showing the old email version. Make sure that you are not using the newer email version. <!-- --> completely removes the code in between so since that is the only area in this email as shown it has not been cleared from cache on the front end. Can you send a test email to [email protected] and I will verify for you
            TheCartDesigner.com
            Not 3dcart Owned or Operated
            100% Independent 3dcart Expert


            Follow Us on Twitter

            Comment


            • #7
              The Enable Adv Page Cache was not checked, but I just cleared it anyway.

              Will test it again soon.

              Comment


              • #8
                Well the next order work properly, and the pictures were bigger than the one that did not remove "discount".

                I'll start looking for a pattern.

                Comment


                • #9
                  I simply removed any coding by deleting it completely versus adding more code to hide it - absolutely no issue removing it from all emails

                  Comment


                  • #10
                    Mine is still show up. I guess I'll try removing it.

                    There are a lot of places it could be though.

                    Comment


                    • #11
                      3DCuser There is only one place it can be in each order email. And you can remove it completely without issue. Can you send me a test email and I can verify for you. Because as it is shown above that will not show the discount as I have tested the exact coding above and it removes the discount. Can you verify that you modified the correct email
                      TheCartDesigner.com
                      Not 3dcart Owned or Operated
                      100% Independent 3dcart Expert


                      Follow Us on Twitter

                      Comment


                      • #12
                        3DCuser Another thought. I had a client that did this and it is a possibility especially if you said the images changed size I am guessing this is what you might be doing.

                        When you update your email template you need to hit "SAVE" in the top right. Make sure that you are not clicking "Apply New Version" as that sets the template to the most recent version and will just keep reverting changes back to the stock 3dcart email template thus removing any changes you may make.

                        So if you clicked "Apply New Version" as if it were save, you will need to reapply the change to that template and click "Save" in the top right
                        TheCartDesigner.com
                        Not 3dcart Owned or Operated
                        100% Independent 3dcart Expert


                        Follow Us on Twitter

                        Comment


                        • #13
                          It's easy to tweak all the emails that you use - most likely only a few of them. Look for the new order email sent to your customers and you can simply copy and past the coding into any html viewer - we use this one http://htmledit.squarefree.com/ then you can use control "F" on your computer and type in discount or whatever word you are trying to find to tweak or remove the coding. Once you remove the coding you wish from the html viewer once you see it is what you want and then copy and paste the revised coding back into the email that you were tweaking at 3dcart and click save. Only takes a few minutes to change a number of emails.

                          We also change around the layout of the email as I recall the address area being all messed up - like the name was listed, then the email address, then the address or some crazy order - we rearranged all the emails that we either get emailed with new orders that would speed up our process with quickbooks or emails sent to the customer. Sometimes when I look at the layout that 3dcart has for order notifications and the address area layout I wonder who in the heck designed these things!

                          Comment

                          Working...
                          X