Create custom freight module with settings table

Asked

Viewed 132 times

3

I am creating a module to add a new delivery method in the store. I followed this tutorial (I won’t transcribe it, it’s big and it’s not necessary for the question ).

The new method takes into account the country of the buyer, the weight of the product or the volumetric weight.

The problem here is that to define the value of the freight according to the volumetric weight, it is necessary to create in the management area of the module a table where I can add a country and fill its respective divisor (an integer value).

I know how to define fields through the file "system.xml", but I don’t know how to create this dynamic table to receive N lines, as the client adds new countries.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.