*

pitbull

  • **
  • 98 posts
Bug on Plugin ??
« on: August 20, 2019, 10:30:26 PM »
Hi Frosticek. I m using the latest version of Attributes plugin with osclass 3.8.0 and every-time i add a text input attribute on search page it displays those attributes always prefilled with values of the last item i posted. For example if i add a new item in "Cars" category with the attributes:

Speed: 200km/h
Power: 120hp

Then when i visit the search page under category "Cars", The attribute input fields are always prefilled like that:

Speed: 200km/h
Power: 120hp

Why they are not empty as it should be ???

Now visitors must delete first the prefilled value and then enter what they want to search for, which is very inconvenience !!!!

Could you please help me ??

Marked as best answer by frosticek on August 21, 2019, 07:26:21 AM
*

MB Themes

Re: Bug on Plugin ??
« Reply #1 on: August 21, 2019, 07:26:06 AM »
@pitbull
It means osclass did not cleaned up last session used to publish listing.
In functions.php remove following line:
Code: [Select]
osc_add_hook('pre_item_post', 'atr_post_preserve');
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots