Show service information

  • Eduard
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 1 week ago #35602 by Eduard
Show service information was created by Eduard
Hello,

I can not get the "show service information "to show. I have it on "yes" in configuration and other settings, and i have the time and duration set in the services.

What would be the cause?

-Thanks

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

More
12 years 1 week ago #35642 by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Re: Show service information
Hi Eduard,
That box is only shown when you select Yes at the field and you need to use Payment in your OS Services Booking system,
Thanks
Dam

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

  • Eduard
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 6 days ago - 12 years 6 days ago #35828 by Eduard
Replied by Eduard on topic Re: Show service information
if possible...will you tell me which part of the code i can edit to show the price without enabling payment method?
Also, which file can i edit to reorganize the layout? I would like to move the check out to the bottom of the site.

When the service is confirmed (offline payment) the site does not get redirected its goes to a page which has the following information "
11/30/1999
Day off"

Thanks in advance!
Last edit: 12 years 6 days ago by Eduard.

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

More
12 years 6 days ago #35844 by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Re: Show service information
Hi,
Please follow these steps:
1. Open file : components > com_osservicesbooking > classes > ajax.html.php
2. find:
<?php
if(($configClass == 1) or ($configClass == 1) or ($configClass == 1)){

if(($configClass == 1) and ($configClass == 1)){
$span = "span8";
}else{
$span = "span12";
}
?>
<div class="row-fluid">
<div class="span12" style="padding:0px;padding:5px;padding-bottom:20px;">
<div class="<?php echo $span;?>">
<?php
if($configClass == 1){
?>
<div style="float:left;margin-right:5px;">
<?php
if( $service->service_photo != ""){
?>
<img src="<?php echo JURI::root()?>images/osservicesbooking/services/<?php echo $service->service_photo?>" width="120" style="border:1px solid #CCC;padding:2px;">
<?php
}else{
?>
<img src="<?php echo JURI::root()?>components/com_osservicesbooking/style/images/noimage.png" width="120" style="border:1px solid #CCC;padding:2px;">
<?php
}
?>
</div>
<?php
}
if($configClass == 1){
echo $service->service_description;
}
?>
</div>
<?php
if($configClass == 1){
if($configClass == 1){
?>
<div class="span4">
<table width="100%" style="background-color:#FFF4E0;border:1px solid #E3D0AE !important;">
<tr>
<td align="right" style="padding:0px;padding-right:5px;padding-top:5px;" width="30%">
<span class="editlinktip hasTip" title="<?php echo JText::_('OS_PRICE')?>">
<img src="<?php echo JURI::root()?>components/com_osservicesbooking/style/images/money.png">
</span>
</td>
<td align="left" style="padding:0px;padding-top:5px;">
<strong>
<?php
echo OSBHelper::showMoney($service->service_price,1);
?>
</strong>
</td>
</tr>

<tr>
<td align="right" style="padding:0px;padding-top:5px;padding-bottom:5px;padding-right:5px;" width="30%">
<span class="editlinktip hasTip" title="<?php echo JText::_('OS_LENGTH')?>">
<img src="<?php echo JURI::root()?>components/com_osservicesbooking/style/images/time.png" width="14">
</span>
</td>
<td align="left" style="padding:0px;padding-bottom:5px;padding-top:5px;">
<strong><?php echo $service->service_total;?> <?php echo JText::_('OS_MINS')?></font></strong>
</td>
</tr>
<tr>
<td align="right" style="padding:0px;padding-bottom:5px;padding-right:5px;" width="30%">
<span class="editlinktip hasTip" title="<?php echo JText::_('OS_NUMBER_STAFF')?>">
<img src="<?php echo JURI::root()?>components/com_osservicesbooking/style/images/staff.png">
</span>
</td>
<td align="left" style="padding:0px;padding-bottom:5px;">
<strong><?php echo $nstaff;?>
</td>
</tr>
</table>
</div>
<?php
}
}
?>
</div>
</div>
<?php } ?>


