Hi Grano,
When i said this below:
if TRUE
display "Pre-Order" text
else
display "Add to Cart" text
You probably misunderstood me.
That is just the logic you should follow, you have to put that logic into actual PHP codes to make things work. If you look at my previous reply, i have already given you the "IF..END" statement you should use.
The idea behind that IF..END is;
- get the availability date of product
- get the todays date
- Compare the availability date with today's date.
- If true, the product will be available in the future, so print the "pre-order.png" image file
- if false, the product is already available right now, so don't do anything special.
Use the same IF...END statement to change pretty much anything on the product page or category page. Change the "Add to Cart" text to "Pre-Order Now" or put a PNG or label anywhere you want.. sky is the limit..)
IF you want to change anything on the Category page, then the idea (the IF..END statement) will be the same, just.. where ever you see this object
$this->product->... change it to
$product->... (in category page, the object to access product information is
$product->...)
Those you are asking are actually 100% custom modifications
(because you want to change how the things work/look) and i must say; we don't provide step-by-step instructions for custom coding modifications. But I just tried to "guide" you about what needs to be done. If you don't have at least mid-level PHP experience; you might get confused and mess things up (DON'T FORGET TO BACKUP FILES BEFORE TOUCHING !!)
Although you may purchase premium support via
www.flexiblewebdesign.com/premium-support and let us take care the modifications for you directly on your website though.
Regards.
Support