Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 3 of 3

Thread: Show Coupon Discription

  1. #1
    apastue@kingpar.com is offline Junior Member
    Join Date
    Nov 2009
    Location
    Michigan
    Posts
    20

    Default Show Coupon Discription

    Is there a way to have the coupon description show up on the shopping cart page after the customer enters the coupon code?

    I need this to show for special discount descriptions

  2. #2
    AspDotNetStorefront Staff - Scott's Avatar
    AspDotNetStorefront Staff - Scott is offline Administrator
    Join Date
    Mar 2007
    Location
    Ashland, OR
    Posts
    2,390

    Default

    It would take a little customization, but nothing too terribly complex.

    First, add a literal to the shoppingcart.aspx page where you want it to display. Something like:

    Code:
    <asp:literal ID="coupondesc" runat="server" Visible="true"></asp:literal>
    Then, in the codebehind, you'll need something like this to set the text value on the literal after the coupon is submitted:

    Code:
    coupondesc.Text = cart.Coupon.Description;
    You'll probably want that in all the btnUpdate methods - btnUpdateCart1_Click, btnUpdateCart2_Click, etc

  3. #3
    davlun is offline Member
    Join Date
    Apr 2010
    Posts
    36

    Default I also needed this

    Thanks. I also needed this.

    Want to try and use it to let the customer know the coupon was applied for free shipping, otherwise they do not see anything on the page to let them know the coupon applied.