Jump to content

Required User Information Removal


Recommended Posts

you will need to change too classes to remove required fields. You can comment it out.

   protected    $fieldsRequired = array('id_country', 'alias', 'lastname', 'firstname', 'address1', 'city');



/classes/Customer.php
/classes/Address.php

Link to comment
Share on other sites

I still can't get rid of

01.You must register at least one phone number
02.Zip/ Postal code is required.

Are these in different files?

Also I would like to get rid of the whole "Your Address" Section on the Account Creation Page including the Date of Birth Section right above it.
How would I go about this?

Thank You for your help
Mark Parra

Link to comment
Share on other sites

Moving to OpenCart, does what I need it to do without all the hassle.

Each cart has its pros and cons. If you think OpenCart can 100% meets your needs, then you can move to it.
But I guess you may face different issue or you have different needs can not be met.

You can check following thread to find out more infomration about how to deal with required phone number.
http://www.prestashop.com/forums/viewthread/100841/

Also I would like to get rid of the whole “Your Address” Section on the Account Creation Page including the Date of Birth Section right above it

For theme file, I suggest you to use following as attribute of tag to hide it instead of comment it out.
otherwise, you may break some javascript code.

style="display:none;" 



Use free software, you need be patient and passionate.

Link to comment
Share on other sites

  • 2 weeks later...

Hi there, people:
I am basically in the same position. Have a downloadable products shop and I want to remove address and phone, so just leave the simple way.
Name, Surname, email, password
I ve been reading around and looks that is not that easy and the most important, the need to edit a few .tpl, .php...So no very update friendly either.
I mean I've done alredy a few .tpl changes but I prefer to avoid. Clearly, prestashop is in any way friendly for this.
Been thinking:
Would be possible to give a "default value", lets say to phone, address, address2, country......
and set the

not to show in order-op-new-account.tpl , something like "style="display:none;"
So, I would end up with all my customers having the trelephone number "0000000000", address "not needed", country "no" and so on.
I've been going round for a while about this problem but I know nothing about this.
Does it sound "logic" and possible to someone who knows?
For sure It would be much more friendly with PS?
Hope I made myself clear.
All the best, people. I await your advice


{l s='Address (Line 2)'}
                   <input type="text" class="text" name="address2" id="address2" value="" />

Link to comment
Share on other sites

  • 4 weeks later...
  • 2 weeks later...

So how can remove ''Your address'' in registration process is here anyboby who can explain ? <br/>For PrestaShop™ 1.4.3

 

 

Create a DIV to "cover" everything you want to hide, instead of using display:none in every <p>, like:

 

<div id="anyname_here" style="display: none;">

the content you want to be hidden

</div>

Link to comment
Share on other sites

×
×
  • Create New...