Jump to content

Make required Mobile Phone Number


drzac2003

Recommended Posts

In the skin template file content.register.php, compare this segment of the form fields for 'phone' and for 'mobile':

id="register-phone" class="textbox required" value="{$DATA.phone}"/> *</span>
id="register-mobile" class="textbox"         value="{$DATA.mobile}"/></span>

Change "textbox" to "textbox required" and add an asterisk before the close span tag.

There will be a similar change to content.profile.php and content.checkout.confirm.php.

 

What is not covered are "quick checkouts" such as PayPal Express, Google Checkouts, and Amazon Payments. These gateways could accept the customer data being supplied by the payment page to fill in the CubeCart customer data. That is, the customer does not fill in the form during checkout, goes to PayPal, pays, then PayPal sends back all the verified customer data (name, address, etc) back to CubeCart. So, if you use any of these "quick checkouts", you will need to configure what data is collected at those other merchant account control panels.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...