![]() |
get price of an item |
Post Reply ![]() |
Author | |
jbgolee ![]() Newbie ![]() Joined: 29-September-2009 Location: Canada Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() Posted: 29-September-2009 at 4:25pm |
I was able get the Add to cart working outside of the store area using the form, but I want to show the price of the item from the store database. this is link to a sample page that need to show the price: http://www.embeddedautomation.com/products/mcontrol/mcontrol.asp Any suggestion?
|
|
![]() |
|
Greg Dinger ![]() Certified ProductCart Developers ![]() ![]() Joined: 23-September-2006 Location: United States Status: Offline Points: 238 |
![]() ![]() ![]() ![]() ![]() |
Build an ASP function that allows you to pass it a product ID, have it return a price, then display that value.
|
|
![]() |
|
jbgolee ![]() Newbie ![]() Joined: 29-September-2009 Location: Canada Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
Isn't there an ASP function in the productcart that I can reuse?
|
|
![]() |
|
Greg Dinger ![]() Certified ProductCart Developers ![]() ![]() Joined: 23-September-2006 Location: United States Status: Offline Points: 238 |
![]() ![]() ![]() ![]() ![]() |
You may want to examine home.asp or viewcategories.asp and see what you find within the included files that those pages reference. Just search on the field name you hope to gain access to.
I needed something like you describe for a project a while back, built a module that connects to the database and returns values. I just copy it into whatever site I am buiding when I have such a need, so I don't really have a memory of where you might be able to re-use some code.
|
|
![]() |
|
jbgolee ![]() Newbie ![]() Joined: 29-September-2009 Location: Canada Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
Thanks Greg, I was able get the price using the modifying the viewPrd.asp
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |