[SOLVED] VirtueMart/CB/Plans...

14 years 6 months ago #112958 by krileon
Replied by krileon on topic Re:VirtueMart/CB/Plans...
There is CBSubs URL, which allows you to execute a code file. The code file could handle the entire integration. ;)


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

14 years 6 months ago #112969 by crony
Replied by crony on topic Re:VirtueMart/CB/Plans...
Interesting...:)

Post edited by: crony, at: 2009/10/04 01:05

J! 4.x - CB 2.7.3

Please Log in to join the conversation.

14 years 6 months ago #113009 by crony
Replied by crony on topic Re:VirtueMart/CB/Plans...
I forgot the VM integration plugin that seems to generate the random into VM...
:unsure:
So you where right, I need to check the SQL actions further with provided example...
Thanks !

J! 4.x - CB 2.7.3

Please Log in to join the conversation.

14 years 6 months ago #113012 by crony
Replied by crony on topic Re:VirtueMart/CB/Plans...
ok, I'm checking with sql actions...

Post edited by: crony, at: 2009/10/04 17:30

J! 4.x - CB 2.7.3

Please Log in to join the conversation.

14 years 6 months ago #113015 by crony
Replied by crony on topic Re:VirtueMart/CB/Plans...
This query thru SQL action does not update anything into VM table:

[code:1]UPDATE `#__vm_user_info` SET `address_type` = 'BT', `address_type_name` = '-default-', `last_name` = '[last_name]', `first_name` = '[first_name]', `phone_1` = '[cb_telephone]', `address_1` = '[cb_addresse]', `city` = '[cb_ville]', `state` = '-', `country` = 'FRA' , `zip` = '[cb_codepostal]' WHERE `user_id` = [user_id][/code:1]

Why ?:(

I also tried "CREATE into" as it's a new entry into the table...Same...
Tested thru phpmyadmin with a fixed user_id, seems alright...

Post edited by: crony, at: 2009/10/04 19:15

J! 4.x - CB 2.7.3

Please Log in to join the conversation.

14 years 3 months ago #121111 by baddkar
Replied by baddkar on topic Re:[SOLVED] VirtueMart/CB/Plans...
I think the reason it is not working is because you have not created the user in the vm user_info table. You need to make sure that the vm integration is used first to create this row in the table (jos_vm_user_info) after this occurs (doesn't have to be a special user group, default will create the row as well) then you will be able to update the table with the cb.user_id = vm.user_id.

I know this works because I have the same setup...

if you want to try it, I have created a module which you just install like any other and enable it, which will copy the following fields from CB to VM.

firstname
lastname
company
address
city
state
country
zip
phone
fax
and email

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.212 seconds

Facebook Twitter LinkedIn