Results 1 to 2 of 2

Thread: Help Multistore 9.2 and Add Ins

  1. #1
    Join Date
    Jul 2009
    Location
    Yakima,WA
    Posts
    5

    Default Help Multistore 9.2 and Add Ins

    As a test I built a class using the order options contract with no luck other than getting it to show up in the add in manager. My goal is to build my own taxrate addin to do some custom fee calculation on products. Does someone have an example or documentation (other than erps manual)?

  2. #2
    Join Date
    Jul 2009
    Location
    Yakima,WA
    Posts
    5

    Default

    Using IInventory Contract with IShoppingCart GetInventories(IShoppingCart products, InventoryRequestTypeFlags requestType). How would one return a modified quantity back to the cart?

    Thus far I have:

    [AddIn("Inventory",
    Version = "1.0.0.0",
    Description = "Inventory",
    Publisher = "me")]

    public class CheckInventory : IInventory
    {

    public IShoppingCart GetInventories(IShoppingCart products, InventoryRequestTypeFlags requestType)
    {

    foreach (ICartItem ICitem in products.Items())
    {
    int itemQTY=ICitem.Quantity();

    //code to modify this items quantity

    }

    //something modifed to return as a modified IShoppingCart
    return products;
    }

    }
    Last edited by verishare; 02-18-2012 at 12:08 PM.

Posting Permissions

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