News:

Looking for documentation? Take a look on our wiki

Main Menu

How to make VM2 works with CB fields?

Started by Systemic, March 21, 2014, 10:58:03 AM

Previous topic - Next topic

Systemic

Hi,

I guess it's the right place to ask my question, but if not feel free to move this subject and accept my aopologies.

So my problem is that for my sart-up I used to use CBSubs as a shop in order to allow our users to buy credits in packs (2/8/16/32 credits for example). Those credits can be used to treat eyes on our platform (our project is based on a new technology to treat presbyopia in lasik surgery), and then those credits are spent in an application of our own. To do so, as I said, we use CBSubs because it allows us to update a CB field when purchasing. But on the other hand CBSubs is better for subscriptions et the default template is not very user-friendly, especially when talking about cart, and it is impossible for a non registered user to buy a product (for us it is usefull when we organize an event such as a congress). that is why we decide to see if there was another solution for our store, and we found Virtuemart which is powerfull, pretty looking, easy to use... but which is not integrated with Community Builde.

So my question is the following : is there any solution, extension, plugin that will help us to make Virtuemart working like CBSubs? I mean by working like CBSubs the possibility to update a CB field of a user when this registered user buy a credit pack.

Thank you in advance for your answers.

jenkinhill

I don't follow what you are trying to do, but there is a Virtuemart Action plugin to link CB with VM. This is available as a Joomlapolis Incubator download available to registered Professional and Developer CB users.  http://www.joomlapolis.com/cb-solutions/incubator
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Systemic

I understand that this project may be hard to get if you are not involved into it, and I thank you for your answer  :)

The very important principle is that we sell a pack of credits (points, or any other word) to the ophthalmologist. Then when the ophthalmologist wants to treat one of his patients with our technology, he will go on an PHP application made by us. He fulfills the treatment form and send it to us, then when the form is sent we remove 1 or 2 credits from his reserve of credits, depending of how many eyes he treated.

To do so we use CBSubs which has for any plan an integration action, which allows us to modify a CB user field (for example, with the pack '2 credits', we add 2 credits in the cb field 'credits' of the user who has purchased this plan), but Virtuemart doesn't seem to have this functionality that is why I come here today.

I have asked a nearly same question on CBSubs forums, and I'm waiting for an answer about CB Auto Actions, but I'm afraid it just synchronize the CB user table with the VM2 one :/