I'm wanting to make COD for Invoice Me request. I have changed it to display Invoice me in payment selection, but need to find where the labels 'COD Charge' (displays in the sum of an order and what is sent to customer and seller when Order Confirmation is sent) but haven't a clue where those labels exist to change then to Invoice Charge and when telling me form of payment to say Invoice or Invoice Me. I've attached an image of the order confirmation and where the change needs to be. Thank you in advance!
Announcement
Collapse
No announcement yet.
Cod
Collapse
X
-
You would need to edit the charges loop in your customer and merchant emails. If you are using the stock templates, you should be able to replace the Order Contents sections of the email templates with the following:
Code:<table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td valign="top" style="border-bottom: 1px solid #e3e3e3; border-top: 1px solid #e3e3e3; padding-top: 10px; padding-bottom: 10px;" class="img" style="font-size:0pt; line-height:0pt; text-align:left" width="10"></td> <td valign="top" style="border-bottom: 1px solid #e3e3e3; border-top: 1px solid #e3e3e3; padding-top: 10px; padding-bottom: 10px;" width="200"> <div class="text-1" style="color:#7a838d; font-family:Arial, sans-serif; min-width:auto !important; font-size:16px; line-height:24px; text-align:left"><strong>Item</strong></div> </td> <td valign="top" style="border-bottom: 1px solid #e3e3e3; border-top: 1px solid #e3e3e3; padding-top: 10px; padding-bottom: 10px;" class="img" style="font-size:0pt; line-height:0pt; text-align:left" width="10"></td> <td valign="top" style="border-bottom: 1px solid #e3e3e3; border-top: 1px solid #e3e3e3; padding-top: 10px; padding-bottom: 10px;" width="100"> <div class="text-1-center" style="color:#7a838d; font-family:Arial, sans-serif; min-width:auto !important; font-size:16px; line-height:24px; text-align:center"><strong>Qty</strong></div> </td> <td valign="top" style="border-bottom: 1px solid #e3e3e3; border-top: 1px solid #e3e3e3; padding-top: 10px; padding-bottom: 10px;" class="img" style="font-size:0pt; line-height:0pt; text-align:left" width="10"></td> <td valign="top" style="border-bottom: 1px solid #e3e3e3; border-top: 1px solid #e3e3e3; padding-top: 10px; padding-bottom: 10px;" width="100"> <div class="text-1" style="color:#7a838d; font-family:Arial, sans-serif; min-width:auto !important; font-size:16px; line-height:24px; text-align:right"><strong>Price</strong></div> </td> <td valign="top" style="border-bottom: 1px solid #e3e3e3; border-top: 1px solid #e3e3e3; padding-top: 10px; padding-bottom: 10px;" class="img" style="font-size:0pt; line-height:0pt; text-align:left" width="10"></td> <td valign="top" style="border-bottom: 1px solid #e3e3e3; border-top: 1px solid #e3e3e3; padding-top: 10px; padding-bottom: 10px;"> <div class="text-1-right" style="color:#7a838d; font-family:Arial, sans-serif; min-width:auto !important; font-size:16px; line-height:24px; text-align:right"><strong>Total</strong></div> </td> </tr> <mvt:foreach iterator="item" array="order:groups"> <mvt:if expr="l.settings:item:option_count"> <mvt:assign name="l.settings:item_padding" value="'padding-top: 15px; padding-bottom: 5px;'" /> <mvt:else> <mvt:assign name="l.settings:item_padding" value="'padding-top: 15px; padding-bottom: 15px;'" /> </mvt:if> <tr> <td valign="top" style="&mvte:item_padding;" class="img" style="font-size:0pt; line-height:0pt; text-align:left" width="10"></td> <td valign="top" style="&mvte:item_padding;"> <div class="text-1" style="color:#7a838d; font-family:Arial, sans-serif; min-width:auto !important; font-size:16px; line-height:24px; text-align:left">&mvt:item:name;</div> <div class="text-3" style="color:#7a838d; font-family:Arial, sans-serif; min-width:auto !important; font-size:14px; line-height:22px; text-align:left">&mvt:item:code;</div> </td> <td valign="top" style="&mvte:item_padding;" class="img" style="font-size:0pt; line-height:0pt; text-align:left" width="10"></td> <td valign="top" style="&mvte:item_padding;"> <div class="text-1-center" style="color:#7a838d; font-family:Arial, sans-serif; min-width:auto !important; font-size:16px; line-height:24px; text-align:center">&mvte:item:quantity;</div> </td> <td valign="top" style="&mvte:item_padding;" class="img" style="font-size:0pt; line-height:0pt; text-align:left" width="10"></td> <td valign="top" style="&mvte:item_padding;"> <div class="text-1" style="color:#7a838d; font-family:Arial, sans-serif; min-width:auto !important; font-size:16px; line-height:24px; text-align:right"> &mvt:item:formatted_price; </div> </td> <td valign="top" style="&mvte:item_padding;" class="img" style="font-size:0pt; line-height:0pt; text-align:left" width="10"></td> <td valign="top" style="&mvte:item_padding;"> <div class="text-1-right" style="color:#7a838d; font-family:Arial, sans-serif; min-width:auto !important; font-size:16px; line-height:24px; text-align:right"> &mvt:item:formatted_subtotal; </div> </td> </tr> <mvt:foreach iterator="option" array="item:options"> <mvt:if expr="l.pos2 LT l.settings:item:option_count"> <mvt:assign name="l.settings:option_padding" value="'padding-bottom: 5px;'" /> <mvt:else> <mvt:assign name="l.settings:option_padding" value="'padding-bottom: 15px;'" /> </mvt:if> <tr> <td valign="top" style="&mvte:option_padding;" class="img" style="font-size:0pt; line-height:0pt; text-align:left" width="10"></td> <td valign="top" style="&mvte:option_padding;"> <div class="text-3" style="color:#7a838d; font-family:Arial, sans-serif; min-width:auto !important; font-size:14px; line-height:22px; text-align:left"> <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:if expr="( l.settings:option:attr_code EQ 'digitaldownload' ) AND ( NOT ISNULL l.settings:option:digital_download_url )"> <a href="&mvte:option:digital_download_url;" target="_blank">Digital Download</a> <mvt:else> &mvt:option:attr_code;: &mvt:option:data; </mvt:if> <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> </div> </td> <td valign="top" style="&mvte:option_padding;" class="img" style="font-size:0pt; line-height:0pt; text-align:left" width="10"></td> <td valign="top" style="&mvte:option_padding;"> </td> <td valign="top" style="&mvte:option_padding;" class="img" style="font-size:0pt; line-height:0pt; text-align:left" width="10"></td> <td valign="top" style="&mvte:option_padding;"> <div class="text-1" style="color:#7a838d; font-family:Arial, sans-serif; min-width:auto !important; font-size:16px; line-height:24px; text-align:right"> <mvt:if expr="l.settings:option:price"> &mvt:option:formatted_price; <mvt:else> </mvt:if> </div> </td> <td valign="top" style="&mvte:option_padding;" class="img" style="font-size:0pt; line-height:0pt; text-align:left" width="10"></td> <td valign="top" style="&mvte:option_padding;"> <div class="text-1-right" style="color:#7a838d; font-family:Arial, sans-serif; min-width:auto !important; font-size:16px; line-height:24px; text-align:right"> <mvt:if expr="l.settings:option:subtotal"> &mvt:option:formatted_subtotal; <mvt:else> </mvt:if> </div> </td> </tr> </mvt:foreach> </mvt:foreach> </table> </td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="spacer" style="font-size:0pt; line-height:0pt; text-align:center; width:100%; min-width:100%"><tr><td height="5" class="spacer" style="font-size:0pt; line-height:0pt; text-align:center; width:100%; min-width:100%"> </td></tr></table> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td class="img" style="font-size:0pt; line-height:0pt; text-align:left" height="1" bgcolor="#e3e3e3"> </td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="spacer" style="font-size:0pt; line-height:0pt; text-align:center; width:100%; min-width:100%"><tr><td height="20" class="spacer" style="font-size:0pt; line-height:0pt; text-align:center; width:100%; min-width:100%"> </td></tr></table> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="right"> <table border="0" cellspacing="0" cellpadding="0"> <mvt:foreach iterator="charge" array="order:charges"> <tr> <td> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="spacer" style="font-size:0pt; line-height:0pt; text-align:center; width:100%; min-width:100%"><tr><td height="3" class="spacer" style="font-size:0pt; line-height:0pt; text-align:center; width:100%; min-width:100%"> </td></tr></table> <mvt:if expr="'COD' CIN l.settings:charge:descrip"> <div class="text-1-right" style="color:#7a838d; font-family:Arial, sans-serif; min-width:auto !important; font-size:16px; line-height:24px; text-align:right">Invoice Me:</div> <mvt:else> <div class="text-1-right" style="color:#7a838d; font-family:Arial, sans-serif; min-width:auto !important; font-size:16px; line-height:24px; text-align:right">&mvt:charge:descrip;:</div> </mvt:if> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="spacer" style="font-size:0pt; line-height:0pt; text-align:center; width:100%; min-width:100%"><tr><td height="3" class="spacer" style="font-size:0pt; line-height:0pt; text-align:center; width:100%; min-width:100%"> </td></tr></table> </td> <td class="img" style="font-size:0pt; line-height:0pt; text-align:left" width="10"></td> <td width="135"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="spacer" style="font-size:0pt; line-height:0pt; text-align:center; width:100%; min-width:100%"><tr><td height="3" class="spacer" style="font-size:0pt; line-height:0pt; text-align:center; width:100%; min-width:100%"> </td></tr></table> <div class="text-1-right" style="color:#7a838d; font-family:Arial, sans-serif; min-width:auto !important; font-size:16px; line-height:24px; text-align:right">&mvt:charge:formatted_disp_amt;</div> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="spacer" style="font-size:0pt; line-height:0pt; text-align:center; width:100%; min-width:100%"><tr><td height="3" class="spacer" style="font-size:0pt; line-height:0pt; text-align:center; width:100%; min-width:100%"> </td></tr></table> </td> </tr> </mvt:foreach> <tr> <td> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="spacer" style="font-size:0pt; line-height:0pt; text-align:center; width:100%; min-width:100%"><tr><td height="3" class="spacer" style="font-size:0pt; line-height:0pt; text-align:center; width:100%; min-width:100%"> </td></tr></table> <div class="h3-right" style="color:#303748; font-family:Arial, sans-serif; min-width:auto !important; font-size:18px; line-height:22px; text-align:right"><strong>Total:</strong></div> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="spacer" style="font-size:0pt; line-height:0pt; text-align:center; width:100%; min-width:100%"><tr><td height="3" class="spacer" style="font-size:0pt; line-height:0pt; text-align:center; width:100%; min-width:100%"> </td></tr></table> </td> <td class="img" style="font-size:0pt; line-height:0pt; text-align:left" width="10"></td> <td width="135"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="spacer" style="font-size:0pt; line-height:0pt; text-align:center; width:100%; min-width:100%"><tr><td height="3" class="spacer" style="font-size:0pt; line-height:0pt; text-align:center; width:100%; min-width:100%"> </td></tr></table> <div class="h3-right" style="color:#303748; font-family:Arial, sans-serif; min-width:auto !important; font-size:18px; line-height:22px; text-align:right"><strong>&mvt:order:formatted_total;</strong></div> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="spacer" style="font-size:0pt; line-height:0pt; text-align:center; width:100%; min-width:100%"><tr><td height="3" class="spacer" style="font-size:0pt; line-height:0pt; text-align:center; width:100%; min-width:100%"> </td></tr></table> </td> </tr> <mvt:foreach iterator="payment" array="order:payments"> <tr> <td> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="spacer" style="font-size:0pt; line-height:0pt; text-align:center; width:100%; min-width:100%"><tr><td height="3" class="spacer" style="font-size:0pt; line-height:0pt; text-align:center; width:100%; min-width:100%"> </td></tr></table> <div class="text-1-right" style="color:#7a838d; font-family:Arial, sans-serif; min-width:auto !important; font-size:16px; line-height:24px; text-align:right"> <mvt:if expr="l.settings:payment:type EQ 6"> Refund: <mvt:else> Payment: </mvt:if> &mvt:payment:desc;: </div> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="spacer" style="font-size:0pt; line-height:0pt; text-align:center; width:100%; min-width:100%"><tr><td height="3" class="spacer" style="font-size:0pt; line-height:0pt; text-align:center; width:100%; min-width:100%"> </td></tr></table> </td> <td class="img" style="font-size:0pt; line-height:0pt; text-align:left" width="10"></td> <td width="135"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="spacer" style="font-size:0pt; line-height:0pt; text-align:center; width:100%; min-width:100%"><tr><td height="3" class="spacer" style="font-size:0pt; line-height:0pt; text-align:center; width:100%; min-width:100%"> </td></tr></table> <div class="text-1-right" style="color:#7a838d; font-family:Arial, sans-serif; min-width:auto !important; font-size:16px; line-height:24px; text-align:right"> <mvt:if expr="l.settings:payment:type EQ 6"> &mvt:payment:formatted_amount; <mvt:else> &mvt:payment:formatted_amount_negative; </mvt:if> </div> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="spacer" style="font-size:0pt; line-height:0pt; text-align:center; width:100%; min-width:100%"><tr><td height="3" class="spacer" style="font-size:0pt; line-height:0pt; text-align:center; width:100%; min-width:100%"> </td></tr></table> </td> </tr> </mvt:foreach> </table> </td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="spacer" style="font-size:0pt; line-height:0pt; text-align:center; width:100%; min-width:100%"><tr><td height="30" class="spacer" style="font-size:0pt; line-height:0pt; text-align:center; width:100%; min-width:100%"> </td></tr></table
Matt Zimmermann
Miva Web Developer
Alchemy Web Development
https://www.alchemywebdev.com
Site Development - Maintenance - Consultation
Miva Certified Developer
Miva Professional Developer
https://www.dev4web.net | Twitter
-
Hi Matt,
Sorry I got confused (dyslexic and directions can confuse me...) Yes the email templates are stock, so HomeUser InterfacePagesEdit Page: Order Confirmation: CustomerPage I replace the Template there with this code?
Comment
-
User Interface -> Pages -> Order Confirmation: Customer -> Order Contents
If you do not see a box containing the code, click Advanced Mode
Matt Zimmermann
Miva Web Developer
Alchemy Web Development
https://www.alchemywebdev.com
Site Development - Maintenance - Consultation
Miva Certified Developer
Miva Professional Developer
https://www.dev4web.net | Twitter
Comment
-
We do not do COD but for some customers (ones that want you to place their order) I wanted to replace COD to display Invoice Me, sounded simple but find there are places like in Order Processing, in the admin that reflect COD and would so like to replace that to be Invoice Me. (I freak out when I see it and run to tweak shipping and see, no it says Display As "Invoice Me".
So I figure it must be hidden somewhere else. My question is it easier to find where and change or seek out a module for Invoice Me?
Is there a module for Invoice Me?
Comment
-
You might try using something like the Purchase Order Plus module [ https://apps.miva.com/purchase-order-plus.html ], it may need a little finessing to work like you want it to.Matt Zimmermann
Miva Web Developer
Alchemy Web Development
https://www.alchemywebdev.com
Site Development - Maintenance - Consultation
Miva Certified Developer
Miva Professional Developer
https://www.dev4web.net | Twitter
Comment
Comment