Announcement

Collapse
No announcement yet.

remove gift certificate key from Customer email

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

    remove gift certificate key from Customer email

    Does anyone know if it's possible to remove the gift certificate key from the purchaser's email? My client wants the gift certificate to be created but not sent until the payment has been processed.
    Thanks!
    Cway
    Trent Studios, LLC
    Graphic Design, Website Design
    TrentStudios.com
    (970) 568-8652

    #2
    Re: remove gift certificate key from Customer email

    It will add it by default as an attribute to the product, but you can modify the attribute loop on the Invoice and email template to prevent it from displaying.
    Brennan Heyde
    VP Product
    Miva, Inc.
    [email protected]
    https://www.miva.com

    Comment


      #3
      Re: remove gift certificate key from Customer email

      That's what I thought, but I don't see it in Order Confirmation: Customer. Where is it?
      Thanks, Brennan!
      Cway
      Trent Studios, LLC
      Graphic Design, Website Design
      TrentStudios.com
      (970) 568-8652

      Comment


        #4
        Re: remove gift certificate key from Customer email

        It dynamically inserts the attribute when the order is placed. It will always have the code of "giftcert"

        So you could do something like this:

        Code:
        <mvt:foreach iterator="option" array="item:options">
        
        
        	<mvt:if expr="l.settings:option:attr_code EQ 'giftcert'">
        		// do not display anything
        	<mvt:else>
        		
        		<mvt:if expr="l.settings:option:option_id">
        			<small>&mvt:option:attr_prompt; <strong>&mvt:option:opt_prompt;</strong></small>
        		<mvt:elseif expr="NOT ISNULL l.settings:option:data">
        			<small>&mvt:option:attr_prompt; <strong>&mvt:option:data;</strong></small>
        		<mvt:elseif expr="NOT ISNULL l.settings:option:data_long">
        			<small>&mvt:option:attr_prompt; <strong>&mvt:option:data_long;</strong></small>
        		<mvt:else>
        			<small>&mvt:option:attr_prompt;</small>
        		</mvt:if>
        
        
        	</mvt:if>
        
        
        
        
        </mvt:foreach>
        Brennan Heyde
        VP Product
        Miva, Inc.
        [email protected]
        https://www.miva.com

        Comment

        Working...
        X