Jump to content

maybe a bug found.


Reace
 Share

Recommended Posts

Hi there,

basically I have found a small bug in the 'all products' view.

looking at it now , I can see that the botton's and text should be on the right-hand-side of each item.

what is causing this?... css..

32015_1cTxSMU3Z7om9ceIctts_t

32016_VJNd90hE50cavkLiuB98_t

Share this post


Link to post
Share on other sites

I've never noticed this issue myself. Did you change the width of the center column? It's hard to help without actually looking at your code, but my guess would be that you need to adjust the following code on line 1449 of global.css (in PrestaShop v1.3.2):

ul#product_list li div.center_block {
   float: left;
   width: 74%
}
ul#product_list li div.right_block {
   float: left;
   width: 11em;
   text-align: right;
   margin-left: 1em;
   margin-top: 0
}



Try adjusting the widths until the problem goes away.

Share this post


Link to post
Share on other sites

this is with the default template , I have not edited anything as yet.

is there a template builder or plugin for DW for use with this cart?.

only removed the items from the cart and added new one's

I am noticing a few odd things , that I will recheck after a new install (without items)

also I will see if this happens again.

Share this post


Link to post
Share on other sites

The bug is caused when having HTML tags in the description. It's in the product_list.tpl...

                
{$product.description_short|truncate:360:'...'|strip_tags:'UTF-8'}



If you change it to the older code of

                
{$product.description_short|strip_tags:'UTF-8'|truncate:360:'...'}



Need to strip the HTML tags before truncating the text, for some reason it was switched around

Share this post


Link to post
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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More