Link in short description in product listing

ThemeBurn SupportForumsOpenCart ThemesPavilion OpenCart ThemeLink in short description in product listing

This topic has been marked as not resolved.

Hi,

if I add a link (to the inquiry form) in to the product description, it is ok on product details page, but it is removed in (short) description on product listing on category page. It seems it is “stripped” of all html. I would like the link to be visible on product listing, so customer could click on the link without first going to the product page.
Any suggestions how to keep the link in short description?

January 7, 2015 at 2:29 pm #36400

Hi,

Generally, it is not a good idea not to strip tags from product description. Since it is cut you may end with unclosed html tags and broken layout.

Can’t you put the link separately directly in the listing loop?

BR,
ThemeBurn team

January 9, 2015 at 5:13 pm #36495

Could you please explain what you mean by “put the link separately directly in the listing loop”

BR

January 9, 2015 at 5:38 pm #36505

Hi,

Is the link unique for each product? If it is not, you can directly edit catalog/view/theme/pavilion/template/product/category.tpl and insert it after the thumbnail; right after this code line:

<div class="tb_item_info">

If you give some more details, we can be more specific.

BR,
ThemeBurn team

January 15, 2015 at 3:29 pm #36645
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.