PDA

View Full Version : problem with invoice page


supernuckolls
09-02-06, 11:45 PM
When i place a test order and get to the invoice page it does not display the order number, date, and price total. However, I will get the conformation email for the completed order with the order number and date. I have tried reverting this page and all pages leading up to the INVC page to their original state and still nothing. I have a feeling it has something to do with the miva token &mvt: order :id; Specifically the "order:" part. It doesnt seem to be pulling the information to the INVC page. Any help would be greatly appreciated.

Red Flare
09-04-06, 11:43 AM
Can you post your INVC page code. Post it between the code tags.
tx

supernuckolls
09-04-06, 06:05 PM
This is the code for the INVC page:

<html>
<head>
<title>&mvt:store:name;: Invoice</title>
<base href="&mvt:global:basehref;">
<mvt:item name="head" />
<STYLE>
<!--
a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
}
a:hover {
text-decoration: none;
}
a:active {
text-decoration: none;
}//-->
</STYLE>
</head>
<mvt:item name="body">

<table border="0" width="650" align="center" bgcolor="#333333"><tr><td>
<table border="0" width="650px" align="center" bgcolor="#000000">
<tr><td><img src="graphics/00000001/basketlogo.gif"></td></tr>
<tr><td align="left" valign="bottom">
<mvt:item name="navbar" />
</td></tr>
<tr><td align="left" valign="bottom">
<mvt:item name="hdft" param="header" />
</td></tr>
<tr><td align="left" valign="top" width="100%">
<mvt:item name="fonts" param="body_font">
<br>
<mvt:item name="messages" />
<mvt:item name="fonts" param="hdr_font">
<font color="#ffffff"><b>Thanks for your order. You are now one step closer to being cool. You will recieve an email reciept shortly. Please print this reciept for your records.</b></font>
<br><br>
</mvt:item>
<table border="0" width="100%">
<tr><td align="left" valign="top" width="100%">
<mvt:item name="fonts" param="hdr_font">
<font color="#ffffff"><b>Order #&mvt:order:id;</b></font>
</mvt:item>
</td><td align="right" valign="top" nowrap>
<mvt:item name="fonts" param="hdr_font">
<font color="#ffffff"><b>Date:</b></font>
</mvt:item>
</td><td align="left" valign="top" nowrap>
<mvt:item name="fonts" param="hdr_font">
&mvt:order:date; &mvt:order:time;
</mvt:item>
</td></tr>
</table>
<br><br>
<mvt:item name="mmui_messages" param="thank" />
<br><br>
<br><br>
<mvt:item name="order_customer" />
<br>
<mvt:item name="order_contents" />
<br>
</mvt:item>
</td></tr>
<tr><td align="left" valign="bottom">
<mvt:item name="hdft" param="footer" />
</td></tr>
</table>
<mvt:item name="hdft" param="global_footer" />
</mvt:item>
</html>


Thanks for looking into this for me

Pete McNamara
09-04-06, 07:10 PM
You need to use "Advanced" and place your code between the code tags or turn off smilies.

Also, you have spelled receive and receipt incorrectly.

Red Flare
09-05-06, 01:02 AM
To use code tags go advanced, then press the # sign and paste your code between the tags.
Anyway, here is code from my INVC page.

<html>
<head>
<title>&mvt:store:name;: Invoice</title>
<base href="&mvt:global:basehref;">
<mvt:item name="head" />
</head>

<mvt:item name="body">
<mvt:item name="hdft" param="global_header" />

<table width="766" border="0" align="center" cellpadding="0" cellspacing="0">

<tr>
<td width="188" align="left" valign="top" background="/images/bg_menu2.jpg" bgcolor="#666666">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><img src=" /images/tab_browse.gif" alt="Browse by category" width="188" height="36"></td>
</tr>
<tr>
<td align="left" valign="top" CLASS="subcat">
<mvt:item name="fonts" param="ctgy_font">
<span class="subcat_text">
<mvt:item name="mytree" />
</span>
</mvt:item>

<br><br><br>
</td></tr>
</table>
</td>

<td align="left" valign="top" width="100%" bgcolor="#efefef">

<table width="100%" border="0" align="left" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" class="bgTtl"><img src=" /images/spacer.gif" width=15" height="35"></td>

<!--------------------------ENTER title here------------------------>
<td colspan="3" class="bgTtl"> Invoice</td>
<!--------------------------END title------------------------------->
</tr>

<tr>
<td width="15" class="bgGray">&nbsp;</td>
<td valign="top" class="bgGray" width="500">

<td width="100%" valign="top" class="bgGray"><span class="textBody">

<br>
<mvt:item name="fonts" param="body_font">
<br>
<mvt:item name="messages" />
<br>

<table border="0" width="500">
<tr><td align="left" valign="top" width="100%">
<mvt:item name="fonts" param="hdr_font">
<b>Order #&mvt:order:id;</b>
</mvt:item>
</td><td align="right" valign="top" nowrap>
<mvt:item name="fonts" param="hdr_font">
<b>Date:</b>
</mvt:item>
</td><td align="left" valign="top" nowrap>
<mvt:item name="fonts" param="hdr_font">
&mvt:order:date; &mvt:order:time;
</mvt:item>
</td></tr>
</table>
<br><br>
<mvt:item name="mmui_messages" param="thank" />
<br><P><a href="/info-SFNT.html">Continue shopping</a>
<br>
<br><br>

<mvt:item name="order_customer" />
<br>
<mvt:item name="order_contents" />
<br>

</mvt:item>

<td width="100" valign="top" class="bgGray"><img src=" /images/spacer.gif" width="35" height="35"></td>


</tr>
</table>
</td></tr>
</table>

<mvt:item name="hdft" param="global_footer" />
<!google code-->
<form style="display:none;" name="utmform">
<textarea id="utmtrans">
UTM:T|<mvt:if expr="NOT ISNULL l.settings:order:id">&mvt:order:id;</mvt:if>|&mvt:global:affiliate;|&mvt:order:total;|<mvt:foreach iterator="charge" array="order:charges"><mvt:if expr="l.settings:charge:type EQ 'TAX'">&mvt:charge:amount;</mvt:if></mvt:foreach>|<mvt:foreach iterator="charge" array="order:charges"><mvt:if expr="l.settings:charge:type EQ 'SHIPPING'">&mvt:charge:amount;</mvt:if></mvt:foreach>|&mvt:global:customer:ship_city;|&mvt:global:customer:ship_state;|&mvt:global:customer:ship_cntry;
<mvt:foreach iterator="item" array="order:items">
UTM:I|<mvt:if expr="NOT ISNULL l.settings:order:id">&mvt:order:id;</mvt:if>|&mvt:item:code;|&mvt:item:name;|category|&mvt:item:price;|&mvt:item:quantity;
</mvt:foreach>
</textarea>
</form>
<!--end google code-->

</mvt:item>
</html>

latu
09-05-06, 05:06 PM
Make sure the following items are assigned to the INVC page:

head
hdft
store
messages
order
states
countries
body
mmui_messages
navbar
colors
fonts
buttons
order_customer
order_contents

And use the Store Helper module to check all of the page's variables:
http://store.latu.net/miva-modules-5/LATU-STOREHELPER.html