Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: How to put text infront of rate stars?  (Read 3661 times)

Offline demoncho87

  • Newbie
  • *
  • Posts: 23
  • Karma: +2/-0
    • View Profile
How to put text infront of rate stars?
« on: January 30, 2017, 08:31:45 AM »
Like here in pic

Offline Sam_78

  • Sr. Member
  • ****
  • Posts: 270
  • Karma: +42/-1
    • View Profile
Re: How to put text infront of rate stars?
« Reply #1 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...

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4358
  • Karma: +298/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: How to put text infront of rate stars?
« Reply #2 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:

Code: [Select]
if ($average){ ?>
<ul class="rate">

You might need to wrap text with div or span
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

Offline demoncho87

  • Newbie
  • *
  • Posts: 23
  • Karma: +2/-0
    • View Profile
Re: How to put text infront of rate stars?
« Reply #3 on: January 30, 2017, 12:05:16 PM »
thanks i will try it ! Very good forum

 

Powered by SMFPacks Social Login Mod