Pippo3000 Posted October 31, 2010 Share Posted October 31, 2010 noticed that customer must give a reason for RMA. is there a way to make this not a mandory field and let RMA slips be sent also without a reason?philEDIT: alternativly, can a insert a default text in the text box? Link to comment Share on other sites More sharing options...
rocky Posted November 1, 2010 Share Posted November 1, 2010 I'm not sure how to make it optional, though I do know how to set a default value. Change line 212 of order-detail.tpl in your theme's directory from: <textarea cols="67" rows="3" name="returnText"></textarea> to: <textarea cols="67" rows="3" name="returnText">{l s='No reason provided'}</textarea> Link to comment Share on other sites More sharing options...
Pippo3000 Posted November 1, 2010 Author Share Posted November 1, 2010 You again, rocky! Thanks, mate!Just out of curiosity: such change as the one above will forever be in english then, right? I mean I have no var which I could use for a translation of 'no rason needed' into say ubunti or such? Link to comment Share on other sites More sharing options...
rocky Posted November 1, 2010 Share Posted November 1, 2010 No, that code is translatable. Just go to Tools > Translations > Front Office translations > order-detail to translate it. Link to comment Share on other sites More sharing options...
Pippo3000 Posted November 1, 2010 Author Share Posted November 1, 2010 No, that code is translatable. Just go to Tools > Translations > Front Office translations > order-detail to translate it. So it will sort of be added to the BO translation tool then? Cool. Learned something this morning. Thx Link to comment Share on other sites More sharing options...
rocky Posted November 1, 2010 Share Posted November 1, 2010 Yes, any text you write with the syntax {l s='string'} will be added to the translations in the Back Office. In modules, you must use the syntax {l s='string' mod='moduledir'} Link to comment Share on other sites More sharing options...
Pippo3000 Posted November 1, 2010 Author Share Posted November 1, 2010 No, that code is translatable. Just go to Tools > Translations > Front Office translations > order-detail to translate it. all worked. thanx again, mate Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now