Filter show products variants that are disabled
8 years 2 months ago #298106
by renem
Filter show products variants that are disabled was created 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
-- 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
Replied by nicolas on topic Filter show products variants that are disabled
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.
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
Replied by renem on topic Filter show products variants that are disabled
Hi Nicolas,
I activated the dynamic display setting but this does not solve the problem.
Kind regards René Mulder
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
Replied by nicolas on topic Filter show products variants that are disabled
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 ?
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
Replied by renem on topic Filter show products variants that are disabled
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
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
Replied by Philip on topic Filter show products variants that are disabled
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
Replied by renem on topic Filter show products variants that are disabled
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
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
Replied by nicolas on topic Filter show products variants that are disabled
Hi,
Try changing the line:
to:
in the file administrator/components/com_hikashop/classes/filter.php and that should help.
Try changing the line:
Code:
$query .= ' WHERE product_parent_id IN ('.implode(',',$option_pid).')';
Code:
$query .= ' WHERE product_parent_id IN ('.implode(',',$option_pid).') AND product_published > 0';
Please Log in or Create an account to join the conversation.
8 years 2 months ago #298215
by renem
Replied by renem on topic Filter show products variants that are disabled
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
Replied by nicolas on topic Filter show products variants that are disabled
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
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.
Less
More
- Posts: 12953
- Thank you received: 1778
8 years 1 month ago #298336
by Mohamed Thelji
Replied by Mohamed Thelji on topic Filter show products variants that are disabled
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.
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
Replied by renem on topic Filter show products variants that are disabled
Hi Mohamed,
This fix looks promising, thanks in advance.
Regards René
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