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.
I also did a print_r($product['attributes'];Code:<li><?php echo $value['products_options_name'] . TEXT_OPTION_DIVIDER . nl2br($value['products_options_values_name']);?></li>
This is the output:
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.HTML Code:<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>
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


Reply With Quote
