Announcement

Collapse
No announcement yet.

Purchase Order Number

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

    Purchase Order Number

    For reasons too longwinded to explain I need to populate this field with a static code that will be hidden from the customers but transferred to Actinic along with the order.

    Does anyone know the easiest way to do this?

    Dave
    Cheers

    David
    Located in Edinburgh UK

    http://twitter.com/mcfinster

    #2
    Hi,

    You can do this by going into 'Design | Text' and click on the 'Go To' button in the bottom left corner of the window. In the 'Phase' field, type 5 and in the 'ID' field, type 6 and click 'OK' to take you to the 'Purchase Order Number:' prompt. You need to click the 'Show' tickbox and you can make it 'required' also. Delete the prompt if you do not want it to show and click 'OK'.

    Then you need to go to the 'Advanced' menu and select 'Template Manager'. Click on the 'Ordering' tab (click 'change view' if you do not see the tabs) and then click on the 'Order Phase 2' button to open 'Act_Order02.html'. In this template search for:

    Code:
    <td bgcolor="NETQUOTEVAR:CHECKOUTBG">NETQUOTEVAR:PAYMENTPROMPT006</td>
    		<td bgcolor="NETQUOTEVAR:CHECKOUTBG">
          <input type="TEXT" name="PAYMENTPONO" size="15" maxlength="255" value="NETQUOTEVAR:PAYMENTPONO">
        </td>
    change this to:

    Code:
        <td bgcolor="NETQUOTEVAR:CHECKOUTBG">NETQUOTEVAR:PAYMENTPROMPT006</td>
    		<td bgcolor="NETQUOTEVAR:CHECKOUTBG">
          <input type="HIDDEN" name="PAYMENTPONO" size="15" maxlength="255" value="TEST PO NO">
        </td>
    	</tr>
    Change 'TEST PO NO' to your static number and save and close the file.

    You may also want to remove the PO number field from the showing on the receipt page too. In this case you need to go to the 'Advanced' menu and select 'Template Manager'. Click on the 'Ordering' tab and this time click the 'Order Phase 4' button. Search for:

    NETQUOTEVAR:PURCHASEORDERNUMBER

    and comment it out so it looks like:

    <!--NETQUOTEVAR:PURCHASEORDERNUMBER-->

    Note that there are two instances of this variable in the template and you should comment them both out.

    Save and close the files and upload your store.

    I hope this helps.
    ********************
    Tracey
    SellerDeck

    Comment

    Working...
    X