Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2010
    Posts
    2
    Plugin Contributions
    0

    Default 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.

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Setting Option Name & Comment on the same line.

    Look at how the comment is called:
    Code:
    <?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:
    Code:
    <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 ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Sep 2010
    Posts
    2
    Plugin Contributions
    0

    Default 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.

 

 

Similar Threads

  1. How to change text color Attribute - Option Name Comment
    By twofair in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 23 Jun 2010, 10:45 AM
  2. Option Name and Option Values on same line?
    By JasGot in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 12 Mar 2010, 04:38 AM
  3. product name and price on the same line
    By ghmedia in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 7 Apr 2009, 10:55 AM
  4. v1.3.7 Persistant Option Name Comment
    By asknight in forum Bug Reports
    Replies: 1
    Last Post: 10 Jan 2007, 09:25 PM
  5. Add a link in the comment area of an option name
    By meko19 in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 17 Dec 2006, 11:51 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg