[2.12.9 Bug & fixes] Email fields during Experience frontend Bookings

More
1 year 10 months ago #18977 by joomleb
Hi guys,
re - tested on Solidres 2.12.8 and still:

B - Property / Experience > Email confirmation "...we could make it pre-filled for future releases..."

D - We can use CSS pointer-events: none; to have the Email not editable and to hide the Email Confirmation field, but, Please, Can you add specific fields div classes, at least for the Email field and Email Confirmation field ? Something like for ex.:
- class="form-group sr-email"
- class="form-group sr-email-conf"

Please, Can you add them in the upcoming version update ?

Please Log in or Create an account to join the conversation.

More
1 year 10 months ago - 1 year 10 months ago #19018 by joomleb
Hi guys,
PHP 7.4.29 + J 3.10.9 / J 4.1.3 + Solidres 2.12.8 + Experience plg 1.7.6 etc.:

B - Property / Experience > Email confirmation "...we could make it pre-filled for future releases..."
Experience Solution - file …/plugins/solidres/experience/components/com_solidres/models/bookform.php
line 97 - $customFieldData = array('customer_email' => $user->email); >>> $customFieldData = array('customer_email' => $user->email, 'customer_email2' => $user->email);

I add the file for you, Please, Can you confirm it ?
If confirmed, Please, Can you point me to the right Property file ?

D - About Email field and Email Confirmation field classes
For all the users that can be interested on this, we can reach the goal with a workaround by using this CSS code (Experience case):

.tour-info input#text-field-customer_email {
pointer-events: none;
background-color: #e9ecef;
opacity: 1;
}
.tour-info label[for=text-field-customer_email2] {
display: none!important;
}
.tour-info input#text-field-customer_email2 {
pointer-events: none;
display: none!important;
}

Please, Do you have any suggestion / a better way for t ?

PS - thinking also to the Bootstrap 5 attributes, for sure to add an Options > “Field Class” to the Custom Fields field as Joomla Custom Fields can be useful for a lot of things. Anyway, in my opinion, the best approach would be always to have a full Joomla Custom Fields integration: www.solidres.com/forum/feature-requests-...joomla-custom-fields

This message has an attachment file.
Please log in or register to see it.

Last edit: 1 year 10 months ago by joomleb.

Please Log in or Create an account to join the conversation.

More
1 year 8 months ago - 1 year 8 months ago #19081 by joomleb
Hi guys,
Please, Can you move this topic into the Report bugs Forum Category ?

PHP 7.4.30 + J 3.10.10 / J 4.1.5 + Solidres 2.12.9 + Experience plg 1.7.7 etc.
- Property > Publishing tab > Disable customer registration: Yes
- Experiences > Publishing tab > Disable customer registration: Yes
When in frontend I’m logged


B - User Email / Email confirmation grabbing and prefilling when logged

B1 - Property
file …/components/com_solidres/layouts/asset/guestform.php
around line 145 / 156
- Email
- Email confirmation
BUG - It is not grabbing and prefilling User Email and User Email confirmation.

- B1A - Can you confirm ? If confirmed, Please, Can you fix it ?

- B1B - Beginning the Property Booking process, Please, What is the “Guest name” field ? I add an image for you
If I’m logged it is not grabbing and prefilling nothing, What is its role ?
It seems like an unnecessary complication, because on the next page I will fill all the Guest Information fields.
Can it be canceled / hidden ? How ?

B2 - Experience
file …/plugins/solidres/experience/components/com_solidres/models/bookform.php
around line 97
- Email - It is grabbing and prefilling User Email
- Email confirmation - It is not grabbing and prefilling User Email confirmation > "...we could make it pre-filled for future releases..."
Solution - line 97 - $customFieldData = array('customer_email' => $user->email); >>> $customFieldData = array('customer_email' => $user->email, 'customer_email2' => $user->email);
I add the file for you. Please, Can you confirm it ?
Attachments:
Last edit: 1 year 8 months ago by joomleb.

Please Log in or Create an account to join the conversation.

More
1 year 8 months ago #19092 by solidres
Hi,

We will consider an option to hide the Confirmation email field for logged in users.

In the property booking process, the Guest name in Step 1 is the name of the person stays in the specific room, it is totally different with the Guest info in Step 2 which is for the person who make the reservation.

Regards,

Please Log in or Create an account to join the conversation.

Moderators: solidres
Powered by Kunena Forum

All the things you need to make your work easier. Did you like Solidres?