Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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?
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
Im using Product.GetPrice(PriceGroup.Get(7)).Value, it seems like it is accessing the Request object behind the scenes...
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...
Write your reply to:
Image will be uploaded when post is submitted