smarg Posted September 27, 2017 Share Posted September 27, 2017 (edited) Hello everyone, I need your help in a issue I have. If anyone know about this issue, that would be great to discuss about. I want the text “add to cart” of the add to cart button to change according the quantity of the products. I need to have the following options: Option 1: "add to cart" if the product is in my store and ready to send the same day(this is the normal that already have) Option 2: "Available in 2-3 days" if the product will be in my store the next day and the customer will receive it the day after. Option 3: "Presale" if I don't know the exact day that I will have the product in my store(5,7,10 or 20 days), but I will have it for sure until next month. Now, if you are wondering how can I distinct the quantity of the products in order to show the specific option for each product, then the following options could work for me: Option 1: If the product is "Presale", then the quantity can be minus two "-2". Option 2: If the product is "Available 2-3 days" then the quantity can be minus one "-1". Option 3: If the product is "add to cart" then the quantity can be between 1 and 10000(for example), this number could be anyone until 10000(this is the maximum that I can have in my store). Option 4: If the product is "out of stock", then the quantity should be zero "0". Any ideas are very welcome!Thank you Edited September 27, 2017 by smarg (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