ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Customizing ProductCart
  New Posts New Posts RSS Feed - get price of an item
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

get price of an item

 Post Reply Post Reply
Author
Message
jbgolee View Drop Down
Newbie
Newbie


Joined: 29-September-2009
Location: Canada
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote jbgolee Quote  Post ReplyReply Direct Link To This Post Topic: get price of an item
    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?

 

Back to Top
Greg Dinger View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers
Avatar

Joined: 23-September-2006
Location: United States
Status: Offline
Points: 238
Post Options Post Options   Thanks (0) Thanks(0)   Quote Greg Dinger Quote  Post ReplyReply Direct Link To This Post Posted: 29-September-2009 at 4:31pm
Build an ASP function that allows you to pass it a product ID, have it return a price, then display that value.
Back to Top
jbgolee View Drop Down
Newbie
Newbie


Joined: 29-September-2009
Location: Canada
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote jbgolee Quote  Post ReplyReply Direct Link To This Post Posted: 29-September-2009 at 5:12pm
Isn't there an ASP function in the productcart that I can reuse?
Back to Top
Greg Dinger View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers
Avatar

Joined: 23-September-2006
Location: United States
Status: Offline
Points: 238
Post Options Post Options   Thanks (0) Thanks(0)   Quote Greg Dinger Quote  Post ReplyReply Direct Link To This Post Posted: 29-September-2009 at 5:30pm
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. 
Back to Top
jbgolee View Drop Down
Newbie
Newbie


Joined: 29-September-2009
Location: Canada
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote jbgolee Quote  Post ReplyReply Direct Link To This Post Posted: 30-September-2009 at 5:34pm
Thanks Greg, I was able get the price using the modifying the viewPrd.asp
 
 
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.046 seconds.