- Moderator
- 1044
Help make Nop-Templates products better. Share your ideas or feature requests related to the Nop Motion Theme for nopCommerce.
@if (!Model.DisableWishlistButton && Model.UpdatedShoppingCartItemId == 0)
{
<input type="button" id="[email protected]" class="button-2 add-to-wishlist-button" value="@T("ShoppingCart.AddToWishlist")" data-productid="@Model.ProductId" onclick="AjaxCart.addproducttocart_details('@Url.RouteUrl("AddProductToCart-Details", new { productId = Model.ProductId, shoppingCartTypeId = (int)ShoppingCartType.Wishlist })', '#product-details-form');return false;" />
}
@if (!Model.ProductPrice.DisableWishlistButton)
{
<div class="add-to-wishlist">
<input type="button" id="[email protected]" class="button-2 add-to-wishlist-button" value="@T("ShoppingCart.AddToWishlist")" data-productid="@Model.Id" onclick="AjaxCart.addproducttocart_details('@Url.RouteUrl("AddProductToCart-Details", new { productId = Model.Id, shoppingCartTypeId = (int)ShoppingCartType.Wishlist })', '#product-details-form');return false;" />
</div>
}