Purchase Order field.

If you are runnig Joomla 3.x and Virtuemart 3.x please post to this forum your questions or support tickets about One Page Checkout

Purchase Order field.

Postby derekwebster@.....com » Wed May 01, 2019 2:35 pm

Hi Id like to add a new field at the end of the checkout for entering a purchase order No.Is this possible with OPC?
derekwebster@.....com
 
Posts: 11
Joined: Tue Jan 27, 2015 5:25 pm

Re: Purchase Order field.

Postby admin » Thu May 16, 2019 6:44 pm

hello, yes, if this is :
- a field stored ONLY within order and not directly related to the user details
- if the field can load "empty" upon each visit of the checkout by the same customer

you may want to:
- mark it "order field only " in opc + "cart field" in Virtuemart

optinally:
- render the field in onepage.unlogged(+logged, etc.. ).tpl.php file as
<input type="text" name="myname" id="myname_field" value="" />
- and set it as "custom rendered" within OPC
---> ideally you can copy full wrappers from another field :

suppose you name it "customname" in virtuemart:
Code: Select all
<div class="field_wrapper"><div class="vr2"><div id="customname_div" class="formLabel "><label for="customname_field">Special Input<span> *</span> </label> </div>
         <div class="formField" id="customname_input">
<input type="text" id="customname_field" autocomplete="billing customname" data-lpignore="true" required="required" name="customname" size="30" value="test" class="required" > </div></div></div>


and you want it to be required.

let me know at email if you needed further assistance.

best regards, stan
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm

Re: Purchase Order field.

Postby derekwebster@.....com » Wed Jun 05, 2019 5:19 pm

Thanks Stan Ive on ly just got this thanks
derekwebster@.....com
 
Posts: 11
Joined: Tue Jan 27, 2015 5:25 pm

Re: Purchase Order field.

Postby admin » Tue Jun 11, 2019 6:17 pm

hello derek, np, let me know at at email if you needed further assistance.
best regards, stan
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm


Return to One Page Checkout for Virtuemart 3 on Joomla 3.x

cron