| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Removing Purchase Order Info Reqd Fields on Checkout Payment | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I have a section called "Purchase Order Information" on my Checkout Payment Page - It's coming up with 4 required fields ~~
PO number * Company name * The buyer's name * Position I've searched the forums, checkboxes and the manual and can't be sure how to get rid of it. I think I need to delete or comment them out of a template but I'm not sure which. Can anyone point me the way to go? (be polite.... ![]() 4.0.13
__________________
Maree 4.0.13 |
|||||||
#2
|
|||||||
|
|||||||
![]() Hi Maree...the template you are looking for is customer/main/payment_po.tpl. You'll notice the Javascript at the top which you can alter or remove to get rid of the required fields. You can then remove the stars from each individual field below that. Good luck!
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() Thank You - It's gone!
If ever you need a quilt just let me know! ![]() 4.0.13
__________________
Maree 4.0.13 |
|||||||
#4
|
|||||||||
|
|||||||||
![]() You need to be careful here, I think.
I believe that if you only edit the template file, it won't work properly, and in fact you only solve half the problem. While it looks like it works, when you place an order, is it going back to the page, but appearing to place the order? You need to edit: payment/payment_offline.php and look for line 53: it looks something like this, and explains why it shouldn't work if you ignore this file: Code:
that is the correct code for removing the PO no only. Remove the others as you need. Also, be careful you are not getting a javascript error when you submit the order. If you remove only PO no you need to renumber the array, so it starts at 0. Hope this helps you or anyone else trying to do this. (It's too hot for quilts by the way!!!)
__________________
Paul Dodman e-business & m-commerce consultant w: www.luminointernet.com e: xcart@luminointernet.com Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart. |
|||||||||
#5
|
|||||||
|
|||||||
![]() Yes....although the purchase order fields were removed from the checkout page by removing the javascript and stars the Checkout procedure was then "stuck" on this page. It wouldn't move forward. I have since restored the original file.
I have scoured all references to making PO field optional at Checkout. Have I missed something? I can live with the original purchase order fields appearing at Checkout but they must be OPTIONAL not required fields. I can add statements to the page explaining the fields as purely optional. Maree in Melbourne (where quilts are definitely req'd in June ![]()
__________________
Maree 4.0.13 |
|||||||
#6
|
|||||||
|
|||||||
![]() Sorry Maree, didn't test out that fix before I posted it. Thanks for following up Paul.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#7
|
|||||||
|
|||||||
![]() This post implies to me that this Purchase Order (PO) information is part of a check out option that also allows for additional payment methods (since the user doesn't want the PO fields to be required). Is that true or possible?
On my site all customers will pay via C.C. (using the yourpay payment gateway) but some customers will also have PO numbers that their organization require to be tied to the order. So I would love for the check out screen to ask for PO information but only in addition to the CC information. When I turn on the purchase order payment method, at check-out you can choose to pay via yourpay or purchase order but not both. Is there any built in functionality for this? Is there anyway to add custom fields to the checkout screen? Or is this a hack scenario? Thank you, Jed
__________________
Jed Herzog Gold X-Cart 4.0.17 http://www.outliersolutions.com Portland Advertising Agency, Portland Web Design |
|||||||
#8
|
|||||||
|
|||||||
![]() To respond to my own last post. If anyone also needs to add a PO Number option to the Credit Card Check out screen (or any other special field). You can follow these two posts to do so. It worked great.
http://forum.x-cart.com/viewtopic.php?t=9400&start=15#76522 http://forum.x-cart.com/viewtopic.php?t=9400&postdays=0&postorder=asc&star t=15#96566
__________________
Jed Herzog Gold X-Cart 4.0.17 http://www.outliersolutions.com Portland Advertising Agency, Portland Web Design |
|||||||
#9
|
|||||||
|
|||||||
![]() Quote:
I also have this problem. I need the following fields to be optional, not removed PO number Company name The buyer's name Position Anyone figure this out yet?
__________________
Dawn ![]() X-Cart Business 5.3.6.3 Mods: Qty input - Custom Mod Part numbers near title - Custom Mod Membership approval before ordering - Custom Mod Order Forms - Custom Mod Freight on Board - Custom Mod Catalog Order Form Call For Price Template: Crisp White skin Running on Windows |
|||||||
#10
|
|||||||||
|
|||||||||
![]() Quote:
Yes, i got this working upon the advice from balinor & pauldodman as mentioned within this post (using version 4.1.3 here)
__________________
Developing in 4.7.x now (Dipping into v5 - Slowly!) Have used 4.1.x, 4.2.x, 4.4.x, 4.5.x, 4.6.x & 4.7.x Multiple Instances of X-Cart MySQL 5.6.37 CentOS 7.4 Chamber Internet - Lancashire, United Kingdom http://www.chamberelancs.co.uk |
|||||||||
|
|||
X-Cart forums © 2001-2020
|