- Posts: 7
- Thank you received: 0
Missing filter values in dynamic display mode
11 years 11 months ago - 11 years 11 months ago #180542
by telarian
Missing filter values in dynamic display mode was created by telarian
-- HikaShop version -- : 2.3.4 Business Edition
-- Joomla version -- : 3.3.1
-- PHP version -- : 5.3.10
-- Browser(s) name and version -- : All browsers
Hi I am busy assisting a client in setting up Hikashop on their website.
Currently I am having the following problem with the filter system.
I have created some custom fields for products and am using the filter system to filter the list of products in a table that I have customised to display the values of the custom fields.
I have created separate filters for each of the custom fields.
However when I turn on the dynamic display option for any given filter some of the filter values will randomly disappear even if the list contains an item with that value.
For examples:
If I turn on dynamic display for the Shape filter of which the values are Round, Princess, Emerald, Oval, etc. The Round value will disappear even if the list contains items which have the Round value in its custom field.
I will greatly appreciate any assistance with this problem.
-- Joomla version -- : 3.3.1
-- PHP version -- : 5.3.10
-- Browser(s) name and version -- : All browsers
Hi I am busy assisting a client in setting up Hikashop on their website.
Currently I am having the following problem with the filter system.
I have created some custom fields for products and am using the filter system to filter the list of products in a table that I have customised to display the values of the custom fields.
I have created separate filters for each of the custom fields.
However when I turn on the dynamic display option for any given filter some of the filter values will randomly disappear even if the list contains an item with that value.
For examples:
If I turn on dynamic display for the Shape filter of which the values are Round, Princess, Emerald, Oval, etc. The Round value will disappear even if the list contains items which have the Round value in its custom field.
I will greatly appreciate any assistance with this problem.
Last edit: 11 years 11 months ago by telarian.
Please Log in or Create an account to join the conversation.
11 years 11 months ago #180565
by nicolas
Replied by nicolas on topic Missing filter values in dynamic display mode
Hi,
Could you provide a screenshot of the options of that filter and one of the options of its corresponding custom field so that we can see how you configured them ?
Could you provide a screenshot of the options of that filter and one of the options of its corresponding custom field so that we can see how you configured them ?
Please Log in or Create an account to join the conversation.
11 years 11 months ago #180608
by telarian
Replied by telarian on topic Missing filter values in dynamic display mode
Hi Nicolas
I have included 4 screenshots.
Front1: Dynamic display is disabled. Here you can see the values Round, VVS1, VVS2 and F visible in the selection boxes.
Front2: Dynamic display enabled. Here you will notice that the values Round, VVS1, VVS2 and F are missing from the selection boxes. There are however items in the list below that contains these values.
Back1: Setup for the Clarity custom field.
Back2: Setup for the Clarity filter.
Also note that all products have been uploaded from a CSV spreadsheet directly into the root product folder.
I have included 4 screenshots.
Front1: Dynamic display is disabled. Here you can see the values Round, VVS1, VVS2 and F visible in the selection boxes.
Front2: Dynamic display enabled. Here you will notice that the values Round, VVS1, VVS2 and F are missing from the selection boxes. There are however items in the list below that contains these values.
Back1: Setup for the Clarity custom field.
Back2: Setup for the Clarity filter.
Also note that all products have been uploaded from a CSV spreadsheet directly into the root product folder.
Please Log in or Create an account to join the conversation.
11 years 11 months ago #180694
by nicolas
Replied by nicolas on topic Missing filter values in dynamic display mode
Hi,
Could you provide a backend access so that we can activate the debug and look at the queries generated by the filter system on your website to get more information on the issue ?
You can do that via our contact form:
www.hikashop.com/support/contact-us.html
Please include a link to this thread.
Could you provide a backend access so that we can activate the debug and look at the queries generated by the filter system on your website to get more information on the issue ?
You can do that via our contact form:
www.hikashop.com/support/contact-us.html
Please include a link to this thread.
Please Log in or Create an account to join the conversation.
11 years 11 months ago #180919
by nicolas
Replied by nicolas on topic Missing filter values in dynamic display mode
Hi,
Please replace the file administrator/components/com_hikashop/classes/filter.php with the one in the archive below and see if that helps.
If not, please provide a FTP access via our contact form so that we can look further into the issue on your website.
Please replace the file administrator/components/com_hikashop/classes/filter.php with the one in the archive below and see if that helps.
If not, please provide a FTP access via our contact form so that we can look further into the issue on your website.
This attachment is hidden for guests.
Please log in or register to see it.
Please log in or register to see it.
Please Log in or Create an account to join the conversation.
11 years 11 months ago #180931
by telarian
Replied by telarian on topic Missing filter values in dynamic display mode
Hi Nicolas
I have uploaded and replaced the old filter.php file as requested but it still have not made any difference to the problem. I will forward your the FTP details via your contact form.
I have also noticed a second issue, relating to the "Cursor steps" of the cursor filter. Should I open a new topic for this issue or can I also post it here?
Regards
Stephan
I have uploaded and replaced the old filter.php file as requested but it still have not made any difference to the problem. I will forward your the FTP details via your contact form.
I have also noticed a second issue, relating to the "Cursor steps" of the cursor filter. Should I open a new topic for this issue or can I also post it here?
Regards
Stephan
Please Log in or Create an account to join the conversation.
11 years 11 months ago #180959
by nicolas
Replied by nicolas on topic Missing filter values in dynamic display mode
Hi,
The problem was that you had configured your products with "VVS1 " and "VVS2 " instead of "VVS1" and "VVS2" as in the custom field values. So the filtering system couldn't find the relation and was not discarding them.
I simply saved again these products with the correct value selected in the custom field and the VVS1 and VVS2 values then appeared in the filter.
You can explain your issue with the cursor steps here.
The problem was that you had configured your products with "VVS1 " and "VVS2 " instead of "VVS1" and "VVS2" as in the custom field values. So the filtering system couldn't find the relation and was not discarding them.
I simply saved again these products with the correct value selected in the custom field and the VVS1 and VVS2 values then appeared in the filter.
You can explain your issue with the cursor steps here.
Please Log in or Create an account to join the conversation.
11 years 11 months ago #181057
by telarian
Replied by telarian on topic Missing filter values in dynamic display mode
Hi Nicolas
I apologise for the time you had to spend on this. The additional spaces were in the CSV file that was uploaded to populate the products.
Regarding the cursor steps, I have setup the “Carat” filter with a decimal step value of 0.1. On the front end when I drag the cursor it indicates the decimal value but when I have made my selection it will jump back to the closest non-decimal value.
For example if I, for instance, select 1.4 with the cursor and the page refreshes it will jump back to 1. It will then also filter the resulting list from 1 upwards instead of 1.4 upwards.
I apologise for the time you had to spend on this. The additional spaces were in the CSV file that was uploaded to populate the products.
Regarding the cursor steps, I have setup the “Carat” filter with a decimal step value of 0.1. On the front end when I drag the cursor it indicates the decimal value but when I have made my selection it will jump back to the closest non-decimal value.
For example if I, for instance, select 1.4 with the cursor and the page refreshes it will jump back to 1. It will then also filter the resulting list from 1 upwards instead of 1.4 upwards.
Please Log in or Create an account to join the conversation.
11 years 11 months ago #181210
by nicolas
Replied by nicolas on topic Missing filter values in dynamic display mode
Hi,
I see what you mean. Decimals are indeed not supported for cursors.
I've added that capability.
I see what you mean. Decimals are indeed not supported for cursors.
I've added that capability.
Please Log in or Create an account to join the conversation.
11 years 11 months ago #181255
by telarian
Replied by telarian on topic Missing filter values in dynamic display mode
Hi Nicolas
I have checked it and all is working fine now. Thank you for all your assistance.
I have checked it and all is working fine now. Thank you for all your assistance.
Please Log in or Create an account to join the conversation.
Time to create page: 0.109 seconds