It is currently Wed Jul 28, 2021 4:18 am

All times are UTC + 5:30 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Wed Apr 08, 2015 10:16 am 

Joined :
Wed Apr 08, 2015 10:14 am

Posts : 1
Does a person recognize how do my spouse and i turn off the expected status at the property form?I would just like so It people have your option to enter particulars or not.



Thank

_________________
NoorAlamShahzad


Report this post
Top
 Profile  
 
PostPosted: Mon Apr 20, 2015 7:14 pm 

Joined :
Fri Dec 19, 2014 11:27 am

Posts : 0
Please note that these changes cannot be done in magento admin panel. You need to edit in code to turn off the required status.
You need to edit in form.phtml and edit.phtml these files are found in the following folder.
/app/design/frontend/default/stylish/template/airhotels/property

I have provided below an example of the code snippet. (Existing code)
<div class="field">
<label for="price" class="required lable_inner left"> <?php echo $this->__('Price') ?> <em>*</em></label>
<div class="floatleft">
<input name="price" id="price" onblur="return validatePrice(this.value,'price')" title="<?php echo $this->__('Price') ?>" value="" class="input-text required-entry input-text_price" type="text"/>
<span> <?php echo $currencySymbol . '(' . $this->__('Enter price in') .' '.$currencyCountry . ')'; ?></span>
</div>
</div>

Code to be changed

<div class="field">
<label for="price" class="lable_inner left"> <?php echo $this->__('Price') ?> </label>
<div class="floatleft">
<input name="price" id="price" onblur="return validatePrice(this.value,'price')" title="<?php echo $this->__('Price') ?>" value="" class="input-text input-text_price" type="text"/>
<span> <?php echo $currencySymbol . '(' . $this->__('Enter price in') .' '.$currencyCountry . ')'; ?></span>
</div>
</div>
Also follow the same procedure in edit.phtml (/app/design/frontend/default/stylish/template/airhotels/property)


Report this post
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 5:30 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron