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

Support AbanteCart eCommerce

Author Topic: Sale image  (Read 2356 times)

Offline psopa

  • Newbie
  • *
  • Posts: 26
  • Karma: +3/-0
    • View Profile
Sale image
« on: September 05, 2013, 02:48:41 PM »
It would be nice to have the possibility to change the sale image, depending on language chosen

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4153
  • Karma: +251/-9
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: Sale image
« Reply #1 on: September 05, 2013, 02:56:05 PM »
This can be added to language as translatable variable.
We need your help to build better free open source eCommerce platform for everyone.
See how you can help

Offline psopa

  • Newbie
  • *
  • Posts: 26
  • Karma: +3/-0
    • View Profile
Re: Sale image
« Reply #2 on: September 06, 2013, 10:09:33 AM »
any pointing directions on how to do it?

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4153
  • Karma: +251/-9
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: Sale image
« Reply #3 on: September 08, 2013, 05:44:17 PM »
This is located in 2 files:
storefront/view/default_html5/template/pages/product/product_listing.tpl
and
storefront/view/default_html5/template/blocks/product_list.tpl

Code: [Select]
<span class="sale tooltip-test">ss<?php echo $text_sale_label?></span>

The best way to approach this is, to create a background image without text and use 'text_sale_label' to display language specific "sale" text
We need your help to build better free open source eCommerce platform for everyone.
See how you can help

 

Powered by SMFPacks Social Login Mod