Im working on a custom shipping module that uses a local LTL carrier . My question is in regards to how opencart handles admin options. I've got
Code: Select all
truckline.php in /admin/controller/shipping
truckline.tpl in /admin/view/template/shipping
truckline.php in /admin/language/english/shipping
i've used the flat rate templates and controller files as a reference but my question is in regards to the options and the database fields. I know from looking that the flat rate value is stored in the database. Are these values there by default (even if its unset) or is there a function that creates them on install? Im just wondering if i need to create them myself or if i've just not labled an input field correctly, so its not automatically creating them. Also im getting an error saying i do not have permission to edit the item. I'd assume thats not a file permissions error, and as long as its not, how do i go about resolving that one.
Greg