The store won't track the credit amount, but it will let you have a special number field.
You could rename one of the existing fields through the store and DNN, or you can create a custom field. Custom fields can be created in the DNN profile, or you can create a custom field solely within the store.
I have an example of the latter in my store you can use:
stg2form.template
<p><span>Order Reference (max 20 characters)<br />[<tag id="txtInvRef" type="textbox" width="180" cssclass="NormalTextBox" maxlength="20"/>]</span></p> stg2formxml.xsl
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" exclude-result-prefixes="msxsl">
<xsl:output method="html" indent="yes"/>
<xsl:template match="/">
<xsl:value-of select="genxml/textbox/txtinvref" />
</xsl:template>
</xsl:stylesheet>
And somewhere in order.text.template, add:
Order reference: [Order:Stg2FormXML]
Rob
You could rename one of the existing fields through the store and DNN, or you can create a custom field. Custom fields can be created in the DNN profile, or you can create a custom field solely within the store.
I have an example of the latter in my store you can use:
stg2form.template
<p><span>Order Reference (max 20 characters)<br />[<tag id="txtInvRef" type="textbox" width="180" cssclass="NormalTextBox" maxlength="20"/>]</span></p> stg2formxml.xsl
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" exclude-result-prefixes="msxsl">
<xsl:output method="html" indent="yes"/>
<xsl:template match="/">
<xsl:value-of select="genxml/textbox/txtinvref" />
</xsl:template>
</xsl:stylesheet>
And somewhere in order.text.template, add:
Order reference: [Order:Stg2FormXML]
Rob