*

reflexus

  • ****
  • 146 posts
Bug: You have not entered your address!
« on: October 04, 2017, 11:08:26 PM »
I have found a new bug see screenshot:

http://joxi.ru/QeAO6uxXbWZ2oD

I have entered address in my profile section, but still writes: You have not entered your address!

http://joxi.ru/vDr89u48Eg6m6L

Clean Osclass Pay plugin ver. 1.3.0 and Osclass ver 3.7.4 with modern template 5.1
« Last Edit: October 04, 2017, 11:11:15 PM by reflexus »

*

MB Themes

Re: Bug: You have not entered your address!
« Reply #1 on: October 04, 2017, 11:55:36 PM »
Thanks will check it
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

reflexus

  • ****
  • 146 posts
Re: Bug: You have not entered your address!
« Reply #2 on: October 09, 2017, 03:15:07 PM »
Is this bug solved in 1.3.1?

*

MB Themes

Re: Bug: You have not entered your address!
« Reply #3 on: October 10, 2017, 01:12:29 PM »
@reflexus
No, I was not able to reproduce such bug.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

reflexus

  • ****
  • 146 posts
Re: Bug: You have not entered your address!
« Reply #4 on: October 10, 2017, 03:33:57 PM »
ok, i make this for you

*

reflexus

  • ****
  • 146 posts
Re: Bug: You have not entered your address!
« Reply #5 on: October 14, 2017, 02:14:12 PM »
@reflexus
No, I was not able to reproduce such bug.

I have reproduced this bug.

you can register and test it on this site: http://gidra.de/gidra4/

*

reflexus

  • ****
  • 146 posts
Re: Bug: You have not entered your address!
« Reply #6 on: October 17, 2017, 06:43:20 PM »
How to fix for not veronika themes:

add in order.php

Code: [Select]
$user = User::newInstance()->findByPrimaryKey(osc_logged_user_id());
and replace:

Code: [Select]
<?php $loc trim(implode(', 'array_filter(array(osc_user_country(), osc_user_region(), osc_user_city(), osc_user_zip(), osc_user_address())))); ?>
to:

Code: [Select]
<?php $loc trim(implode(', 'array_filter(array($user['fk_c_country_code'], $user['s_region'], $user['s_city'], $user['s_zip'], $user['s_address'])))); ?>
thats all

*

MB Themes

Re: Bug: You have not entered your address!
« Reply #7 on: October 17, 2017, 07:02:59 PM »
Hmm, interesting. I will add user to variables in order.php to make sure it works with other themes.
Thanks

// implemented in 1.3.2
« Last Edit: October 23, 2017, 10:33:43 AM by frosticek »
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots