Tagged: product list
Hi,
I have an issue where the Product List formatting is messed up if using links within the product description – even when the description is hidden.
I have the description hidden within the product list using .av-catalogue-content {display:none;}
But if there are links in the description the product title and price appears on the line below the thumbnail where all other products (without links) are on the same line.
I can see with inspector that the a tag appears to be closed then reopened but can’t see a resolution. I guess a way of cleansing the content of description within the Product List is needed, despite the fact I’m not showing it?
Hey Steve,
Thanks for contacting us!
Could you please share a link of your page where we can see the issue? I checked your pages however could not find it.
Best regards,
Yigit
Hi Yigit
Thank you for your attention.
I’ve added a link to the page with the Product List on to the Private Content
Hey,
Please go to /enfold/config-templatebuilder/avia-shortcodes/productslider/ and copy productslider.php file into your child theme inside /shortcodes/ folder and then replace the content with following – https://pastebin.com/W5A6gDMT. After that, please add following code to bottom of functions.php file if your child theme
add_filter('avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1);
function avia_include_shortcode_template($paths)
{
$template_url = get_stylesheet_directory();
array_unshift($paths, $template_url.'/shortcodes/');
return $paths;
}
If you would like us to apply the changes for you, please post FTP logins here privately as well :)
Best regards,
Yigit
Perfect, thank you Yigit,
Is this planned to be part of a future update at all as I have experienced it on a previous site but removed links from within the product description as a workaround.
Hi,
You are welcome!
I will report it to our devs. You can follow up upcoming changes here – https://kriesi.at/support/topic/enfold-upcoming-fixes/ :)
Let us know if you have any other questions and enjoy the rest of your day!
Best regards,
Yigit