Jump to content

How to customize viewcart.tpl so I can remove user fields?


Recommended Posts

I am customizing my checkout cart. I created a duplicate copy of the "modern" directory and made my own cart theme named "modernnew".

 

On the last page where the client enters all their personal details, I only want to have their name, email address, password, and security question. I then commented out all the fields in the "viewcart.tpl" that I did not want to use.

 

However, when a client tries to checkout, they are still asked to enter all the deleted field info with this type of error:

# You did not enter your city # You did not enter your state # You did not enter your postcode

 

How do I adjust the validation of those fields? Are there settings in the WHMCS control panel I am missing?

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated