News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Free items not getting a "add to cart" link

Started by fstltna, August 08, 2012, 21:21:07 PM

Previous topic - Next topic

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
http://pocketfiction.com - Classic pulp fiction in eBook format and old-time radio programs

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
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

reddeer