apswater
VP-CART Super User
444 Posts |
Posted - February 26 2005 : 23:43:30
|
This is for 4.5 but the concept should work on any version
I got tired of always having to go back to admin to edit a product... I should have thought of this sooner.
Place this tag in your tmp_products.htm and tmp_productformat.htm and you can edit any of the products on the page on the fly. You have had to have logged in as an administrator at some point or you will get an unauthorized administrator error.
<a href="shopa_addproduct.asp?table=products&idfield=catalogid&which=[catalogid]"><font face="Arial" size="1" color="#DDDDDD">Edit</font>
I have it working here http://66.121.213.146/products/shopdisplayproducts.asp?id=1&cat=Laboratory+Water+Purification+Products
and here http://66.121.213.146/products/shopexd.asp?id=5148
I am working on the same for the categories but since I dont use a teplate there it is harder.... I'll post it when I figure it out..
I got it to work on the categories but my shopdosplaycategory file is so modified I am not sure how to explain how I did it. I'll send you the whole file if you like so you can figure it out.. it also has the bread crumbs and a different show category and show products stuff...
Edited by - apswater on February 27 2005 11:09:58
Edited by - apswater on February 28 2005 13:39:17 |
|