<button type="button" class="button-2 product-box-add-to-cart-button" onclick="AjaxCart.addproducttocart_catalog('@addtocartlink');return false;">@(addToCartText)</button>
@* Add a details button *@
<input type="button" value="@T("Products.Details")" class="button-1 product-box-detail-button" onclick="setLocation('@Url.RouteUrl("Product", new { SeName = Model.SeName })')" />
}
Now I'm trying to upgrade to NOP 4.6.6 and the button just doesn't work anymore. If I view the page source it shows
<input type="button" value="Details" class="button-1 product-box-detail-button" onclick="setLocation(' ')" />
Everything after setLocation has been removed somehow. Can anyone help me understand what is happening and what to do about it? Thanks.