If you want to put only addtocart without wishlist .... here is code
<xsl:value-of select="aspdnsf:AddtoCartForm(ProductID, VariantID, 0, 0, 1)" disable-output-escaping="yes"/>
What is the code for only wishlist without addtocart ??
If you want to put only addtocart without wishlist .... here is code
<xsl:value-of select="aspdnsf:AddtoCartForm(ProductID, VariantID, 0, 0, 1)" disable-output-escaping="yes"/>
What is the code for only wishlist without addtocart ??
The code you've posted is actually an 'add to cart' function, it can't be for turning on/off the 'add to cart' button display. There is 'Show Buy Button' property in the product manager's page you can set to NO, if that would help.
show buy.jpg
Otherwise, you need a source to turn off entirely the 'Buy Button' in all XMLPackages.
As for the wishlist button, it can be easily turned off via an appconfig parameter, ShowWishButtons.
If you only want the add to wishlist button - you can write it yourself in the xmlpackage & output it as you wish.
TTFN
BFG
<a href="addtocart.aspx?productid={aspdnsf:GetMLValue (ProductID)}&variantid={aspdnsf:GetMLValue(Var iantID)}&iswishlist=1" title="Wishlist">Wishlist</a>