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

All times are UTC + 5:30 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Tue Oct 20, 2015 2:00 am 

Joined :
Tue Oct 20, 2015 1:17 am

Posts : 5
Hello, I need information where exactly (in which phtml file) I can change the text for "Exclude processing fee" in the price box on product view. Solution with translate.csv doesn't works. The Price for the processing fee in the price box is indicated as "$0.0" instead of "$0.00". How can I correct the price output? Thank you for the trouble.


Report this post
Top
 Profile  
 
PostPosted: Fri Oct 23, 2015 11:02 am 

Joined :
Fri Dec 19, 2014 11:27 am

Posts : 0
Hi,
For changing the text you need to navigate to /app/code/local/Apptha/Airhotels/Model/Airhotels.php file search for "Exclude processing fee" in checkavail function and you can change it there. But it is not a good practice to change in the file directly. So make sure whether the word is enclosed in the following format "Mage::helper ( 'airhotels' )->__ ( 'Exclude processing fee' )"[Without quotes]
If so then the csv translation will work as you expected.
Regarding to display 1 decimal for price you need to use the "number_format($price, 1)" function for all the price values.


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 1 guest


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