VirtueMart 2 > Product creation

Free items not getting a "add to cart" link

(1/1)

fstltna:
I want to have a free downloadable item but when i set the price at zero the "add to cart" button goes away. Is this a bug in vm2.x or is there something i need to do? Items with a price can be downloaded fine.

Please help!

Marisa

ivus:
Hi fstltna,

No this is not a bug. VM requires a price value above 0 in order to do calculations. It assumes that if the price is 0, then it can't be purchased. To get around this, you can assign a real-world value (price) to the item, and then override the final price to 0, which will ultimate mean a 100% discount. To the user, it'll just look like they're getting a very good deal.

I hope this helps.  :D

Milbo:
Also using 0.001 when your currency uses only cents works, because the price is the rounded to 0.00

reddeer:
I like the way you think Milbo!  8)

Thanks!

Navigation

[0] Message Index

Go to full version