AbanteCart Community

AbanteCart Development => Customization help => Topic started by: demoncho87 on January 30, 2017, 08:31:45 AM

Title: How to put text infront of rate stars?
Post by: demoncho87 on January 30, 2017, 08:31:45 AM
Like here in pic
Title: Re: How to put text infront of rate stars?
Post by: Sam_78 on January 30, 2017, 10:43:56 AM
Hi,
For this you need to change the images in folder storefront\view\default\image  Add what ever text you want in front of stars and save it with same name...
Title: Re: How to put text infront of rate stars?
Post by: abantecart on January 30, 2017, 10:48:10 AM
You need to edit this template file:
https://github.com/abantecart/abantecart-src/blob/master/public_html/storefront/view/default/template/pages/product/product.tpl

Put your text before line:


if ($average){ ?>
<ul class="rate">


You might need to wrap text with div or span
Title: Re: How to put text infront of rate stars?
Post by: demoncho87 on January 30, 2017, 12:05:16 PM
thanks i will try it ! Very good forum