Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1. #1
    Join Date
    Sep 2008
    Location
    Cleethorpes
    Posts
    1,227
    Plugin Contributions
    6

    red flag Attributes Option Name Comments field display HTML

    [Note: remember to include site URL, ZC version, list of plugins, PHP version, etc ... read the Posting Tips shown above for information to include in your post here. And, remove this comment before actually posting!]

    How would I make the Attributes Option Name Comments field display HTML?
    Nick Smith - Venture Design and Print
    https://venturedesignandprint.co.uk

  2. #2
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,145
    Plugin Contributions
    11

    Default Re: Attributes Option Name Comments field display HTML

    And, where would one see this Attributes Option Name Comments Field?

  3. #3
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,684
    Plugin Contributions
    123

    Default Re: Attributes Option Name Comments field display HTML

    Admin > Catalog > Option Name Manager > Edit

    (in 1.5.6 it's "Update" rather than "Edit")
    Last edited by swguy; 2 May 2020 at 11:56 PM.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  4. #4
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,684
    Plugin Contributions
    123

    Default Re: Attributes Option Name Comments field display HTML

    @Nick1973 seems to take HTML just fine in 1.5.6. (I tested bolding the option comment.)
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  5. #5
    Join Date
    Sep 2008
    Location
    Cleethorpes
    Posts
    1,227
    Plugin Contributions
    6

    Default Re: Attributes Option Name Comments field display HTML

    Quote Originally Posted by swguy View Post
    @Nick1973 seems to take HTML just fine in 1.5.6. (I tested bolding the option comment.)
    Well I tried it and it just outputs HTML tags as text rather than rendering the actual HTML, or it did for me.

    I want to use the comments field so I can display boxes containing HTML above certain attributes.
    Nick Smith - Venture Design and Print
    https://venturedesignandprint.co.uk

  6. #6
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,684
    Plugin Contributions
    123

    Default Re: Attributes Option Name Comments field display HTML

    You're running 1.5.6c?
    Please paste in your HTML so I can try it.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  7. #7
    Join Date
    Sep 2008
    Location
    Cleethorpes
    Posts
    1,227
    Plugin Contributions
    6

    red flag Re: Attributes Option Name Comments field display HTML

    Quote Originally Posted by swguy View Post
    You're running 1.5.6c?
    Please paste in your HTML so I can try it.
    It would be like this:

    HTML Code:
    <ul class="hostingplan1">	<li>	<h3>Shared Hosting Entry<br>	£2.99mth - £35.88 yr</h3>	</li>	<li>Pay Monthly or Yearly</li>	<li>No Contract Cancel Anytime</li>	<li>2 GB Storage Space</li>	<li>20 GB Bandwidth</li>	<li>20 FTP Accounts</li>	<li>20 Email Addresses</li>	<li>Free SSL Certificates</li>	<li>Instantly Setup 24/7</li>	<li>DDOS Protected</li>	<li>cPanel Control Panel</li>	<li>LiteSpeed Webserver</li>	<li>PHP Versions Selector</li>	<li>MySQL - MariaDB</li></ul>
    Nick Smith - Venture Design and Print
    https://venturedesignandprint.co.uk

  8. #8
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,684
    Plugin Contributions
    123

    Default Re: Attributes Option Name Comments field display HTML

    This is way too long - the field products_options_comment is only 255 wide.

    I can put about 1/2 of this into the comment field and it works.
    Attached Images Attached Images  
    Last edited by swguy; 3 May 2020 at 10:41 PM.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  9. #9
    Join Date
    Sep 2008
    Location
    Cleethorpes
    Posts
    1,227
    Plugin Contributions
    6

    red flag Re: Attributes Option Name Comments field display HTML

    Quote Originally Posted by swguy View Post
    This is way too long - the field products_options_comment is only 255 wide.

    I can put about 1/2 of this into the comment field and it works.
    Yes I know, sorry I should have added that the comments field needs adjusting to take the length. I tried a shortened version and it didn't work for me. I'll try again.
    Nick Smith - Venture Design and Print
    https://venturedesignandprint.co.uk

  10. #10
    Join Date
    Sep 2008
    Location
    Cleethorpes
    Posts
    1,227
    Plugin Contributions
    6

    red flag Re: Attributes Option Name Comments field display HTML

    Quote Originally Posted by swguy View Post
    This is way too long - the field products_options_comment is only 255 wide.

    I can put about 1/2 of this into the comment field and it works.
    See attached images. This is what I get on output and where I am entering it. I've even tried changing the template and get the same.


    Click image for larger version. 

Name:	Screenshot 2020-05-04 at 08.31.00.jpg 
Views:	43 
Size:	23.9 KB 
ID:	18973

    Click image for larger version. 

Name:	Screenshot 2020-05-04 at 08.53.19.jpg 
Views:	46 
Size:	20.1 KB 
ID:	18974
    Nick Smith - Venture Design and Print
    https://venturedesignandprint.co.uk

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. selectable option name and option value display
    By mgwirelessllc in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 15 May 2011, 02:47 AM
  2. Attributes Controller - Increasing rows displayed for Option Name and Option Value?
    By ThisSideOfTheCross in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 23 Apr 2010, 05:13 AM
  3. enlarge the option name and option value boxes in Attributes
    By stevenlee in forum Customization from the Admin
    Replies: 10
    Last Post: 16 Aug 2008, 02:16 AM
  4. Longer option comments field?
    By eriswerks in forum Setting Up Categories, Products, Attributes
    Replies: 10
    Last Post: 19 May 2007, 05:38 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR