diegomilito
VP-CART Expert
  
Argentina
779 Posts |
Posted - October 23 2018 : 02:46:14
|
try my solution------> i hope it will help you
i take example, shipping field ''Ship to name'', if you want this mandatory
file shopcustomerform.asp and search this coding:
CreateFieldSetRow GetLang("langShipName"),"shipname", strshipname,"No","" you must change with below CreateFieldSetRow GetLang("langShipName"),"shipname", strshipname,"Yes",""
next file shop$common_checkout.asp, locate sub ValidateCustomerFields you will have to put this new coding:
if strshipname = "" then SError = SError & GetLang("langShipName") & GetLang("langCustRequired") & "<br />" session("serror_shipname") = "yes" end if
you can of course implement what i suggested above to any other shipping fields you consider to be a mandatory.
best, diego |
 |
|