Problems using custom fields for product pages

  • Posts: 155
  • Thank you received: 7
  • Hikashop Business
8 years 9 months ago #245708

-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.6.0
-- PHP version -- : 5.6.23
-- Browser(s) name and version -- : Chrome 51.0.2704.103 (64-bit)

I have never had this problem before, and I use custom fields on product pages all the time. I tend to use them to show specific formatted information about the product. In this case the products are courses, and I am needing to display credit hours, availability of the course, and who is eligible.

This is a very simple task and one i have done hundreds of times without issues. However this time all I am having is issues.

I created the first field, of type product, and no matter what I could not get it to display on the back end product page so that I could populate the values of it. I deleted it, recreated it, changed settings on it, nothing worked. For grins I created the second field, and suddenly the first field was showing, but not the second field.

At this point I thought that maybe there was a bug and it was only displaying N-1 of the total number of custom product fields. So I immediately created the other needing fields and added a 4th one that was a dummy field.

When I checked only the first field I added was visible on both the front end and back end. The other fields were just not displaying at all. The settings of all 4 fields are EXACTLY the same.

I am stumped. As I said I have done this hundreds of times with no issue at all, and now suddenly I have issues. The only real different with this setup is that I am running on Joomla 3.6.

Has anyone else had this issue and solved it? Any thoughts on how I approach debugging this?

Any help at all would be appreciated. Thank you.

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

  • Posts: 83604
  • Thank you received: 13536
  • MODERATOR
8 years 9 months ago #245713

Hi,

Regarding the frontend display on the product page, the field will only display if:
- the custom field is enabled
- is in a category of the product or assigned to the product
- its product page display option is activated
- there is a value selected/entered in the product for that field
Regarding the backend edition page, it will display if:
- the custom field is enabled
- is in a category of the product or assigned to the product
- its backend edition page display option is activated
- the product has been saved once
So first I would check that.
Also make sure that you have the latest build of the 2.6.3 by downloading it and installing it on your website. We've added a few patchs to the custom fields system since the release of the 2.6.3. I don't think that it would change anything for the backend however.
I would also proceed methodically and first not set products/categories restrictions so that it would display for all the products and see if that works ok with "display limited to", etc. Then, I would try by assigning the product directly, and then I would try with a directly linked category, and finally with a parent category of a category of the product. That way, you can see what happens.

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

Time to create page: 0.053 seconds
Powered by Kunena Forum