On my product info display, I needed (note the past-tense form, needed) to reverse the positions of my option attributes and my option comment. While searching for an admin control on the options_comments_position, I found this 2005 thread in the archives. (Would reply there, but posting replies on archives is not permitted.)
I am curious whether anyone has developed an admin control for the options comments position. Thought I might find it under configuration / product info, but no luck. So, assuming the control is not yet available and taking a hint from the archive thread, I simply reversed the 0 and 1 values in two lines in my custom tpl_modules_attributes.php:
This achieved my aim of putting the option comment after the option name and attributes.Code:if ($options_comment[$i] != '' and $options_comment_position[$i] == '0') // changed 1 to 0 ... and several lines further down ... if ($options_comment[$i] != '' and $options_comment_position[$i] == '1') // changed 0 to 1
If there is already an admin control for the options_comments_position in 1.3.6, maybe someone can tell me where it is. And if there is not, maybe this thread will prove useful to others.





