Name the Price

Allow the user to add any donation amount to the price of a product. Can also be used to sell products, where the buyer determines the price.
donation_icon1.pngdonation_icon1.png
FREE

plg_opentools_vm_nametheprice_v1.5.zip
Extensions Specifications
plugin
license Type: GNU GPLv3
Languages included
Description

This is a Virtuemart 2 plugin that lets the user add a custom amount to the price of a product. It will display an input box next to the "Add to Cart" button:

donation productdetails

Typical use cases are:

  • Let users add a custom donation amount the product's price
  • Let a user completely define the price of a product

Configuration & How the plugin works

First, install the plugin with Joomla's extension manager. It will automatically be enabled.

Now, set up a Custom Field ("Products" -> "Custom Fields"):

  • Create a new field (the green + button in the top right corner)
  • Select "Plug-ins" as Custom Field Type
  • Enter the title (will be shown in front of the price input box)
  • Set "Cart Attribute" to "Yes"
  • Select "VM Donation" as the plugin

donation customfield setup

Now you can add this custom field to any product you like:

  • Open the product in the VirtueMart backend, go to the "Custom Fields" tab and add the field you just created. There are no further settings for this plugin needed.
  • To sell a product with a fixed price and an optional additional donation, simply set the price for the product and add this custom field.
  • To let the user completely specify the price of a product, set the product's price to 0.00001 (not 0, since then no "Add to cart" button will be displayed!) and add this custom field.
  • donation customfield product
  • The product page will now display an entry box, where the user can enter the donation amount they want to add to the product price:
  • donation productdetails
  • The cart (and the order confirmation and the invoice) will also display the donation amount that the user entered:
  • donation cart

Reviews

Thursday, 29 August 2013
Very happy with this extension, thank you. Simple to set up and even works when changing currencies. Also used it to set up a quoted service item where the total could be entered into the box, instead of the cumbersome process of increasing the single units to total the amount paid.
Alison Effting
Monday, 29 April 2013
This basic extension is easy to install and configure. It does exactly what the developer states. I'm happy and impressed.

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.