Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1. #1
    Join Date
    Sep 2012
    Posts
    28
    Plugin Contributions
    0

    Default [Fixed 1.6.0]How can I remove the word "text" under the option name image?

    Hi,
    I'm sorry if this has been asked before. I have been testing and search the whole day for an answer for this but have been unsuccessful. I'm trying to remove the word "text" under the image of the option name. Using firebug, I was able to locate the location of this but I'm not able to find the PHP file for it. Here is the code:

    <div class="back">
    <input id="attrib-10-0" type="text" value="" maxlength="2" size="1" name="id[TEXT_PREFIX10]">
    <br class="clearBoth">
    <div class="attribImg">
    <img width="100" height="80" alt="" src="images/attributes/green.png">
    <br>
    TEXT
    </div>

    I have trying search for this under tpl_module_attributes.php, product_info.php but it's not there.

    I'm not able to paste the link of the website because its a mess right now...

    Any assistance would be greatly appreciate it.

    Thank you
    Justina

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: How can I remove the word "text" under the option name image? Please help

    This sounds like you are displaying a constant "TEXT"
    What files have you edited?
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Sep 2012
    Posts
    28
    Plugin Contributions
    0

    Default Re: How can I remove the word "text" under the option name image? Please help

    Yes, under all of the images that I have added under option name have to word "text" under it. I know this is because I have selected the text option instead of a check box or a drop down, but I need those option names to have text options.

    I have not edited any file because I can't find where this is stored.

    Thank you for your assistance :)

  4. #4
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,846
    Plugin Contributions
    25

    Default Re: How can I remove the word "text" under the option name image? Please help

    The text option is used for customers to be able to enter a custom text needed for a product. I think you need to use the read only option for your purpose.

  5. #5
    Join Date
    Sep 2012
    Posts
    28
    Plugin Contributions
    0

    Default Re: How can I remove the word "text" under the option name image? Please help

    Thank you for the reply. No I need the text option, I need my customer to enter the amount that would like of each option name.

    Thanks for the suggestion.

  6. #6
    Join Date
    Sep 2012
    Posts
    28
    Plugin Contributions
    0

    Default Re: How can I remove the word "text" under the option name image? Please help

    Can someone please help me with this. I have search everywhere but still cannot find it.

    Thank you very much!

  7. #7
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: How can I remove the word "text" under the option name image? Please help

    Post a link to this to take guessing out of the mix
    Zen-Venom Get Bitten

  8. #8
    Join Date
    Sep 2012
    Posts
    28
    Plugin Contributions
    0

    Default Re: How can I remove the word "text" under the option name image? Please help

    Hi Kobra,
    Please see the link below:

    http://selectious.com/index.php?main...roducts_id=180

    Under every image, it has the word "text" I wish to remove that word.

    Thank you very much

  9. #9
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: How can I remove the word "text" under the option name image? Please help

    Use the developers tool kit in your admin and search for the term "text"
    It may generate a long list but look for files associated with attributes
    Zen-Venom Get Bitten

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

    Default Re: How can I remove the word "text" under the option name image? Please help

    The word TEXT is being displayed as that is the "text" of the Option Value when using TEXT Attributes ...

    To not see that, you can edit the file:
    /includes/modules/attributes.php

    and at about line 482, change the code from:
    Code:
                          $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";
    to read:
    Code:
    // Do not show TEXT option value on images
                          $tmp_attributes_image .= '<div class="attribImg">' . zen_image(DIR_WS_IMAGES . $products_options->fields['attributes_image']) . (PRODUCT_IMAGES_ATTRIBUTES_NAMES == '1' ? ($products_options_names->fields['products_options_type'] != PRODUCTS_OPTIONS_TYPE_TEXT ? '<br />' . $products_options->fields['products_options_values_name'] : '') : '') . '</div>' . "\n";
    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: v1.5.5]
    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!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Can the "option name" display name be different than the actual "option name"?
    By yukionna in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 3 Dec 2013, 01:06 AM
  2. v139h Can I edit the name of a link under the "Categories" sidebar?
    By CasperPS in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 10 Apr 2012, 10:52 AM
  3. Can i replace the word "Categories" in the category box with an image?
    By GMCto in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 18 Feb 2010, 04:56 PM
  4. How can I change the word "delivered" to "shipped"?
    By lmw1 in forum General Questions
    Replies: 3
    Last Post: 14 Jan 2010, 01:11 AM
  5. How to remove the word "More" besides the Shopping Cart
    By genxgame in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 26 Jan 2008, 11:40 AM

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