Considering what I'm seeing I'm doubting that I am using a correct copy of ZC 1.5.5e.
Using a demo product database, products_id=48, added a text field (Line 1) through attributes controller. Made the text field required.
Store is set to not go to the shopping cart after adding a product.
Didn't enter any text into the text box. Left the cart quantity as 1. Selected add-to-cart. Page "refreshed", error message appeared at the top, waited a little bit and then the page content redirected/reloaded to the category listing, but the url remained the same: index.php?main_page=product_info&products_id=48&number_of_uploads=0&action=add_p roduct. Attempted any other "error" producing add-to-cart action (not changing from the display only attribute, negative quantity of product and the system responds correctly, but empty required text box doesn't seem to respond correctly. Anyone else able to confirm such a simple operation/action?
Found this when testing out some features I was adding to Dynamic Product Updater associated with text fields. I wanted to see how the price changed and/or system responded when attempting to add a product to the cart that had a required text field without information entered and came up with the above. Put a damper on my remaining testing because I am/have been using at least one of the functions that cause the error message to display and would hope that it remains sound and that it is simply something else that is causing the odd redirect behavior.
Thanks.


Reply With Quote

