First of all how do you get the price right now, which method cause the trouble? You can also post some code so it's easier to see what you have and what you're missing.
Which version of uCommerce are you using?
Can you paste your StackTrace as well? I have tried to take a look inside uCommerce but I can't find some specific code using HttpContext so a stacktrace will be awesome :)
Get Product Price when Request is not available?
Hi i'm trying to index my products using lucene at Application_Startup, but I get an Exception saying that Request is not available at this time.
Is there any way of getting the price without Request?
Regards Kenneth
Hi Kenneth,
First of all how do you get the price right now, which method cause the trouble? You can also post some code so it's easier to see what you have and what you're missing.
Best regards Martin
Hi Martin
Im using Product.GetPrice(PriceGroup.Get(7)).Value, it seems like it is accessing the Request object behind the scenes...
Kenneth
Hi Kenneth,
Which version of uCommerce are you using? Can you paste your StackTrace as well? I have tried to take a look inside uCommerce but I can't find some specific code using HttpContext so a stacktrace will be awesome :)
best regards Martin
is working on a reply...