Jump to content
thirty bees forum

After placing a product on sale <p> tags appear frontside search


jong

Recommended Posts

After placing an item on sale the <p>paragraph</p> tags appear around the name of my product id on the frontside within search results. Flow....BO->products-->search product->click edit next to product->prices->specific prices->add new specific price->then I apply a discount by percentage as well as set the calendar range for the sale and save. After these steps any product that has had a specific price rule applied to it has the <p>paragraph</p> tags around it in the search results. How do we avoid this? We know how to fix it. 

Here is an example.

https://www.outletshirts.com/search?controller=search&orderby=position&orderway=desc&search_query=PC149Y

 

Edited by jong
tags
Link to comment
Share on other sites

12 hours ago, colorful-ant said:

i think you have double <p><p>text</p></p>

<p class="pro_list_manufacturer"><p>PC149Y<p/> - Port & Company</p>

 

check your product html text - mark the text "PC149Y" use "strg+shift+i"

<p><p>text</p></p> is perfectly legal html and shouldn't show the second p as unprocessed html.

I assume PC149Y comes from the description or short description field and those fields are enclosed by <p>

Of course this is easy to work around. But the root of the problem is a riddle for me.

Edited by musicmaster
Link to comment
Share on other sites

22 hours ago, yaniv14 said:

The problem is that the 2nd <p> is being escaped (its probably the value itself).

this is how it looks in the html.


<p class="pro_list_manufacturer">&lt;p&gt;PC149Y&lt;/p&gt; - Port &amp; Company</p>

 

That looks like the html was entered in something like TinyMCE and converted by the program.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...