and change to:

<?php
if(($configClass == 1) or ($configClass == 1) ){

if($configClass == 1) {
$span = "span8";
}else{
$span = "span12";
}
?>
<div class="row-fluid">
<div class="span12" style="padding:0px;padding:5px;padding-bottom:20px;">
<div class="<?php echo $span;?>">
<?php
if($configClass == 1){
?>
<div style="float:left;margin-right:5px;">
<?php
if( $service->service_photo != ""){
?>
<img src="<?php echo JURI::root()?>images/osservicesbooking/services/<?php echo $service->service_photo?>" width="120" style="border:1px solid #CCC;padding:2px;">
<?php
}else{
?>
<img src="<?php echo JURI::root()?>components/com_osservicesbooking/style/images/noimage.png" width="120" style="border:1px solid #CCC;padding:2px;">
<?php
}
?>
</div>
<?php
}
if($configClass == 1){
echo $service->service_description;
}
?>
</div>
<?php
if($configClass == 1){

?>
<div class="span4">
<table width="100%" style="background-color:#FFF4E0;border:1px solid #E3D0AE !important;">
<tr>
<td align="right" style="padding:0px;padding-right:5px;padding-top:5px;" width="30%">
<span class="editlinktip hasTip" title="<?php echo JText::_('OS_PRICE')?>">
<img src="<?php echo JURI::root()?>components/com_osservicesbooking/style/images/money.png">
</span>
</td>
<td align="left" style="padding:0px;padding-top:5px;">
<strong>
<?php
echo OSBHelper::showMoney($service->service_price,1);
?>
</strong>
</td>
</tr>

<tr>
<td align="right" style="padding:0px;padding-top:5px;padding-bottom:5px;padding-right:5px;" width="30%">
<span class="editlinktip hasTip" title="<?php echo JText::_('OS_LENGTH')?>">
<img src="<?php echo JURI::root()?>components/com_osservicesbooking/style/images/time.png" width="14">
</span>
</td>
<td align="left" style="padding:0px;padding-bottom:5px;padding-top:5px;">
<strong><?php echo $service->service_total;?> <?php echo JText::_('OS_MINS')?></font></strong>
</td>
</tr>
<tr>
<td align="right" style="padding:0px;padding-bottom:5px;padding-right:5px;" width="30%">
<span class="editlinktip hasTip" title="<?php echo JText::_('OS_NUMBER_STAFF')?>">
<img src="<?php echo JURI::root()?>components/com_osservicesbooking/style/images/staff.png">
</span>
</td>
<td align="left" style="padding:0px;padding-bottom:5px;">
<strong><?php echo $nstaff;?>
</td>
</tr>
</table>
</div>
<?php
}
?>
</div>
</div>
<?php } ?>


Good luck
Dam

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

  • Eduard
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 11 months ago - 11 years 11 months ago #36197 by Eduard
Replied by Eduard on topic Re: Show service information
Dam,

That worked thank you.
However I am still getting a message once service is confirmed. it will not redirect me back to the website. Pelase see picture.

Thanks for all the help
Last edit: 11 years 11 months ago by Eduard.

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

More
11 years 11 months ago #36202 by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Re: Show service information
Hi Edouard,
Can you explain more details your problem?
Thanks
Dam

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

  • Eduard
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 11 months ago #37184 by Eduard
Replied by Eduard on topic Re: Show service information
Dam,

When your confirm the reservation it does not redirect back to the home page. instead , the page gets directed to page with the picture attached to the previous post.

Thanks,
Chris

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

More
11 years 11 months ago #37191 by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Re: Show service information
Hi Edouard,
It seems the problem with sef urls, can you please turn off sef mode in your site and check again, if after turning off the sef mod, the component works properly, please download latest version of OS Services Booking from My downloads part at the top and install it into your site (If you alread modified something in your OS Services Booking, please backup it)
Thanks
Dam

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

Moderators: Dang Thuc Dam