Page 1 of 3 123 LastLast
Results 1 to 10 of 25
  1. #1
    Join Date
    Feb 2011
    Posts
    20
    Plugin Contributions
    0

    Default Text Attribute not showing up in cart

    Hi! I've searched for hours and couldn't find exactly what I'm searching for.

    Ok... I have an attribute called "Name" set to text box. The attribute shows up on product page, you can type the text in the text box, but when you add to cart only "Name-" shows up and the customer's text is not there. It does show up later in checkout when confirming the order, also in order emails (I tested). I want it to show up in the cart so the customer knows it's there.

    here is a link to a product set up this way: http://www.cindysfinejewelrydesigns....products_id=25

    Thanks so much for any help!

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

    Default Re: Text Attribute not showing up in cart

    This is not how a stock install behaves

    Try switching to the classic template and see if it displays correctly

  3. #3
    Join Date
    Feb 2011
    Posts
    20
    Plugin Contributions
    0

    Default Re: Text Attribute not showing up in cart

    Quote Originally Posted by kobra View Post
    This is not how a stock install behaves

    Try switching to the classic template and see if it displays correctly
    I have already tried that and it did the same thing. Thanks

  4. #4
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: Text Attribute not showing up in cart

    Cindy,
    Have you loaded a module that loads in your override directory..

    1. tpl_products_info_display.php

  5. #5
    Join Date
    Feb 2011
    Posts
    20
    Plugin Contributions
    0

    Default Re: Text Attribute not showing up in cart

    Quote Originally Posted by haredo View Post
    Cindy,
    Have you loaded a module that loads in your override directory..

    1. tpl_products_info_display.php
    No, I haven't, is that in the templates directory and I have to move it to my template directory? Thanks

  6. #6
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Text Attribute not showing up in cart

    If you have a custom copy of a relevant file in /includes/templates/your_template/templates/ or /includes/modules/your_template/, it might be the cause of your problem. If not, there is something else going on.

    Relevant files for this case might be /includes/modules/attributes.php, or /includes/classes/shopping_cart.php (check if the date on this file is newer (in cPanel) than the rest of the files).

  7. #7
    Join Date
    Feb 2011
    Posts
    20
    Plugin Contributions
    0

    Default Re: Text Attribute not showing up in cart

    Quote Originally Posted by gjh42 View Post
    If you have a custom copy of a relevant file in /includes/templates/your_template/templates/ or /includes/modules/your_template/, it might be the cause of your problem. If not, there is something else going on.

    Relevant files for this case might be /includes/modules/attributes.php, or /includes/classes/shopping_cart.php (check if the date on this file is newer (in cPanel) than the rest of the files).
    I have tpl_products_info_display.php in my /includes/templates/my_template/templates/
    but I don't have tpl_modules_attributes.php in that same file.

    I also have both files in /includes/templates/template_default/templates

    should I copy the tpl_modules_attributes.php to /includes/templates/my_template/templates/ or delete tpl_products_info_display.php from /includes/templates/my_template/templates/

    also there is a wide variety of dates on my files and I am using the current version of zencart
    Thanks so much

  8. #8
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Text Attribute not showing up in cart

    The date that matters here is not what is in the comments at the top of the file, but what your server file manager says is the last modified date.

    Do not put copies of any files into /your_template/ folders unless you are intentionally modifying those files.
    tpl_product_info_display.php can't actually affect the processing of attributes or the shopping cart display; those are handled by other files.

    Have you seen the missing text values on other products? What happens if you make a new dummy product with a new text attribute?
    Last edited by gjh42; 8 Mar 2011 at 04:31 PM.

  9. #9
    Join Date
    Feb 2011
    Posts
    20
    Plugin Contributions
    0

    Default Re: Text Attribute not showing up in cart

    Quote Originally Posted by gjh42 View Post
    The date that matters here is not what is in the comments at the top of the file, but what your server file manager says is the last modified date.

    Do not put copies of any files into /your_template/ folders unless you are intentionally modifying those files.
    tpl_product_info_display.php can't actually affect the processing of attributes or the shopping cart display; those are handled by other files.

    Have you seen the missing text values on other products? What happens if you make a new dummy product with a new text attribute?
    The /includes/classes/shopping_cart.php shows last modified 10/22/2010
    All products with a text attribute behave this way and I made a "test" product with text attribute and same thing. Should I just compare my files to a clean zencart and custom template and see if I'm missing a file somewhere? I know that will take a long time but I'm not sure why this is happening. evrything else works great and I'm almost finished adding jewelry......oooh I'm so close!
    Oh yeah, I checked my test purchase in admin and no attributes are showing up there either but as I said before they are showing up in both customer email and admin email.
    Thanks so much I appreciate all the help and I hope we can figure this out!

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

    Default Re: Text Attribute not showing up in cart

    Should I just compare my files to a clean zencart and custom template and see if I'm missing a file somewhere? I know that will take a long time
    Only a few minutes to do the compare if using a tool like beyond compare or the free winmerge

    Just download your filwes to location "A" and expand a fresh set to location "B" both on your local

    Select the two locations and let the application compare all files
    Last edited by Ajeh; 9 Mar 2011 at 03:20 PM. Reason: fixed typo

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. TEXT field attribute not showing
    By ojoonline in forum Setting Up Categories, Products, Attributes
    Replies: 29
    Last Post: 28 Aug 2010, 01:05 PM
  2. Text Box Attribute - text not wrapping in shopping cart
    By cowgirlmodel in forum Setting Up Categories, Products, Attributes
    Replies: 8
    Last Post: 23 Oct 2009, 07:00 PM
  3. Text field attribute not showing in IE
    By scitrenbaum in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 18 Jan 2008, 04:50 PM
  4. Product attribute (size) not showing in cart
    By donplay in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 23 Oct 2007, 05:20 AM
  5. Chosen attribute not showing up in cart
    By staceyb in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 19 Jan 2007, 03:23 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