OSCommerce Product Manager for Windows
FS#136 - Add interface for remote PHP scripts...
Attached to Project:
OSCommerce Product Manager
Opened by Mario A. Valdez-Ramirez (mvaldez) - Friday, 15 October 2004, 00:52 GMT
Last edited by Mario A. Valdez-Ramirez (mvaldez) - Friday, 15 October 2004, 00:52 GMT
Opened by Mario A. Valdez-Ramirez (mvaldez) - Friday, 15 October 2004, 00:52 GMT
Last edited by Mario A. Valdez-Ramirez (mvaldez) - Friday, 15 October 2004, 00:52 GMT
|
DetailsAn user suggested in the forums to support the call of custom PHP scripts, passing product parameters to them.
The example given by the user is as follow: > I have a PHP script named novelty.php > and you only have to pass the id of the product > as parameter and that product will be listed > first in the main page. Well, to do it in a > generic way: in the options add a tab with the > following: (with X marked those we want active) > [X] NAME1 URL1 > [ ] NAME2 URL2 > [ ] NAME3 URL3 > Then in the name we use the name of the function, > for example "Tag as Novelty" and in the URL we use > "http://tienda.com/admin/novelty.php?id=". So, > when we click on the product with the right button, > along with the defaul options it would appear a > new one named "Tag as Novelty" and when clicked it > would load the URL "http://tienda.com/admin/novelty.php?id=XXXX" > where XXXX is the number of the product and > novelty.php is the PHP script that would tag the > product as novelty (the first of the main page). > If you can't understand it tell me and I'll > explain it better. |
This task depends upon