Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Enable 'edit specific price' button on BO Product page which opens a pop-in #9465
This feature has 3 goals for the "edit a product" / "specific prices" panel:
A 4th goal was added during the development as I found a bug on this form. I reported it in the forge (http://forge.prestashop.com/browse/BOOM-6300) and solved it in this PR.
This PR replaces #9388 as the previous PR did not use a pop-in. The spec changed so I created a new PR. However I fixed the requested changes of the previous PR in this new PR.
How to test
Go on a "Edit a product" page on the BackOffice for 1 product. Click on "add a specific price" to display a form which allows to create specific prices. Create 2 or 3 of them so that you have a listing of prices with multiple items in it.
Now you can check that:
Be careful: in multi-shop context another field appears in the form. Also products with combination have another form field that single-combination products do not display. So test with a product with combinations and with a product without.
2 translations have been added following @LouiseBonnard directions