alpha2007 Posted November 6, 2008 Share Posted November 6, 2008 Some of the products in my shop will have very own individual websites each. The product can be purchased from the osCommerce shop and from the individual product website. I do not want to take the risk that I forget to update the new price in one of these, and so I thought it might be helpful if the price is only stored in the osCommerce shop and a script integrated in the HTML of the individual website (such as a "include" PHP command) gets the actual price from the osCommerce shop. In that way it is guaranteed that the respective product price is always correct. Is there a function, a script or a variable that can do exactly that? Thank you for your help! :D Tony Link to comment Share on other sites More sharing options...
ozEworks Posted November 6, 2008 Share Posted November 6, 2008 You would need to actually write an SQL command to look up the price in the database and it would have to be done as a php program as you have indicated. But you also need to set up your database so it can be accessed by a foreign domain. This would be custom code. Link to comment Share on other sites More sharing options...
alpha2007 Posted November 9, 2008 Author Share Posted November 9, 2008 You would need to actually write an SQL command to look up the price in the database and it would have to be done as a php program as you have indicated. But you also need to set up your database so it can be accessed by a foreign domain. This would be custom code. Thank you Kim. :) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.