Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Setting Option Name & Comment on the same line?

Setting Option Name & Comment on the same line?

Locked

Views: 519

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
15 Sep 2010, 10:37 AM
#1
art4cakes avatar

art4cakes

New Zenner

Join Date:
Sep 2010
Posts:
2
Plugin Contributions:
0

Setting Option Name & Comment on the same line?

On browsing the threads I have discovered how to alter the display order of the Option Name and the Option Comment on the Product Info page but what I really need to do is have both on the same line ie <Option Comment><Option Name>.

I guess that the tpl_modules_attributes.php file comes into the mix somehow but I just can't figure how. Any help guys greatfully received.

15 Sep 2010, 2:31 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Setting Option Name & Comment on the same line?

Look at how the comment is called:

<?php
  if ($options_comment[$i] != '' and $options_comment_position[$i] == '0') {
?>
<h3 class="attributesComments"><?php echo $options_comment[$i]; ?></h3>
<?php
  }
?>

and then how the Option Name is called:

<div class="wrapperAttribsOptions">
<h4 class="optionName back"><?php echo $options_name[$i]; ?></h4>

You would need to customize those to have the two appear next to each other ...

15 Sep 2010, 2:39 PM
#3
art4cakes avatar

art4cakes

New Zenner

Join Date:
Sep 2010
Posts:
2
Plugin Contributions:
0

Re: Setting Option Name & Comment on the same line?

Ok. Thanx. That was the conclusion I had come to but I was hoping that there was a quick fix lurking somewhere but seems I shall have to do some lateral thinking.