Hello,
I am actually a web developer and have created my own Virtuemart modules before. However I have never created a plugin.
I have already written all of the code for my new plugin, however implementing it to make it do what I want my not be as easy.
The plugin I am creating basically removes the Add To Cart Button and replaces it with a textbox and a Submit button. Essentially the user will enter their zip code, if their zip code does not match the zip code of anyone else that has purchased this product then they will be able to Add the item to their cart, and If not it will display a message.
I already wrote all of the code that checks the zip code and runs through the database to see who else has purchased the item, loads the zip codes into an array and then compares them all to the entered zip code. It also displays an add to cart button which I can replace with the <?php $addtocart ?> or whatever once I get ready to deploy.
However, I want this to be an installable plugin and would like to find an existing plugin that basically allows something similar to be done so I can just replace the code with mine and have a template to start with!!!
If you know of any plugin that replaces the add to cart button until the user adds something, or even a plugin that will remove the add to cart button please let me know!!!
I already know of the Use Store Only as Catalogue feature and this could also work, but I need this to be a plugin, so something I can use on multiple sites. I am going to add my code to this plugin and I have 12 websites to install this plugin on and 1 of these sites will not be able to even use joomla if I cannot get it to work.
I have seen something similar for the Tienda Component, but hey, I am a VM GUY!!!!!