Print Page | Close Window

get price of an item

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Customizing ProductCart
Forum Description: Exchange messages with other users that are customizing ProductCart.
URL: https://forum.productcart.com/forum_posts.asp?TID=3072
Printed Date: 23-July-2025 at 10:02am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: get price of an item
Posted By: jbgolee
Subject: get price of an item
Date 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?

 




Replies:
Posted By: Greg Dinger
Date 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.

-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |


Posted By: jbgolee
Date Posted: 29-September-2009 at 5:12pm
Isn't there an ASP function in the productcart that I can reuse?


Posted By: Greg Dinger
Date 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. 


-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |


Posted By: jbgolee
Date Posted: 30-September-2009 at 5:34pm
Thanks Greg, I was able get the price using the modifying the viewPrd.asp
 
 



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net