All right!
Problem solved. I was passing more attributes to ZC 1.5.1 than the attributes the product has.
Solution was:
Include with the ZC 1.5.1 function
Code:
zen_draw_hidden_field('securityToken', $_SESSION['securityToken'])
the value of securityToken in the form.
Code:
<form action="http://localhost:8888/zc15/index.php?main_page=product_info&cPath=18&products_id=910&number_of_uploads=0&action=add_product" method="post" enctype="multipart/form-data" name="cart_quantity" id="cart_quantity">
<input type="hidden" name="securityToken" value="6f64e3a15e24fa6d55e1813bc6cf99ec"></input>
<input type="hidden" name="id[TEXT_PREFIX9]" value="Text"></input>
<input type="hidden" name="id[TEXT_PREFIX5]" value="_-_-_-_-_-_-_-_-_-_-"></input>
<input type="hidden" name="cart_quantity" value="1"></input>
<input type="hidden" name="products_id" value="910"></input>
<input name="" type="submit" value="submit"></input>
Make sure you send the correct attributes of the product.
Think, that using the securityToken you can embed swf that send product to the cart.
Enjoy!
THREAT SOLVED!!