Advertisement:

Author Topic: How to make it osc_price_enabled_at_items() working properly?  (Read 395 times)

nithinpattazhy

  • Newbie
  • *
  • Posts: 8
How to make it osc_price_enabled_at_items() working properly?
« on: February 19, 2017, 01:15:43 pm »
Hi,

if(osc_price_enabled_at_items())

 is always giving status '1' when checking the condition, But if the price disabled for category, the value required to show is '0',. In the database, values are correct and price disabled column is 0. i want to add an else condition with if loop. But it is not working now. When I go to
 hPreference.php

function osc_price_enabled_at_items() {
       return (getBoolPreference('enableField#f_price@items'));

Where it is checking the status with database?