When this occurs I would like to remove them from the attributes array in the cart array.
I started with a simple if statement that worked to keep them from displaying in shopping_cart.php, but would require it also in aacount_history.php, orders.php, the email generating code, etc. So it would be easier if I could just keep them from being inserted into the $cart array.
I am having trouble tracking down where the posted values from product_info.php get put into the array.
product_info.php posts to it's self, then application_top.php redirects based on the "action" value. You land on shopping_cart.php, yet I can not find where the Attributes are added to the $cart array. The catalog/includes/classes/shopping_cart.php looks like it should be in there, but I can't find it.
Eg. print_r($cart)
shoppingCart Object
(
[contents] => Array
(
[102{6}13{3}37{4}26{5}38] => Array
(
[qty] => 1
[attributes] => Array
(
[6] => 13
[3] => 37
[4] => 26
[5] => 38
)
)
[116{7}41{8}47{4}26{3}37{5}38{6}36] => Array
(
[qty] => 1
[attributes] => Array
(
[7] => 41
[8] => 47
[4] => 26
[3] => 37
[5] => 38
[6] => 36
)
)
)
[total] => 129.9
[weight] => 0
[cartID] => 58104
[content_type] => physical
)
So lets say that all these attributes, except the first and third on each product came back with a value of 'Please select' when checked against the product_options_values.product_options_values_name table
I want them to be skipped over and not instead into the array, and thus not being part of the order either.










