Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Join Date
    Feb 2010
    Posts
    16
    Plugin Contributions
    0

    xhtml problem How to remove attribute name below attribute picture?

    Hello,

    I have a small problem regarding the removal of the attribute name below the attribute picture.

    Take a look at this page:
    http://sogrenibikes.com/index.php?ma...products_id=19

    Go to the attribute at the bottom called 'kickstand' with the options no thanks and yes. I would like to remove the text below the pictures.

    I have tried using the developers toolkit to figure out where to delete/replace some code, but the only place I have found is includes/modules/attributes on line 245... And I am not sure where to look.

    Anyway, it would be perfect if anyone could give me a hint on where to look.

    Thank you so much!
    Alexander

  2. #2
    Join Date
    Feb 2010
    Posts
    16
    Plugin Contributions
    0

    Default Re: How to remove attribute name below attribute picture?

    Bump

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

    Default Re: How to remove attribute name below attribute picture?

    Edit the Option Name for:
    Handmade Pedals

    Look and see what your settings are for that ...

    Then, edit the Option Name for:
    Kickstand

    What settings are you using here? If you change them to the same as for the Handmade Pedals, does this correct the problem?
    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!

  4. #4
    Join Date
    Feb 2010
    Posts
    16
    Plugin Contributions
    0

    Default Re: How to remove attribute name below attribute picture?

    Thanks so much for taking the time to answer, but maybe I wasn't clear enough.

    The option name etc. is no problem, all is working fine.

    I would just like to remove the text below the pictures

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

    Default Re: How to remove attribute name below attribute picture?

    If you go to the Option Name for Kickstand and edit it ... you will see the comments that are posted for that Option Name ... I believe that is where you have set the text ...
    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!

  6. #6
    Join Date
    Feb 2010
    Posts
    16
    Plugin Contributions
    0

    Default Re: How to remove attribute name below attribute picture?

    Sure! But I would like to keep that.

    I only want to delete the name in the code where it is located below the pictures... No where else.

    <br class="clearBoth" />
    <div class="attribImg"><img src="images/attributes/kickstand.jpg" alt="" width="450" height="335" /><br />Yes</div>
    <br class="clearBoth" />
    <div class="attribImg"><img src="images/attributes/kickstand-bike.jpg" alt="" width="450" height="335" /><br />No thanks</div>
    I would just like to delete the "yes" and "no" and replace them with a blank space. But I can't seem to find it in the files!

    Thank you :)

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

    Default Re: How to remove attribute name below attribute picture?

    I don't have a trick for that one ... you would need to customize the code for that product to not show the text associated with the image ...

    One thing you could try is see where your Additional Images show and add those images as Additional images to the Products and if that is at the bottom ... since Kickstand is at the bottom ... they would show underneath it without the text below them ...

    Then, just remove the images from the Attributes and it would give the illusion of showing as part of the Kickstand ...
    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!

  8. #8
    Join Date
    Feb 2010
    Posts
    16
    Plugin Contributions
    0

    Default Re: How to remove attribute name below attribute picture?

    Hmm... I think that I am not making myself clear enough, still.

    There is going to be images below all the attributes, so that method won't work, unfortunately.

    There must be some place in the code saying that the option name should be displayed in the div with the class AttribImg? That's all! :)

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

    Default Re: How to remove attribute name below attribute picture?

    You have 2 images on the 2 Option Values for the Kickstand ...

    You do not want to see the Option Value Name under them ...

    There is not a div or anything to hide that ... look at the View Source ...

    My work around was, "since" the Kickstand Option Name is on the "bottom" of the page ... could you try to add the Kickstand images to the Product as "additional images" which should show on the "bottom" of the page ... so they "appear" to be part of the Kickstand Option Name ... when really they are Additional Images ...
    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!

  10. #10
    Join Date
    Feb 2010
    Posts
    16
    Plugin Contributions
    0

    Default Re: How to remove attribute name below attribute picture?

    I see, and it's a great way to do it, if it was only for the kickstand. But unfortunately, it's not

    As I quoted before, as far as I can see, the code around the text looks like:

    <br class="clearBoth" />
    <div class="attribImg"><img src="images/attributes/kickstand.jpg" alt="" width="450" height="335" /><br />Yes</div>
    <br class="clearBoth" />
    <div class="attribImg"><img src="images/attributes/kickstand-bike.jpg" alt="" width="450" height="335" /><br />No thanks</div>
    When I search for "<div class="attribImg">" in the developers toolkit, "/home/sogreni/public_html/includes/modules/attributes.php" pops up with 13 lines all having "<div class="attribImg">" in them.

    I just don't know where to delete the right stuff!

    I'm guessing it is located somewhere around here:

    $tmp_attributes_image .= '<div class="attribImg">' . zen_image(DIR_WS_IMAGES . $products_options->fields['attributes_image']) . (PRODUCT_IMAGES_ATTRIBUTES_NAMES == '1' ? '<br />' . $products_options->fields['products_options_values_name'] : '') . '</div>' . "\n";

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v154 How do i stock based on attribute or remove attribute one sold
    By vvomble in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 18 Sep 2015, 04:29 PM
  2. v151 How do I remove the option name below the attribute image?
    By angeleam in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 11 Aug 2013, 06:42 PM
  3. How to associate an image with an attribute name instead of an attribute value?
    By ibuttons in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 25 Feb 2011, 07:22 PM
  4. How can I have form object below attribute name?
    By marksu in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 9 Apr 2008, 06:01 PM
  5. Remove Space Below Attribute Selection
    By KADesign in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 11 Mar 2007, 02:46 AM

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