VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-Cart StoreFront Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 Edit on the fly...
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

VP-ASP Super User

393 Posts

Posted - February 26 2005 :  23:43:30  Show Profile  Visit apswater's Homepage  Reply with Quote
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

and here

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
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000