Results 1 to 4 of 4

Thread: Only Addtocart button on entity page

  1. #1
    Join Date
    Jan 2011
    Posts
    22

    Lightbulb Only Addtocart button on entity page

    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 ??

  2. #2
    Join Date
    Nov 2007
    Posts
    2,244

    Default

    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.

  3. #3
    Join Date
    Oct 2006
    Location
    South UK
    Posts
    873

    Default

    If you only want the add to wishlist button - you can write it yourself in the xmlpackage & output it as you wish.



    TTFN

    BFG

  4. #4
    Join Date
    Jan 2011
    Posts
    22

    Default

    <a href="addtocart.aspx?productid={aspdnsf:GetMLValue (ProductID)}&amp;variantid={aspdnsf:GetMLValue(Var iantID)}&amp;iswishlist=1" title="Wishlist">Wishlist</a>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •