Whenever you click on a category and go to the page which lists the items in that category there are "add to cart " and "add to wish list" buttons. I assume these are being generated from the entity.simpleproductlist.xml.config file line that says
Code:
<xsl:value-of select="aspdnsf:AddtoCartForm(ProductID, VariantID, 0, 'left')" disable-output-escaping="yes" />
However when I click on them... nothing happens!
When I click on "Read More" or on the name of an item and go to it's solo view (or product view or whatever it's called) the "Add to cart" and "Add to wish list" buttons DO work.....
O.k. now lets go back to the page that lists all of the items in a category. If I go to the error console on Firefox or Internet Explorer (not in the admin section, but rather the "this page has loaded, but with errors" console) it shows this message:
Code:
Error: aspdnsf is not defined
Source File: http://localhost/storefront_arg/c-2-asb-buckles.aspx
Line: 254
"Line: 254" is the one in bold below:
Code:
<script type="text/javascript" language="Javascript" >
$window_addLoad(function(){
var ctrl_AddToCartForm_81637_10786 = new aspdnsf.Controls.AddToCartForm(81637, 10786);
ctrl_AddToCartForm_81637_10786.setValidationRoutine( function(){ return AddToCartForm_81637_10786_Validator(theForm) } );
ctrl_AddToCartForm_81637_10786.setUseAjaxBehavior(false);
ctrl_AddToCartForm_81637_10786.registerButton('AddToCartButton_81637_10786', 0);
ctrl_AddToCartForm_81637_10786.registerButton('AddToWishButton_81637_10786', 1);
});</script>
That error doesn't occur in the solo/product view yet the same line of code exists.
I've looked in a lot of places and compared old to new version of various xml.config files, but I 'm missing something.
Any help would be greatly appreciated! ![Smile](../images/smilies/smile.png)
Details: ASPDNSF Version 9.0.1.2 upgraded from version 8 which in turn was recently upgraded from version 7.