Home › Forums › WoodMart support forum › Quick View doesn't work
Quick View doesn't work
- This topic has 5 replies, 3 voices, and was last updated 4 years, 9 months ago by
Artem Temos.
-
AuthorPosts
-
February 23, 2021 at 5:14 am #268556
kleienParticipantHi Team!
I am faced with a situation that when I add an elementor popup button to the short description of a product, then quick view (on Shop Page) for that particular product does not work.
So, for example, on my shop page (on my development site):
– Product1 (Classic wooden chair) – popup button added in short description. Quick View for this product does not work
– Product2 (Glasses) – popup button does not added in short description. Quick View for this product work perfectly.I want to use popup button in short descriptions of products. Can you help me with this?
February 23, 2021 at 8:14 am #268585
Aizaz Imtiaz AwanKeymasterHello,
It is a bug in our theme. We have fixed it on your website and this bug will be fixed in our next update.
Best Regards
February 24, 2021 at 6:06 am #268846
kleienParticipantThank you!
Can you tell me, what i need to do, to resolve the same problem on my production site?
February 24, 2021 at 7:12 am #268856
Artem TemosKeymasterTry to add the following PHP code snippet to the child theme functions.php file to do this
function woodmart_get_elementor_html_blocks_array() { $output = array(); $posts = get_posts( array( 'posts_per_page' => 500, // phpcs:ignore 'post_type' => 'cms_block', ) ); $output['0'] = esc_html__( 'Select', 'xts-theme' ); foreach ( $posts as $post ) { $output[ $post->ID ] = $post->post_title; } return $output; }February 25, 2021 at 4:37 pm #269293
kleienParticipantAfter added this code the site does not work at all. The message is the next: “A critical error has occurred on the site.”
February 26, 2021 at 8:02 am #269399
Artem TemosKeymasterPlease, send us your website admin and FTP access so we can check. Maybe you have added the code to the wrong place or have some different error there.
-
AuthorPosts
Tagged: quickview
- You must be logged in to create new topics. Login / Register
