Loading


Advertisement:

Author Topic: [SOLVED] Custom Attributes change "yes" to check mark  (Read 118 times)

c4

  • Newbie
  • *
  • Posts: 23
[SOLVED] Custom Attributes change "yes" to check mark
« on: December 04, 2017, 05:29:30 pm »
In Custom Attributes plugin the result is YES or NO. I marked "hide empty attributes" and now I have only fields with the value "YES". How to change YES to check mark?

Sorry for my English :)
« Last Edit: December 05, 2017, 05:48:32 pm by c4 »

c4

  • Newbie
  • *
  • Posts: 23
Re: Custom Attributes change "yes" to check mark
« Reply #1 on: December 05, 2017, 05:46:08 pm »
OK I have it :)

I leave instructions for other people:

in:
oc-content/plugins/custom_attributes

file:
item_detail_fields.php

line 23:
$value = 'Yes';

change to:
$value = '<img src="'.osc_current_web_theme_url('images/tick.png').'" alt="" title=""/>';