*

leuname07

  • ***
  • 53 posts
Not show form in item
« on: June 01, 2019, 10:04:19 PM »
Hello,

I use the theme Veronika.

I have users who want to be contacted only by phone and not by email.

Is it possible to disable the form for email replies when a user adds an ad.

As it chooses whether he wants to be contacted by email or phone or both.

Thank you

*

MB Themes

Re: Not show form in item
« Reply #1 on: June 10, 2019, 08:46:44 AM »
@leuname07
Osclass database does not contain field that could be used to store such information, so what you need to do is add new column into t_item table, add save/update function for posted_item/edited_item hook, add fields to item-post.php/item-edit.php and then update item.php based on this field (show/hide form)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots