示例#1
0
    private static void searchForItemAndAddItemToCart(string itemCategory)
    {
        string itemUrl = PurchaseCurrentOutfit.getItemUrl(itemCategory);

        //Debug.Log(itemUrl);
        AddToCart.AddItemToCart(itemUrl);
    }
    public void SetStoreFrontProductPrice()
    {
        string topsUrl  = PurchaseCurrentOutfit.getItemUrl("tops");
        string pantsUrl = PurchaseCurrentOutfit.getItemUrl("pants");
        string shoesUrl = PurchaseCurrentOutfit.getItemUrl("shoes");

        priceOfTop   = PurchaseCurrentOutfit.FindItemPrice(topsUrl);
        priceOfPants = PurchaseCurrentOutfit.FindItemPrice(pantsUrl);
        priceOfShoes = PurchaseCurrentOutfit.FindItemPrice(shoesUrl);
    }