Do you want to put a "new product" icon in your product's browse page of Virtuemart, that disappears after a predefined period?
Find your browse page, which is into this folder components\com_virtuemart\themes\your_theme\templates\browse and make the following changes.
Before
add this
And right after
put the following code
As you can see above, I put 10*86400, which means 10 days. Of course you can change this number.
Img has an "icon" class, so what you have to do last, is put the following css code at the top of the page, or at your stylesheet page.
Find your browse page, which is into this folder components\com_virtuemart\themes\your_theme\templates\browse and make the following changes.
Before
add this
And right after
put the following code
As you can see above, I put 10*86400, which means 10 days. Of course you can change this number.
Img has an "icon" class, so what you have to do last, is put the following css code at the top of the page, or at your stylesheet page.
Hello, nice one... could You help me to do it for vm2, please ?
ΑπάντησηΔιαγραφή