Toeareg Posted January 24, 2020 Share Posted January 24, 2020 I have created a module that will allow Order Out Of Stock products, but the quantity is maximized by the available stock at our suppliers. So if we have 2 items in stock and the supplier has 5, then you cannot order more than 7 items. This all works great, but .... The suppliers are located in different countries and therefor have different delivery times. They can vary from 3 - 12 days depending on the supplier. So I want to inform our clients about the delivery time they should expect if they order products. If a product is added to the Cart, it's no problem to show the delivery time for that product in the Cart. But I want to show that info before they put it in their Cart. However, if you just open a product page or change the size of the current product, the id_product_attribute of the currently selected size is unavailable. At least the smarty debug screen doesn't show the actual id_product_attribute. So how do I get the currently selected id_product_attribute? 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