Search found 11 matches
- Tue Apr 05, 2016 5:23 pm
- Forum: AbleCommerce GOLD
- Topic: Programmatically getting all products from all categories
- Replies: 1
- Views: 2975
Programmatically getting all products from all categories
Hi, Recently upgraded to Gold and am unable to load all products from all categories. In the past, I used to be able to do this: Function GetProducts() As ArrayList Dim dataSource As ProductDataSource = New ProductDataSource() Dim productCollection As ProductCollection = dataSource.LoadForStore() Di...
- Tue Jul 13, 2010 7:10 pm
- Forum: AbleCommerce 7.0 Asp.Net Shopping Cart
- Topic: Intermittent "Invalid Viewstate" error
- Replies: 2
- Views: 2356
Re: Intermittent "Invalid Viewstate" error
Thanks for the reply, but that doesn't seem to be the problem. I have tried constant clicking and I just can't seem to replicate the problem. I really need to turn this off! or maybe lower it somehow.
- Thu Jul 08, 2010 1:42 pm
- Forum: AbleCommerce 7.0 Asp.Net Shopping Cart
- Topic: Intermittent "Invalid Viewstate" error
- Replies: 2
- Views: 2356
Intermittent "Invalid Viewstate" error
Hi, whenever I go through the error log I see hundreds of "Invalid Viewstate" Errors. I can't replicate the errors myself, but I would like to turn off/limit the viewstate. I tried putting a directive in web.config and _VIEWSTATE still shows up. I tried turning it off per page and it still shows up....
- Fri Nov 06, 2009 10:34 am
- Forum: AbleCommerce 7.0 Asp.Net Shopping Cart
- Topic: How do I iterate through product "options"?
- Replies: 15
- Views: 11742
Re: How do I iterate through product "options"?
Thanks mazhar and all, that worked.
- Fri Oct 30, 2009 10:33 am
- Forum: AbleCommerce 7.0 Asp.Net Shopping Cart
- Topic: How do I iterate through product "options"?
- Replies: 15
- Views: 11742
Re: How do I iterate through product "options"?
Hi all, Sorry I didn't reply for a while, I was working on a different project for the past month, but anyways, I tried Andy's method and it didn't work for me (maybe I am doing it wrong). And no, I did not try placing a debugging point but I did however place exact values in the function call "Crea...
- Sat Oct 03, 2009 11:44 am
- Forum: AbleCommerce 7.0 Asp.Net Shopping Cart
- Topic: How do I iterate through product "options"?
- Replies: 15
- Views: 11742
Re: How do I iterate through product "options"?
i am using build 7.0.3
- Fri Oct 02, 2009 4:02 pm
- Forum: AbleCommerce 7.0 Asp.Net Shopping Cart
- Topic: How do I iterate through product "options"?
- Replies: 15
- Views: 11742
Re: How do I iterate through product "options"?
Hey Andy, I followed your guidelines and unfortunately it is still not working. In order to make sure that the option choices do exist, I used the commercebuilder API to display their IDs. I did the following to obtain all of the choice / variant ids for each of the options: Dim product As Product =...
- Thu Oct 01, 2009 7:42 pm
- Forum: AbleCommerce 7.0 Asp.Net Shopping Cart
- Topic: How do I iterate through product "options"?
- Replies: 15
- Views: 11742
Re: How do I iterate through product "options"?
That is what I initially thought, but when I look in the "options and variants" section of the admin menu, it shows that the option ids for this specific product are 1 & 2 and these are the ids I am passing when I get the error. I would also like to add that since I am fairly new to AbleCommerce, I ...
- Tue Sep 29, 2009 7:33 pm
- Forum: AbleCommerce 7.0 Asp.Net Shopping Cart
- Topic: How do I iterate through product "options"?
- Replies: 15
- Views: 11742
Re: How do I iterate through product "options"?
Thanks for the reply Andy, I tried the following (using VB) Dim basketItem As BasketItem = BasketItemDataSource.CreateForProduct(Convert.ToInt32(productId), Convert.ToInt16(productQty), optionId, String.Empty) And I am getting the following error: Exception of type 'System.Web.HttpUnhandledException...
- Mon Sep 28, 2009 7:39 pm
- Forum: AbleCommerce 7.0 Asp.Net Shopping Cart
- Topic: How do I iterate through product "options"?
- Replies: 15
- Views: 11742
Re: How do I iterate through product "options"?
Thanks Logan, What I am doing is this for the case where an option ID is specified: Dim basketItem As BasketItem = BasketItemDataSource.CreateForProduct(Convert.ToInt32(productId), Convert.ToInt16(productQty), Convert.ToInt32(optionId)) Token.Instance.User.Basket.Items.Add(basketItem) Token.Instance...
- Thu Sep 10, 2009 4:16 pm
- Forum: AbleCommerce 7.0 Asp.Net Shopping Cart
- Topic: How do I iterate through product "options"?
- Replies: 15
- Views: 11742
How do I iterate through product "options"?
Hi, I need to iterate through the various product options (color, choices) that I defined in the admin panel for my products. How would I do so code wise? What classes would I need to instantiate? Sample code will greatly be appreciated!