Advertisement:

Author Topic: Custom attributes works in osclass 3.6?  (Read 696 times)

Adyyda

  • Sr. Member
  • ****
  • Posts: 435
Custom attributes works in osclass 3.6?
« on: January 25, 2016, 11:51:20 pm »
Hello. I would like to know if plugin Custom attributes works with osclass 3.6.
I have a clean install of bender theme, i have installed the plugin, created a group, attached that group to the desired categories and than i created a attribute - Condition- with 2 options and it shows when posting a new ad, i see it in sidebar in search, but, when i select the first option (used), i should see the ad that i have just created with this option. No matter what value i chose, will always return no results .
This happens with radio input and select -these 2 options i have tried.

I have noticed olso that if i use radio type, i fill in 2 options New,Used and in sidebar search i have a third option Unknown which cancels New or Used option? Is this the way it supposed to work?

Adyyda

  • Sr. Member
  • ****
  • Posts: 435
Re: Custom attributes works in osclass 3.6? YES
« Reply #1 on: January 26, 2016, 12:49:11 am »
Yes, it works. I have a custom code in functions that breaks custom attributes and i had to replace code from index.php line 229 with
Code: [Select]
Search::newInstance()->addConditions(DB_TABLE_PREFIX."t_item.pk_i_id IN (" . $subquery. ")"); and now is ok