This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
tutorials:zencartmods:helper.html [2011/05/25 17:59] daigo created |
tutorials:zencartmods:helper.html [2016/01/28 18:05] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
==== Making an Admin Helper File ==== | ==== Making an Admin Helper File ==== | ||
+ | |||
+ | {{:tutorials:zencartmods:tariff.png|}} | ||
+ | |||
So now we've got tariffs on each product and that's great, but maybe we have lots and lots of products and adding tariff data to each one individually through zen cart's clunky product interface isn't feasible. If this is the case, we'll need a custom Tariff info Editing file, and while we're at it lets put it in the dropdown menu under "Catalog". | So now we've got tariffs on each product and that's great, but maybe we have lots and lots of products and adding tariff data to each one individually through zen cart's clunky product interface isn't feasible. If this is the case, we'll need a custom Tariff info Editing file, and while we're at it lets put it in the dropdown menu under "Catalog". | ||
Line 9: | Line 12: | ||
* admin/edit_tariffs.php | * admin/edit_tariffs.php | ||
+ | |||
+ | This tutorial requires the [[tariff.html|Tariff Mod]] to function. | ||
=== admin/includes/boxes/extra_boxes/edit_tariffs_catalog_dhtml.php === | === admin/includes/boxes/extra_boxes/edit_tariffs_catalog_dhtml.php === | ||
+ | |||
+ | the name of this file decides which menu item the link will be under. If you want to put it somewhere else, say in "Tools", just call this file edit_tariffs_tools_dthml.php | ||
This is the entire contents of this file | This is the entire contents of this file | ||
Line 43: | Line 50: | ||
- | {{website:edit_tariffs.php.zip|edit_tariffs.php.zip}} | + | {{edit_tariffs.php.zip|edit_tariffs.php.zip}} |