Results 1 to 3 of 3

Thread: Clearing the contents of the cart programatically

  1. #1
    Join Date
    May 2009
    Posts
    34

    Default Clearing the contents of the cart programatically

    Hi,
    The Cancel order or the Edit: Clear Cart of my ASPDNSF is not working (under phone order), When I cancel the order it should clear the contents of my shopping cart or when I use the button Edit:Clear Cart, this is not happening. I have verified the code and it is:

    Code:
    ShoppingCart.StaticClearContents(System.Int32.Parse(CustomerID.Text), CartTypeEnum.ShoppingCart, Nothing)
    Can you please help with this. When I use the customer again, the cart still has the products in there. Now if I place and complete the order it will clear out the shopping cart but not when I use those two buttons.

    I am on:

    AspDotNetStorefront ML 8.0.1.2/8.0.1.2
    Execution Mode: 32 Bit

    Thanks in advanced for any help on the matter.

    Hiva

  2. #2
    Join Date
    May 2009
    Posts
    34

    Default

    any thoughts on this matter?

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

    Default

    Send this to support. I got this replicated locally, it seems like a problem with the StaticClearContents() method not finding the exact CustomerID.

Posting Permissions

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