not all variants custom fields appear

  • Posts: 91
  • Thank you received: 5
7 years 9 months ago #274916

-- HikaShop version -- : 3.1.1
-- Joomla version -- : 3.7.4
-- PHP version -- : 7.0.19
-- Browser(s) name and version -- : Chrome latest

Could you tell me if I do sth wrong: when I add variants for a product that has custom fields, in the variants not all custom fields appear. It's strange but only text custom fields appear in variants in front-end

I just want to keep product info the same for main product and variants, without any need to put the data once again for variants

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

  • Posts: 26232
  • Thank you received: 4035
  • MODERATOR
7 years 9 months ago #274918

Hello,

We would need more information in order to understand completely your issue.
What are these custom fields ? What kind of custom fields do not appear ? Do you have view overrides ?

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 91
  • Thank you received: 5
7 years 9 months ago #275475

Hey, sorry you had to wait.

I attach the screen of my fields in "product" table.

Yes, I have overrides created:
/html/com_hikashop/product/listing.php
/html/com_hikashop/product/carousel.php
/html/com_hikashop/product/show_tabular.php

I observed that values for variants are correctly inherited EXCEPT for check boxes which are blank. That's strange, please help.
I can give you password to my Joomla if that helps.

Attachments:

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

  • Posts: 83799
  • Thank you received: 13570
  • MODERATOR
7 years 9 months ago #275483

Hi,

Could you provide a screenshot of the settings of a checkbox custom field for which the variants don't inherit the value of the main product so that we can have a good example in order to reproduce the issue on our end ?

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

  • Posts: 91
  • Thank you received: 5
7 years 9 months ago #275525

Here it is.

Attachments:

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

  • Posts: 91
  • Thank you received: 5
7 years 9 months ago #275617

We have changed radio/checkbox fields to dropdown and now it works, but the problem in general still exists if we would like to use radio/checkbox.

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

  • Posts: 83799
  • Thank you received: 13570
  • MODERATOR
7 years 9 months ago #275632

Hi,

I tried to reproduce the problem but it works fine for me. The variants properly inherit the value from the main product on the product page for custom product fields of the type "checkbox" with the latest version of HikaShop.

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

Time to create page: 0.064 seconds
Powered by Kunena Forum