![]() |
Add "Preview product" on product modify in admin.
Simple mod, but quite useful I think, tested with version 4.0.18 of X-Cart. Adds a "Preview product" under the dialog tools on top of the modify product area in the admin. So its easy to preview any changes to a product on the customer side of things after editing/adding a product. :wink:
edit include/product_modify.php and locate: Code:
$dialog_tools_data["right"][] = array("link" => "orders.php", "title" => func_get_langvar_by_name("lbl_orders")); AFTER this line add: Code:
$dialog_tools_data["right"][] = array("link" => "../product.php?productid=$productid", "title" => "Preview Product"); You may need to change the link, ../product.php to your customer side location if your running off the webserver root, etc. Happy X-Carting. 8) |
Re: Add "Preview product" on product modify in admin.
Great Mod every little helps.
Thanks Boomer |
All times are GMT -8. The time now is 03:55 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.