This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
tutorials:zencartmods:tariff.html [2011/05/18 19:07] ladyada |
tutorials:zencartmods:tariff.html [2011/05/18 19:08] ladyada |
||
---|---|---|---|
Line 7: | Line 7: | ||
- | ==== DB Mods ==== | + | ===== DB Mods ===== |
As always, ALWAYS BACK UP YOUR DATABASE BEFORE APPLYING DB MODS. | As always, ALWAYS BACK UP YOUR DATABASE BEFORE APPLYING DB MODS. | ||
Line 18: | Line 18: | ||
- | ==== Adding a field to products ==== | + | ===== Adding a field to products ===== |
We'll be adding three fields (products_customs, products_tariff_country, products_tariff). This method will work in general for any field that you would add to the table 'products'. | We'll be adding three fields (products_customs, products_tariff_country, products_tariff). This method will work in general for any field that you would add to the table 'products'. | ||
Line 27: | Line 27: | ||
- | === admin/includes/modules/product/collect_info.php === | + | ==== admin/includes/modules/product/collect_info.php ==== |
Find (line 41) | Find (line 41) | ||
Line 187: | Line 187: | ||
</code> | </code> | ||
- | === admin/includes/modules/update_product.php === | + | ==== admin/includes/modules/update_product.php ==== |
find (line 52) | find (line 52) |