Jump to content

Adjusting the star rating position on category display


Recommended Posts

Hi could anyone help with changing the display position of the 'star rating on the category view when a product has comments from img A to img B (please see images).

The way it displays now is above the price and add to cart buttons which on smaller displays like a tablet screws up the page display (aesthetically speakingif other products in the same line don't have reviews. I would like the ratings to be below the add to cart buttons so they still appear in a straight line.

I think the attached images explain it a little better.

Any help would be excellent.

Thank you.

Prestashop 1.6.0.5

default theme

http://www.lust.co.uk/testsite/126-star-wars

post-310015-0-60699900-1395427164_thumb.jpg

post-310015-0-50445700-1395427171_thumb.jpg

Link to comment
Share on other sites

Go to your themes folder and open product-list.tpl.

 

Find this line of code:

{hook h='displayProductListReviews' product=$product}

and move it right before this code:

{if isset($product.color_list)}
	<div class="color-list-container">{$product.color_list} </div>
{/if}
  • Like 1
Link to comment
Share on other sites

 

Go to your themes folder and open product-list.tpl.

 

Find this line of code:

{hook h='displayProductListReviews' product=$product}

and move it right before this code:

{if isset($product.color_list)}
	<div class="color-list-container">{$product.color_list} </div>
{/if}

This worked perfectly, many thanks for the help dioniz! :)

Link to comment
Share on other sites

  • 5 months later...

This worked perfectly, many thanks for the help dioniz! :)

 

Hi , I need your help, i would like to display the star rating without the need to move my mouse on it.. and i would also like "free shipping" text to appear on each product that have free shipping..

 

the hover display should remain same.. but i need these change before hover.. check on photo how it should be.. can you help plz?

Edited by Uzzy (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...