Simple mods to make X-Cart admin life easier
One of the anoyoing bits of X-Cart's modify product area is the javascript prompt about how I need to remember to click save to actually associate the uploaded image.
Since I already know that changing the thumbnail on a product requires me to click "Save" or else the temporary image is lost. By removing the js confirm from the "Change Image" under the product thumbnail. You can skip a click!
First edit skin1/main/product_details.tpl
Note that all this was done with version 4.0.x of X-Cart but most likely will apply similarly to 4.1.x of X-Cart.
Find this line:
Change to:
Note, we removed the confirm() Javascript function. Perhaps X-Cart should get rid of the temporary image display confirmation and just set the thumbnail after uploading it. Which brings me to another quick fix.
Edit skin1/single/home.tpl (Pro version this file will differ) locate:
And change to:
What this will do is, after uploading a new thumbnail to your product, there will be no need to click the "Save" button, as it will auto-magically save it with the onload javascript event handler in the body tag that I added. Keep in mind this can make editing multiple product images a pain. Unless your really quick to get to the checkbox :) However its rare that I have to change multiple product images, however if you need then you'll have to disable this one in order to apply an image to multiple products.
Another good trick if your using the File System for storring images is to "select" the default drop down on the popup_image_selection.tpl file.
Cart-Lab.com: X-cart Resources, and More!
0 Comments:
Post a Comment
<< Home