This topic contains a post which is marked as Best Answer. Press here if you would like to see it.
*

pavels

  • *
  • 4 posts
[HELP] Problem with "contact seller"
« on: April 13, 2017, 04:11:14 PM »
Hello,
on my website contact seller is posible only to registered users. When I try to send a message to other seller, the name and e-mail is autocompleted and there is no way to change this field. After I wrote a message and clicked send there is an error:
"Your name: this field is required
Invalid email address"
Any sugestions?

URL: http://testowastronaogrywania.cba.pl/

*

MB Themes

Re: [HELP] Problem with "contact seller"
« Reply #1 on: April 15, 2017, 02:42:30 PM »
I am not sure if osclass has option to allow only logged to contact seller. I will check issue with required message.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

pavels

  • *
  • 4 posts
Re: [HELP] Problem with "contact seller"
« Reply #2 on: April 19, 2017, 02:28:11 PM »
Listing -> Setting -> Contact publisher: Only allow registered users to contact publisher. This is basic function in osclass...

Marked as best answer by pavels on April 21, 2017, 11:08:01 AM
*

MB Themes

Re: [HELP] Problem with "contact seller"
« Reply #3 on: April 19, 2017, 08:51:45 PM »
@pavels
In file:
oc-content/themes/zara/item-send-friend.php

change code:
Code: [Select]
        $('#yourName').attr('disabled', true).addClass('disabled');
        $('#yourEmail').attr('disabled', true).addClass('disabled');

to:
Code: [Select]
        $('#yourName').attr('readonly', true).addClass('disabled');
        $('#yourEmail').attr('readonly', true).addClass('disabled');
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

pavels

  • *
  • 4 posts
Re: [HELP] Problem with "contact seller"
« Reply #4 on: April 20, 2017, 06:53:30 PM »
@frosticek
Thanks. It works now.

I have another question... After send a e-mail to seller (in small window), the message "We`ve just sent an e-mail to the seller" is showing in the same small window... Is it possible to close the small window and show the message "We`ve just sent...." in the main window?

*

MB Themes

Re: [HELP] Problem with "contact seller"
« Reply #5 on: April 21, 2017, 10:49:36 AM »
@pavels
In item-send-friend.php (theme folder) and item-contact-seller make sure all forms (<form>) has attribute:
Code: [Select]
target="_top"
That will make content load in original window, not in fancybox.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

pavels

  • *
  • 4 posts
Re: [HELP] Problem with "contact seller"
« Reply #6 on: April 21, 2017, 11:06:37 AM »
Thank you. Problem solved.