Announcement

Collapse
No announcement yet.

Merchant Order Confirmation Email (Miva 9)

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

    Merchant Order Confirmation Email (Miva 9)

    I would like to tweak the new Merchant Order Confirmation Email from Miva 9. One of the issues I have is that my shipping/handling department would like to know what Coupon our customers are using. Unfortunately, this is not clearly stated on the invoice they receive. It only states the Price Group 20% Off not the actual Coupon that is using that Price Group. We have a lot of Coupons and we would like that information included on the invoice.

    Also, the other issue is...in Miva 5 this invoice printed on a single piece of paper. With Miva 9, it is spread out into 2 pieces of paper. This sounds a little picky but when you are printing hundreds of invoices a week, you can waste a lot of paper unnecessarily. Is there a way to tighten this invoice up more?

    Appreciate any help...

    Thanks, Candy
    http://www.lorisgolfshoppe.com

    #2
    Re: Merchant Order Confirmation Email (Miva 9)

    Miva 9 uses the ORDER_INVOICE template for the printable invoice, so you can modify that.
    Best,
    Pamela

    Consultant / Developer / Trainer
    Contributing Editor to Practical Ecommerce
    Author of the Official Guides for Miva Merchant
    pamelahazelton.com

    Comment


      #3
      Re: Merchant Order Confirmation Email (Miva 9)

      Check to see if in the order_invoice template, Content (inline styles) you still have the following style:

      .order
      {
      text-align:left;
      width:690px;
      padding:20px;
      page-break-after:always;
      }


      and check if the top of the order_invoice template looks like this:

      <mvt:foreach iterator="order" array="admin_order:orders">
      <div class="order">
      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


        #4
        Re: Merchant Order Confirmation Email (Miva 9)

        Yes, I do include both:

        .order
        {
        text-align:left;
        width:690px;
        padding:20px;
        page-break-after:always;
        }

        and check if the top of the order_invoice template looks like this:

        <mvt:foreach iterator="order" array="admin_order:orders">
        <div class="order">

        But I have a lot more details in the Content (inline_css). Does that matter?

        I also need to add "description" from the Coupon code that's being used. At the moment, it only shows the Price Group 20% not which actual Coupon the customer is using.

        thanks, Candy
        http://www.lorisgolfshoppe.com

        Comment


          #5
          Re: Merchant Order Confirmation Email (Miva 9)

          hmm, not sure what the issue is...its possible that there is an error in the inline_css...might want to copy it and run it through a CSS validator (https://jigsaw.w3.org/css-validator/#validate_by_input)

          Not sure about the description thing. I've never run across it.
          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


            #6
            Re: Merchant Order Confirmation Email (Miva 9)

            What is the actual name of the group?
            Best,
            Pamela

            Consultant / Developer / Trainer
            Contributing Editor to Practical Ecommerce
            Author of the Official Guides for Miva Merchant
            pamelahazelton.com

            Comment


              #7
              Re: Merchant Order Confirmation Email (Miva 9)

              I've created a number of Price Groups 10%, 15%, 20%, etc. Then I created Coupon to use these different Price Groups for the discount. I want to pull the actual Coupon CODE and add to the invoice so we can see the actual Coupon that is being used to discount the product.
              Thanks, Candy
              http://www.lorisgolfshoppe.com

              Comment


                #8
                Re: Merchant Order Confirmation Email (Miva 9)

                When our customer uses a Coupon for her order, this is the code that is used on the on the Basket Contents page. It shows the actual Coupon Code plus % off information (see screenshot below):

                <mvt:foreach iterator="coupon" array="basket:coupons">
                <div class="row basket-product-row">
                <div class="column whole">
                <form method="post" action="&mvte:global:sessionurl;Screen=BASK" class="nm">
                <input type="hidden" name="Action" value="RCPN" />
                <input type="hidden" name="Store_Code" value="&mvte:global:Store_Code;" />
                <input type="hidden" name="Coupon_Code" value="&mvte:coupon:code;" />
                <mvt:if expr="NOT ISNULL l.settings:coupon:descrip">
                Coupon - &mvt:coupon:code;: &mvt:coupon:descrip;
                <mvt:else>
                Coupon - &mvt:coupon:code;
                </mvt:if>
                <button type="submit" class="button button-mini bg-transparent red align-baseline">Remove</button>
                </form>
                </div>
                </div>
                </mvt:foreach>

                See example of Coupon code that appears on Basket Contents page. This is the same information I would like to appear on my invoice page:



                I don't know where to put this code to make this happen.
                Thanks, Candy
                http://www.lorisgolfshoppe.com

                Comment


                  #9
                  Re: Merchant Order Confirmation Email (Miva 9)

                  I am having the same issue with the coupon code not showing up in the emails to customers and merchant. It shows up on every page of the checkout process but not on the email. Here is the code that is used to generate in the checkout process. Is this the right code to add to the email template or since the order already completed, it required a different for loop. I like to ask this before implementing this since my store is now live.

                  <mvt:foreach iterator="coupon" array="basket:coupons">
                  <div class="basket-product-row clear">
                  <div class="column whole nlp">
                  <mvt:if expr="NOT ISNULL l.settings:coupon:descrip">
                  Coupon - &mvt:coupon:code;: &mvt:coupon:descrip;
                  <mvt:else>
                  Coupon - &mvt:coupon:code;
                  </mvt:if>
                  </div>
                  </div>
                  </mvt:foreach>

                  Comment


                    #10
                    Re: Merchant Order Confirmation Email (Miva 9)

                    The array changes from basket:coupons to order:coupons:

                    Code:
                    <mvt:foreach iterator="coupon" array="order:coupons">
                    		<tr style="background-color: #f7f7f7; font-weight: bold;">
                    			
                    			<td style="padding: 5px 20px 5px 20px; vertical-align: top; width: 60px; text-align: left;">COUPON</td>
                    			<td style="padding: 5px 20px 5px 20px; vertical-align: top; text-align: left;">
                    				&mvt:coupon:code;
                    				<mvt:if expr="NOT ISNULL l.settings:coupon:descrip">
                    					<div style="font-size: x-small; font-style: italic;">&mvt:coupon:descrip;</div>
                    				</mvt:if>
                    			</td>
                    			<td style="padding: 5px 20px 5px 20px; vertical-align: top; width: 60px; text-align: right;">&nbsp;</td>
                    			<td style="padding: 5px 20px 5px 20px; vertical-align: top; width: 60px; text-align: right;">&nbsp;</td>
                    		</tr>
                    	</mvt:foreach>
                    Brennan Heyde
                    VP Product
                    Miva, Inc.
                    [email protected]
                    https://www.miva.com

                    Comment

                    Working...
                    X