Jump to content

Add custom tax for each Manufacturer


symfony4

Recommended Posts

Hello,

 

I'm new to Prestashop and I need some guidance.

I need to implement the following feature for my shop:

 

In the category list, for each category, I need a link which open a new page with a list with all the Manufacturers of the products inside that category. For each manufacturer in the list, I need to display its name and a custom field (which is something like a tax). In this way, we are able to set the same tax for all the manufacturer's products inside a certain category. 

 

Now, I have experience with MVC's from PHP and Java, but for Prestashop things are a bit different, therefore some suggestions will be very welcomed.

 

From database point of view, I know I should create a table with Category ID, Manufacturer ID as foreign keys and tax value as separate column.

 

But I have not idea what to do next, where shall I create the route for this list and how to implement the database counterpart.

 

Thank you in advance

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...