Originally Posted by
lat9
The form on your product_info page(s) doesn't include the securityToken variable, most likely because your Zen Cart v1.3.9 variant of /includes/templates/YOUR_TEMPLATE/tpl_product_info_display.php hard-codes the <form> statement rather than using the Zen Cart zen_draw_form function, which properly appends the hidden variable that contains the securityToken.
If you are receiving the error when you change to the classic template, that says to me that you overwrote the ZC1.5.3 template_default directory with the ZC1.3.9 versions of the files when you performed the upgrade.
My product info page form start:
Code:
<!--bof Form start-->
<?php echo zen_draw_form('cart_quantity', zen_href_link(zen_get_info_page($_GET['products_id']), zen_get_all_get_params(array('action')) . 'action=add_product', $request_type), 'post', 'enctype="multipart/form-data"') . "\n"; ?>
<!--eof Form start-->
My product info page in the default template is exactly as it came from the 1.5.3 package.
Bookmarks