| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | Mark Forums Read | User manuals | Login |
Shortcut to edit a product when viewing frontend | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Shortcut to edit a product when viewing frontend
Often, when viewing a product on the frontend, I'll notice an error and have found it a bit annoying to switch to the backend and search for the product before editing it. I put in a bit of code that allows me to easily edit a product by clicking a link on the frontend.
Note: I'm already logged into the backend in another tab and am logged into the frontend under a customer account I created for myself. Put this code somewhere on your product.tpl page. I have it right near the product title. Code:
What this does is show an Edit link if and only if you are logged in on the frontend under your customer account (don't forget to fill in your username above). I know some people in the past have had issues with being logged in to the backend and frontend at the same time, but it works fine for me and saves me a lot of time since I edit a lot of products. I depend on these forums greatly for help and hope that I can at least give a little help to someone else!
__________________
X-Cart Gold 4.3.1 Military Support Shop :: Army Wife Clothing, Military Support T-Shirts |
|||||||
#2
|
|||||||
|
|||||||
Re: Shortcut to edit a product when viewing frontend
Nice work TheWrongGrape.
Tested on 4.3.2 and works fine. Note that the product.tpl file is in /skin1/customer/main. Thank you, Andreas |
|||||||
#3
|
|||||||||
|
|||||||||
Re: Shortcut to edit a product when viewing frontend
Beautiful work!! Confirmed on version 4.4.5 Works like a CHARM KUDOS!!!
__________________
X-Cart version 4.6.6 X-Cart Gold Product Configurator Feature Comparison Website Manager www.RPMOFFROAD.com |
|||||||||
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|