Upgraded from v1.3.9 to v1.5.1. I"m a little puzzled by this one. First, I'm not that great a programmer but had to take this over from a now defunct web development company. Below is the code to "add" and "view" the shopping cart. View cart works fine. For "add" to cart, the form statement is using encryption however I cannot find in 1.5.1 anyway to turn on encryption. Frankly I don't know why you need to encrypt a quantity value and a product id value, but like I said, I'm not that great a programmer. I can't find the JS function cart_quantity.submit(). Is encryption a plug-in for Zen?
This works fine in 1.3.9 Zen although I cannot find any switch to turn on/off encryption in that version either....?
<div id="shopping_cart"><form action="http://dev.piccexcellence.com/cart/index.php?main_page=product_info&cPath=1&products_id=2&action=add_pr oduct" enctype="multipart/form-data" method="post" name="cart_quantity"><input type="hidden" maxlength="6" name="cart_quantity" size="4" value="1" />
<input type="hidden" name="products_id" value="15" /> <a onmouseover="MM_swapImage('Image25','','/images/tag_add_to_cart1.png',1)" onmouseout="MM_swapImgRestore()" href="javascript:document.cart_quantity.submit()"><img id="Image25" alt="" src="/images/tag_add_to_cart.png" width="82" height="19" name="Image25" border="0" /></a>
<a onmouseover="MM_swapImage('Image26','','/images/tag_view_cart1.png',1)" onmouseout="MM_swapImgRestore()" href="http://dev.piccexcellence.com/cart/index.php?main_page=shopping_cart"><img id="Image26" alt="" src="/images/tag_view_cart.png" width="82" height="19" name="Image26" border="0" /></a></form></div>
Bookmarks