Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Text Attribute not showing up in cart

Text Attribute not showing up in cart

Views: 2,738

Results 1 to 20 of 25
7 Mar 2011, 9:56 PM
#1
cindysfi avatar

cindysfi

New Zenner

Join Date:
Feb 2011
Posts:
20
Plugin Contributions:
0

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.com/zen/index.php?main_page=product_info&cPath=4&products_id=25

Thanks so much for any help!

8 Mar 2011, 2:28 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

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

8 Mar 2011, 3:17 AM
#3
cindysfi avatar

cindysfi

New Zenner

Join Date:
Feb 2011
Posts:
20
Plugin Contributions:
0

Re: Text Attribute not showing up in cart

kobra:

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

8 Mar 2011, 3:40 AM
#4
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,180
Plugin Contributions:
0

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
8 Mar 2011, 5:32 AM
#5
cindysfi avatar

cindysfi

New Zenner

Join Date:
Feb 2011
Posts:
20
Plugin Contributions:
0

Re: Text Attribute not showing up in cart

haredo:

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

8 Mar 2011, 8:37 AM
#6
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

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

8 Mar 2011, 2:44 PM
#7
cindysfi avatar

cindysfi

New Zenner

Join Date:
Feb 2011
Posts:
20
Plugin Contributions:
0

Re: Text Attribute not showing up in cart

gjh42:

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 Mar 2011, 3:27 PM
#8
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

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?

8 Mar 2011, 11:21 PM
#9
cindysfi avatar

cindysfi

New Zenner

Join Date:
Feb 2011
Posts:
20
Plugin Contributions:
0

Re: Text Attribute not showing up in cart

gjh42:

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!

8 Mar 2011, 11:27 PM
#10
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

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

8 Mar 2011, 11:29 PM
#11
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Text Attribute not showing up in cart

I know that will take a long timeNot if you use winmerge or another such tool. It will immediately eliminate all identical files, leaving only your template files and any core files with differences to be manually checked against originals.

8 Mar 2011, 11:51 PM
#12
cindysfi avatar

cindysfi

New Zenner

Join Date:
Feb 2011
Posts:
20
Plugin Contributions:
0

Re: Text Attribute not showing up in cart

Thank you both so much! I will do this and let you know if that takes care of it and what was missing if that's the case

9 Mar 2011, 11:45 PM
#13
cindysfi avatar

cindysfi

New Zenner

Join Date:
Feb 2011
Posts:
20
Plugin Contributions:
0

Re: Text Attribute not showing up in cart

could it be a problem in my database? I don't see anything significant missing from my files. I sooo don't want to reinstall
Thanks

10 Mar 2011, 2:17 AM
#14
cindysfi avatar

cindysfi

New Zenner

Join Date:
Feb 2011
Posts:
20
Plugin Contributions:
0

Re: Text Attribute not showing up in cart

ok, did a whole fresh install in another directory
no add ons, made a test product with text attribute and still the same problem
here's the new url http://www.cindysfinejewelrydesigns.com/mystore/
any ideas? thanks so much!

10 Mar 2011, 2:31 AM
#15
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Text Attribute not showing up in cart

Bad link

You can see a stock install **HERE**

10 Mar 2011, 4:04 AM
#16
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,180
Plugin Contributions:
0

Re: Text Attribute not showing up in cart

Cindy,
What version of Zen Cart are you using?
I have a fresh install of 139h and all is well in the shopping cart for a Text attribute with any type of wording ..

10 Mar 2011, 5:36 AM
#17
cindysfi avatar

cindysfi

New Zenner

Join Date:
Feb 2011
Posts:
20
Plugin Contributions:
0

Re: Text Attribute not showing up in cart

kobra:

Bad link

You can see a stock install **HERE**

worked for me earlier but not now maybe server error

10 Mar 2011, 5:36 AM
#18
cindysfi avatar

cindysfi

New Zenner

Join Date:
Feb 2011
Posts:
20
Plugin Contributions:
0

Re: Text Attribute not showing up in cart

haredo:

Cindy,
What version of Zen Cart are you using?
I have a fresh install of 139h and all is well in the shopping cart for a Text attribute with any type of wording ..

I have 139h also thanks

10 Mar 2011, 6:04 AM
#19
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Text Attribute not showing up in cart

Did you ever have text attributes working that you know of? If not, there may be something squirrelly about your server setup. I don't know what could cause such a malfunction, but fresh code that fails the same as what you have been working on indicates that it's not the code at fault.

Who is your host? What info do you have in admin > Tools > Server info?

11 Mar 2011, 2:30 AM
#20
cindysfi avatar

cindysfi

New Zenner

Join Date:
Feb 2011
Posts:
20
Plugin Contributions:
0

Re: Text Attribute not showing up in cart

gjh42:

Did you ever have text attributes working that you know of? If not, there may be something squirrelly about your server setup. I don't know what could cause such a malfunction, but fresh code that fails the same as what you have been working on indicates that it's not the code at fault.

Who is your host? What info do you have in admin > Tools > Server info?

I didn't put any products in until after I had the design and everything the way I wanted it and it never worked. I did try a fresh install and it didn't work either.

I use startlogic.com. Here is what is under the server portion:
Server Host: boscgi1803.eigbox.net (38.113.1.136) Database Host: cindysfi.startlogicmysql.com (10.20.40.85)
Server OS: Linux 2.6.35.8-nx Database: MySQL 5.0.91-log
Server Date: 03/10/2011 21:24:44 Database Date: 03/10/2011 21:24:46
Server Up Time: Unsupported HTTP Server: Apache/2
PHP Version: 4.4.9 (Zend: 1.3.0) PHP Memory Limit: 12M PHP Safe Mode: Off
PHP File Uploads: On Max Size: 10M POST Max Size: 11M
Database Data Size: 793 kB Database Index Size: 583 kB

Then all the php info stuff is under that
Thanks