New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add shop details support to classic #26832
Conversation
This pull request seems to contain new translation strings. I have summarized them below to ease up review:
(Note: this is an automated message, but answering it will reach a real human) |
Hi @Hlavtox I've tried to test the PR to better understand the context of the wording. But the registration number doesn't appear on the front office with your PR. Is it just me? |
@Julievrz Hi, you must also apply PR from PrestaShop/ps_contactinfo#43. |
Thanks! |
@Julievrz It can't be called "Registration number". For example, in Czech republic, you are required by the law to specify a lot more information, and Contact page is the best way to do it. We should also make line breaks working in this input, or just make it a free HTML. On top of company name, address, phone, email also:
|
Ok, I understand your point. However, when checking PrestaShop websites, it seems that merchants tend to use the "Legal notice" page to display these details. https://www.lechocolatdesfrancais.fr/en/ Anyway, I'm not against keeping "Details:". It's quite generic wording and merchants will still be able to modify it according to their needs. I'm just not sure to understand the difference between this and the legal notice. :-) |
@Julievrz That field was definitely meant to contain more info. It's multiline. It's even written in the helpbox ("Registration information (company ID, VAT number)". I think that line break support or ability to enter HTML should be provided in a separate PR. Also, I randomly checked 4 stores I know from memory, where I buy stuff on regular basis. One of the best stores in their field. All have VAT number and registration info on their contact page. 👍 |
Yes, I totally understand! I think the label in the BO is quite confusing though. We can go for "Company details:" if it suits you. |
Co-authored-by: Julie Varisellaz <70583503+Julievrz@users.noreply.github.com>
@Julievrz Wording applied, I also changed it in BO, can you check? :-) |
Also, added support for line breaks. |
Co-authored-by: Julie Varisellaz <70583503+Julievrz@users.noreply.github.com>
@khouloudbelguith I didn't implement it, I don't think it's needed there... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @Hlavtox, |
Solution: Edit the file /modules/ps_contactinfo/ps_contactinfo.php Then, inside the theme, search for ps_contactinfo.tpl and add " tpl file location in classic theme: Hope it helped =) |
Solution: Edit the file /modules/ps_contactinfo/ps_contactinfo.php Then, inside the theme, search for ps_contactinfo.tpl and add " tpl file location in classic theme: Hope it helped =) |
This change is