Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2011
    Posts
    4
    Plugin Contributions
    0

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

    Code:
    <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:

    HTML Code:
    <ul>Array
    (
        [5] =&gt; Array
            (
                [products_options_name] =&gt; Height
                [options_values_id] =&gt; 1
                [products_options_values_name] =&gt; 1 inch
                [options_values_price] =&gt; 0.0000
                [price_prefix] =&gt; +
            )
    
        [4] =&gt; Array
            (
                [products_options_name] =&gt; Line 1 Text
                [options_values_id] =&gt; 0
                [products_options_values_name] =&gt; 
                [options_values_price] =&gt; 0.0000
                [price_prefix] =&gt; +
            )
    
    )
    
    <li>Height&nbsp;-&nbsp;1 inch</li>
    
    
    <li>Line 1 Text&nbsp;-&nbsp;</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

  2. #2
    Join Date
    Feb 2011
    Posts
    4
    Plugin Contributions
    0

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

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

    Default 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?

  4. #4
    Join Date
    Feb 2011
    Posts
    4
    Plugin Contributions
    0

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

 

 

Similar Threads

  1. v154 Attributes File and Text options not showing in drop down
    By caaszc in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 7 Jul 2015, 01:58 PM
  2. Attributes not showing in cart
    By raildawg in forum General Questions
    Replies: 14
    Last Post: 19 Aug 2011, 05:41 AM
  3. text attributes option value not showing (only english language)
    By bear1728 in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 18 Aug 2009, 08:53 PM
  4. Replies: 7
    Last Post: 10 May 2009, 02:45 PM

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