Color options in a static cart
I have several items in a product page, two are items with different colors. Created a similar scenario as above replacing sizes with colors one has six colors other has seven. When testing with localhost the color and quantity work well for both these items and there is a redirect to the cart page. However if another product is selected I have these errors appear at the top of the page and there is no redirect to the cart page.
Warning: Missing argument 10 for NBA_eCart_Definition::AddToCart(), called in /Applications/MAMP/htdocs/NBA/products.php on line 27 and defined in /Applications/MAMP/htdocs/NBA/WA_eCart/NBA_eCart_PHP.php on line 28
Notice: Undefined variable: itemColor in /Applications/MAMP/htdocs/NBA/WA_eCart/NBA_eCart_PHP.php on line 33
Warning: Cannot modify header information - headers already sent by (output started at /Applications/MAMP/htdocs/NBA/WA_eCart/NBA_eCart_PHP.php:28) in /Applications/MAMP/htdocs/NBA/products.php on line 1474