Forums / General Questions / Text attributes not showing in cart

Text attributes not showing in cart

Views: 838

Results 1 to 4 of 4
19 Feb 2011, 10:14 PM
#1
ashelb avatar

ashelb

New Zenner

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

Text attributes not showing in cart

When I add a product to my cart that has a text option, the actual text that gets entered does not show up on the shopping cart page.

I have a fresh ZC install on godaddy linux VP server, 1.3.9h with no mods installed.

I found this in the tpl_document_product_info_display.php page where the option values are added below each product.

<li><?php echo $value['products_options_name'] . TEXT_OPTION_DIVIDER . nl2br($value['products_options_values_name']);?></li>

I also did a print_r($product['attributes'];

This is the output:

<ul>Array
(
    [5] => Array
        (
            [products_options_name] => Height
            [options_values_id] => 1
            [products_options_values_name] => 1 inch
            [options_values_price] => 0.0000
            [price_prefix] => +
        )

    [4] => Array
        (
            [products_options_name] => Line 1 Text
            [options_values_id] => 0
            [products_options_values_name] => 
            [options_values_price] => 0.0000
            [price_prefix] => +
        )

)

<li>Height - 1 inch</li>


<li>Line 1 Text - </li>

</ul>

You can see the product_options_values_name is empty for the Line 1 Text but it WAS add on the product page. If I click the link in the shopping cart for the product I get taken back to the product page with the Line 1 Text filled in with the text I had entered before adding to cart. So I know it's keeping it in session most likely.

My question, is the text that users input to the text option field supposed to show up in the cart?

If it is, it's not working for me. Any ideas?

If it is not supposed to be output, and ideas on how I could make it output to the shopping cart page?

Thanks

20 Feb 2011, 4:09 AM
#2
ashelb avatar

ashelb

New Zenner

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

Re: Text attributes not showing in cart

Found an answer, this site:

custom dog collars

When I add a name to the collar it shows up in the cart.

On my site it does not show up. I guess I'll reload the whole site tomorrow and see if it "fixes" itself.

20 Feb 2011, 1:48 PM
#3
ashelb avatar

ashelb

New Zenner

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

Re: Text attributes not showing in cart

Well, I tried reloading the entire cart. Wiped the files, deleted the DB, created a new. Completely virgin install. Still having the same problem????? The link above will get you to the cart, only one product right now.

I have tried using all the different cache settings (database, file, none) with no luck.

Next will be trying an older version of zen cart to see if maybe it's an issue with version 1.3.9h.

Anyone, ideas?

20 Feb 2011, 11:43 PM
#4
ashelb avatar

ashelb

New Zenner

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

Re: Text attributes not showing in cart

I rolled back ZC to version 1.3.9.f and it works fine now.

Believe this to be a bug with 1.3.9h.

Text option does not show up in the shopping cart for whatever reason.