Product custom fields not showing

  • Matj
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
6 years 6 months ago #105250 by Matj
Product custom fields not showing was created by Matj
Hi
As title says, product extra information custom fields not showing on product page. I set in global config to show yes. No overrides, default theme and helix3 template.
Is there any other config?

Please Log in or Create an account to join the conversation.

More
6 years 6 months ago #105270 by Ioannis
Replied by Ioannis on topic Product custom fields not showing
Is your site multi language?

Please Log in or Create an account to join the conversation.

  • Matj
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
6 years 6 months ago #105272 by Matj
Replied by Matj on topic Product custom fields not showing
Yes, two languages.

Please Log in or Create an account to join the conversation.

More
6 years 6 months ago #105273 by Ioannis
Replied by Ioannis on topic Product custom fields not showing
In that case you have to do an extra field for every language that you have.
Something like this (In my example i use English & Greek)
Code:
<?xml version="1.0" encoding="UTF-8"?> <config> <fields name="params"> <fieldset name="basic"> <field name="extrafield_en-GB" type="text" label="Extra Field" size="50" description="Extra Field"></field> <field name="extrafield_el-GR" type="text" label="Extra Field" size="50" description="Extra Field"></field> </fieldset> </fields> </config>

If you need it to be just a marker for some products no matter the language (ex. Per Meter = Yes/No) you need some custom code to get it from the database and process it otherwise it will not show up.
The following user(s) said Thank You: Giang Dinh Truong, Davide, Matj

Please Log in or Create an account to join the conversation.

More
6 years 6 months ago #105274 by Davide
Replied by Davide on topic Product custom fields not showing
Thanks Ioannis, months ago I try this option and I didn't understand why didn't work on my sites and the problem was multi language. Documentation doesn't speak about the language tag extension for name field in XML. Maybe can be useful to have, for multi language site, language flag next to the field in administration to understand for which language is the field. What do you think about that? :)

Please Log in or Create an account to join the conversation.

  • Matj
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
6 years 6 months ago #105292 by Matj
Replied by Matj on topic Product custom fields not showing
Yes, this solved the problem. It realy should be mentioned in docs.

Please Log in or Create an account to join the conversation.

More
6 years 6 months ago - 6 years 6 months ago #105349 by Ioannis
Replied by Ioannis on topic Product custom fields not showing
@Davide
I agree Davide for some reason it's not in the documentation and it would be really helpfull.
Also your language flag suggestion sounds like a good idea.

@Matj
Good to hear this solved your problem mate.
Last edit: 6 years 6 months ago by Ioannis.

Please Log in or Create an account to join the conversation.

  • Giang Dinh Truong
  • Offline
  • Administrator
  • Administrator
More
6 years 6 months ago #105420 by Giang Dinh Truong
Replied by Giang Dinh Truong on topic Product custom fields not showing
Thank you Ioannis!

For all, I just added this into the documentation, please check it at: eshopdocs.joomservices.com/catalog/produ...roduct-custom-fields

Hope that this is useful for other customers.

Sincerely, Giang

Please Log in or Create an account to join the conversation.

Moderators: Giang Dinh Truong