UnknownDady Posted May 31, 2011 Share Posted May 31, 2011 I am running a store that is all downloadable products, So I do not need my customers Phone number, Address and Date of Birth. How Do I remove these from the Account Creation Page? Thank you Mark Parra Link to comment Share on other sites More sharing options...
shokinro Posted June 1, 2011 Share Posted June 1, 2011 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 More sharing options...
UnknownDady Posted June 1, 2011 Author Share Posted June 1, 2011 I found the specific code in Address.php but not Customer.phpAlso Will adding these dashes with asterix to the beginning and end of the specific code be sufficent to comment it out?Ex./* Message goes here. */ Link to comment Share on other sites More sharing options...
shokinro Posted June 1, 2011 Share Posted June 1, 2011 yes for .php file, you can comment out the code by /* code */.for .tpl file, you can comment out code by {* code *}. Link to comment Share on other sites More sharing options...
UnknownDady Posted June 1, 2011 Author Share Posted June 1, 2011 I still can't get rid of 01.You must register at least one phone number02.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 More sharing options...
UnknownDady Posted June 2, 2011 Author Share Posted June 2, 2011 Moving to OpenCart, does what I need it to do without all the hassle. Thanks Mark Parra Link to comment Share on other sites More sharing options...
shokinro Posted June 2, 2011 Share Posted June 2, 2011 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 More sharing options...
oxkar24 Posted June 12, 2011 Share Posted June 12, 2011 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, passwordI 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 More sharing options...
lokiys Posted July 9, 2011 Share Posted July 9, 2011 So how can remove ''Your address'' in registration process is here anyboby who can explain ? For PrestaShop™ 1.4.3 Link to comment Share on other sites More sharing options...
Joao Marcello Posted July 24, 2011 Share Posted July 24, 2011 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 More sharing options...
Recommended Posts