This topic has 4 replies, 2 voices, and was last updated 5 months, 3 weeks ago ago by Andrew Mitchell
Hello, I hope you are well
I wrote a function code for the size filter on my previous site, which was an x-store theme
For example, clothes whose size 46 is sold out were not displayed when size 46 was filtered
It means that the non-existent size was not displayed
But now I am using Elementor and this function does not work
Is it possible to help me rewrite it? I don’t know exactly, but I think it should be an alternative hook
I put the code in private
Hello, MAHDAR,
We have noticed that it is currently not possible to activate the child theme. It appears that modifications have also been made to the parent theme. Please address this issue so that we can proceed further.
Additionally, we strongly advise against making changes to the parent theme, as any alterations will be lost upon updating.
Thank you for your attention to this matter.
Best Regards,
8Theme’s Team
The child theme is activated
Hello, MAHDAR
We have thoroughly analyzed the issue you reported and have identified a solution. To resolve the problem, please replace the current hook:
add_action( ‘woocommerce_before_shop_loop_item_title’, ‘wk_out_of_stock_variations_loop’, ‘etheme-product-grid etheme-product-grid-bordered’ );
with the following:
add_action( ‘after_etheme_product_grid_list_product_element_title’, ‘wk_out_of_stock_variations_loop’, 101 );
Should you require any further assistance, please do not hesitate to contact us.
Best Regards,
The 8Theme Team
You must be logged in to reply to this topic.Log in/Sign up