airmazter Posted November 17, 2015 Share Posted November 17, 2015 Hi, Im looking for an addon that can help me showing different lead times on the product pages depending on the supplier. Let say supplier 1. have lead time 3-5 days (Showing "Ships within 3-5 days" in front-end product page. Supplier 2. have lead tim 10-20 days (Showing "Ships within 10-20 days") Do you know if this already exist? Link to comment Share on other sites More sharing options...
NemoPS Posted November 18, 2015 Share Posted November 18, 2015 I don't think you can do it easily. You'd have to add another field to the Supplier class. Then, modify cart::getDeliveryOptionList, and make sure you check for each product the supplier, and assign it to the carrier involved.It's hard to explain and harder to do it Link to comment Share on other sites More sharing options...
airmazter Posted November 18, 2015 Author Share Posted November 18, 2015 Hi Nemo1, Maybe I was a bit unclear. But I want the lead time to show up in the product page only. So I don't have to involve the cart. Do you still think it's complicated? Or doable? Link to comment Share on other sites More sharing options...
NemoPS Posted November 20, 2015 Share Posted November 20, 2015 Ah, in this case edit the supplier class, add a free text field to it, then edit the AdminSUpplierController and add it there too. Lastly, use my tuthttp://nemops.com/prestashop-supplier-info-product-page/#.Vk7nZ3bnvmgTo instantiate a new supplier for the product, and only display the info you need Link to comment Share on other sites More sharing options...
airmazter Posted November 20, 2015 Author Share Posted November 20, 2015 Ahh.. I didn't think about that. Thanks for your help 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