Names Posted April 18, 2014 Share Posted April 18, 2014 PS 1.6 I am confused. It seems when I make any changes in Backend>Localization>countries ..It has no effect on the account-creation process???? Why? I would simpley like company name field availible to all customers if they wish. I have now SIRET and APE which nobody in my country would even understand.... Thanks!!!! Link to comment Share on other sites More sharing options...
Jadzia Posted April 18, 2014 Share Posted April 18, 2014 PS 6.1 I'm having the same issue. I thought that the SIRET and APE are supposed to change to the USA version. But so far cannot figure out how. Any help would be great! Link to comment Share on other sites More sharing options...
tdr170 Posted April 19, 2014 Share Posted April 19, 2014 Try go to Localization, Translations and update the translations, if that does not seem to work edit the Front office translations and look though the fields for Company and in the box on the right type Company again this should ensure the translation. I looked at mine and Company had the translation Company. 1 Link to comment Share on other sites More sharing options...
Names Posted April 19, 2014 Author Share Posted April 19, 2014 Company shows up fine if B2B is enabled. the issue is with SIRET and APE... I don't even know what these are and neither would any of my customers. They should not be there. How do I get rid of them????? Or even better show the company field on registration without B2B enabled.... Link to comment Share on other sites More sharing options...
tdr170 Posted April 19, 2014 Share Posted April 19, 2014 Can you post a link to the shop so I can see first hand as I personally have never seen those words in registration. Link to comment Share on other sites More sharing options...
Names Posted April 19, 2014 Author Share Posted April 19, 2014 Sure thing.. and here is a screen shot of back office area where I thought i could change these settings, but alas, either I dont understand how to use it, or its buggy. Really would love an answer on this one. WWW.allcrests.com Link to comment Share on other sites More sharing options...
vekia Posted April 19, 2014 Share Posted April 19, 2014 if you want to modify register form from back office - you have to apply changes for each available country, did you change them (countries settings) in that way? Link to comment Share on other sites More sharing options...
Jadzia Posted April 19, 2014 Share Posted April 19, 2014 I only have United States showing when I go to Localization -> Countries. Nothing I edit in there will get rid of the SIRET and APE fields on the customer registration form. If they are only for France what are they doing in the USA registration form? 1 Link to comment Share on other sites More sharing options...
Names Posted April 20, 2014 Author Share Posted April 20, 2014 Ok just to confirm, I deleted ALL countries. Now I cannot add ANY countries!!! And the Registration form has not changed at all, so either this in NOT the area that needs modified, or the code is buggy.... Please help me get the countries back... See the error in the screenshot, no matter what address format I use it wont save.... help Link to comment Share on other sites More sharing options...
tdr170 Posted April 20, 2014 Share Posted April 20, 2014 OK so lets look at a couple of things first in the countries you editing at the very bottom is the Do you need tax identification number enabled, second in Modules, Taxes & invoicing do you have the European vat module installed Basically SIRET is a company identity number or I am assuming a VAT check that all instances of VAT are disabled. Link to comment Share on other sites More sharing options...
Names Posted April 20, 2014 Author Share Posted April 20, 2014 European VAT number v1.5 - by PrestaShop Is not installed... I now have no countries installed at all and am unable to do so. Link to comment Share on other sites More sharing options...
tdr170 Posted April 20, 2014 Share Posted April 20, 2014 Well I hope you are familiar with the MYSQl part of the database as you will need to import the file attached to the database this will put the countries back, as this is from my 1.6 the counties that are enabled/disabled will most likely be different then what you had so you will need to reedit the countries. You can open this file and copy the contents and paste in the SQL text area of the database or change the extention to.sql and use the import feature of the database. country.txt Link to comment Share on other sites More sharing options...
Names Posted April 20, 2014 Author Share Posted April 20, 2014 (edited) Drop it all in request? What is the name field for at the top? Sorry to be clear I am looking at PS SQL manager Edited April 20, 2014 by Names (see edit history) Link to comment Share on other sites More sharing options...
tdr170 Posted April 20, 2014 Share Posted April 20, 2014 Go to the database you should see a page that shows the tables on the left click on the main heading or database name that shows at the top then click on import if you changed the extension or click on SQL to paste the code in a text box area. either way will work the same. Link to comment Share on other sites More sharing options...
Names Posted April 20, 2014 Author Share Posted April 20, 2014 (edited) Ok Yes I just used phpMyadmin and imported as .SQL but I still have no countries. And yes I have used this function a fair amount..... Import has been successfully finished, 739 queries executed. (country-2.sql) Edited April 20, 2014 by Names (see edit history) Link to comment Share on other sites More sharing options...
tdr170 Posted April 20, 2014 Share Posted April 20, 2014 Can you check you database and tell me what the first two letters of the tables are PS - PR ??. Also do a ctrl+f5 refresh of the BO and tell me what you see. Link to comment Share on other sites More sharing options...
Names Posted April 20, 2014 Author Share Posted April 20, 2014 (edited) Um yea that would be the issue..... So that last query, did it write these new ps_ tables in there somewhere? Edit: Yes it added......Do I just delete all tables with ps_ to clean it up????????? And how do I get them without the ps_ Thank you for your time...... I am understanding this I think....... Edited April 20, 2014 by Names (see edit history) Link to comment Share on other sites More sharing options...
tdr170 Posted April 20, 2014 Share Posted April 20, 2014 First take a look at you settings.inc.ini file in the config folder and see if it shows a PREFIX mine is shown below. define('_DB_PREFIX_', 'ps_'); Link to comment Share on other sites More sharing options...
Names Posted April 20, 2014 Author Share Posted April 20, 2014 No , I set mine up with no prefix. define('_DB_PREFIX_', ''); Link to comment Share on other sites More sharing options...
tdr170 Posted April 20, 2014 Share Posted April 20, 2014 Here is a new file without PREFIX: country.txt Link to comment Share on other sites More sharing options...
Names Posted April 20, 2014 Author Share Posted April 20, 2014 Thank you. Wrong talbes dropped. New tables added. Countries set up as per my liking. Now, where were we. This area of the prestashop office obviously has no effect on the Registration for whatsoever???? And again European VAT number v1.5 - by PrestaShop Is not installed... And also again.....Thank you for your time. Link to comment Share on other sites More sharing options...
tdr170 Posted April 20, 2014 Share Posted April 20, 2014 OK so after a little research I did find that the Siret and Ape are part of the B2B, I also do not unserstand why Company field will not show up regardless of how you add it to the Address fields in the Country edit. So the best I can do to have a company field is to enable B2B, then to not have the Siret and Ape I edited the authentication.tpl file and removed the lines below at lines 513 - 520. Have you ever placed a bug report on the forge as this should probably be reported as a possible bug. <p class="form-group"> <label for="siret">{l s='SIRET'}</label> <input type="text" class="form-control" id="siret" name="siret" value="{if isset($smarty.post.siret)}{$smarty.post.siret}{/if}" /> </p> <p class="form-group"> <label for="ape">{l s='APE'}</label> <input type="text" class="form-control" id="ape" name="ape" value="{if isset($smarty.post.ape)}{$smarty.post.ape}{/if}" /> </p> 1 Link to comment Share on other sites More sharing options...
Names Posted April 20, 2014 Author Share Posted April 20, 2014 I found multiple threads like this one http://www.prestashop.com/forums/topic/259923-remove-siret-ape-fields-from-b2b-registration/ Vekia addressed the issue to no resolution.... Its been around for awhile....... Wouldn't you think the moderators of these forums would handle bug submissions? As a simple user I would not be able to determine a bug or not. But with the lack of response I get the feeling i am back at ZenCart Just a simple, Yes its a bug we are working on it-----Or no its not a bug check your setting.....Would go along way But alas, I will mod my core code to make thing look proper. I only worry about puchased moduales failing due to alterations like these. It would also help it people would not mark threads as solved, when really they are just hacked Thanks again friend..... @ Jadzia Yes this works fine just comment it out in case needed later Link to comment Share on other sites More sharing options...
Names Posted April 22, 2014 Author Share Posted April 22, 2014 And somehow trying to get this issue resolved I have broken a pretty important feature in my shop...... If you could take a look at these screenshots and venture a guess as to what might be happening.... http://www.prestashop.com/forums/topic/325292-can-not-add-new-address/?do=findComment&comment=1[spam-filter]84 I am about ready to do a fresh install but would love to avoid it....... I have already undone all the file edits I did, and turned the b2b feature back off..... Link to comment Share on other sites More sharing options...
Jadzia Posted April 24, 2014 Share Posted April 24, 2014 Thank you, I will comment out that code! Cheers, Jadzia Link to comment Share on other sites More sharing options...
Recommended Posts