Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1304705

    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?

    Product list formatting

    #1304913

    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

    #1304916

    Hi Yigit

    Thank you for your attention.

    I’ve added a link to the page with the Product List on to the Private Content

    #1304942

    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

    • This reply was modified 3 years, 5 months ago by Yigit.
    #1304950

    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.

    #1305064

    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

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Product List formatting issue when product description contains links’ is closed to new replies.