Announcement

Collapse
No announcement yet.

Purchase Order Number Entry to be validated before checkout

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

    Purchase Order Number Entry to be validated before checkout

    hi, I have enabled the Purchase Order Number option to appear in the checkout which works fine as I have made it mandatory. We only use the site for registered buyers with accounts.

    what I want to do is for the buyers to enter a PO number that is common across the site and if entered incorrectly against this "stored PO" they cannot commence the checkout. I want to then change the code every month or so.

    Is this possible anyone?

    cheers paul

    #2
    Possible but will need JavaScript coding and a user Variable to store the monthly value. Then you'd add some onsubmit code to the form on that checkout page that checks that the field is filled in and matches the variables value. Returns true if everything OK (so the Cart submission will proceed), pops up a message and returns false if invalid entry detected.
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment

    Working...
    X