Skip to main content

Filter show products variants that are disabled

8 years 2 months ago #298106 by renem
-- HikaShop version -- : 3.5.1
-- Joomla version -- : 3.8.2
-- PHP version -- : 7.2

Hi,

Even when a product variant is disabled the filter shows these products. I think this is a bug.

Regards René Mulder

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

8 years 2 months ago #298112 by nicolas
Hi,

Did you activate the "dynamic display" setting of your filter ?
If not, the filter will display all the possible values of the characteristic. Only if you have that option activated it will check with the values used in the variants to not display the ones that aren't used.

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

8 years 2 months ago #298152 by renem
Hi Nicolas,

I activated the dynamic display setting but this does not solve the problem.

Kind regards René Mulder

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

8 years 2 months ago #298153 by nicolas
Hi,

Can you provide a link to the page with the filter and a screenshot of the settings of the filter so that we can have a look at the situation ? Can you also tell us which value shouldn't be here ?

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

8 years 2 months ago #298158 by renem
Hi NIcolas,

I made a screen recording so you can see it for yourself.

take.ms/mNq0S

Also attached the Inhoud setting for the filter.


Kind regards René Mulder

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

8 years 2 months ago - 8 years 2 months ago #298162 by Philip
Hello,

Can you add your product variant listing screenshot like this :



And can you as asked by Nicolas provide an Url link with filter in order to process some tests by ourself ?
Awaiting news from you.

Regards
Last edit: 8 years 2 months ago by Philip.

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

8 years 2 months ago #298193 by renem
Hi,

This is the link to the side: verfgoedkoper.nl/

On the left sidebar select the filter: Inhoud 5 liter.

After filtering klick on the option for the product: DE PAREL VERFIJN STEIGERHOUTBEITS
Than you can't select the 5 Liter option. (it makes sense because it's disabled.

The product variation shows these values:



The 5 Liter values is disabled.

You can see the dynamic filter option is turned on for the inhoud filter.

Kind regards René Mulder

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

8 years 2 months ago #298194 by nicolas
Hi,

Try changing the line:
Code:
$query .= ' WHERE product_parent_id IN ('.implode(',',$option_pid).')';
to:
Code:
$query .= ' WHERE product_parent_id IN ('.implode(',',$option_pid).') AND product_published > 0';
in the file administrator/components/com_hikashop/classes/filter.php and that should help.

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

8 years 2 months ago #298215 by renem
Hi, I changed the line but no difference.

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

8 years 1 month ago #298265 by nicolas
Hi,

Then please provide a backend access, a FTP access and a link the page with the filter so that we can reproduce the problem.
You can send that along with a link to this thread via our contact form here:
www.hikashop.com/support/contact-us.html

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

8 years 1 month ago #298336 by Mohamed Thelji
Hello,

Thank you for your FTP access, we just released a new patch regarding that issue and directly applied it on your website. Can you test it again on your website and see if it fixed your issue ? Thank you !

Kind regards,
Mohamed Thelji.

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

8 years 1 month ago #298339 by renem
Hi Mohamed,

This fix looks promising, thanks in advance.

Regards René

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

Time to create page: 0.088 seconds
Powered by Kunena Forum