Custom fields "Display limited to" display issue

  • Posts: 99
  • Thank you received: 0
6 years 5 months ago #281865

-- HikaShop version -- : 3.2.1
-- Joomla version -- : 2.0.0
-- PHP version -- : 7.1.7
-- Browser(s) name and version -- : CHROME 61.0.3163.100
-- Error-message(debug-mod must be tuned on) -- : Custom fields "Display limited to" display issue

Hello,

- I have a checkbox (plg.hikamarket.vendor) with 7 values (Monday to Sunday)
- I have 7 multiple dropdown (same) with different values AND each one with Restrictions
Display limited to the checkbox name > one day checked for each
.

But I need to check all the checkboxes to display all the multiple dropdown, when I check only one or several checkboxes, nothing, no dropdown is displaying, related the box checked ...
I don't see any JS error in the console,

Can you please help me?

Best,

Last edit: 6 years 5 months ago by Jerome. Reason: remove [size] tag

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

  • Posts: 12953
  • Thank you received: 1778
6 years 5 months ago #281888

Hello,

Firstly, can you show us how you configured your custom fields through some screenshots so that we can understand your issue ?

Thank you.

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

  • Posts: 99
  • Thank you received: 0
6 years 5 months ago #281925

Hello,

In Display > Custom fields, I added 1 checkbox and 7 multiple dropdown:
(Confidential mode)

This message contains confidential information


In the vendor edition (vendor's profile) menu:

This message contains confidential information


I don't see why all the boxes have to be checked to display all the dropdowns since I restricted each dropdown to one box. Should I create one checkbox by dropdown?

Best,

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

  • Posts: 25997
  • Thank you received: 4004
  • MODERATOR
6 years 5 months ago #281981

Hello,

1 - You're not using good values for the checkbox values.
The value should contains a number or a namekey ; since you have some text with uppercase, it is not good and you will have some unwanted side effect.

2 - The "display limited to" is not meant to work like that since it will check that the other field have the exact same value.
In the case of checkbox, since you do not have correct data for the values ; it has the side effect to only display when all elements are checked.
But it won't work like you want since it's not the purpose of that feature. It is mean to "if a textbox is empty or not" or "if a dropdown have that value selected".
You will find other thread in that forum which can talk about that same subject.

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.

Time to create page: 0.072 seconds
Powered by Kunena Forum