unemouette Posted September 19, 2016 Share Posted September 19, 2016 (edited) Hello I am quite new to prestashop, but got experience in web development. I need to implement a simple functionnality to my prestashop (1.6.1.0): Based on the cart content (product references) I need to sort carriers that will be available for the user on the 4th "shipping" page/tab. As an example: I have 3 carriers, but one of theme has to be removed only if one of the cart's product reference starts with a 1 (it means it's fresh food and can't be shipped via this carrier). I already wrote a new method Cart::allProductsDry() in the override/classes directory, checks the products references, and returns true if there is no fresh product in my cart. Now I need to change the carrier selection part. I'd like to know how you would do it ? Thank you very much for your help !! Edited September 19, 2016 by unemouette (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now