Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

Select Country field - Virtuemart Integration

9 years 1 month ago #270034 by Thelowlandpiper
Select Country field - Virtuemart Integration was created by Thelowlandpiper
I'm working on the VM integration via CB Action Queries; First thing I note is that if you want to send user data from CB to VM , the country field needs to be an id not a 2_code or 3_code text. I used the VM table virtuemart_countries as the source for the cb_select_country field query, since it has the correct id field.

Same goes for the state - VM needs an state_id. I gave up with this, since the VM states table has 'England','Scotland' etc as its UK 'states'; I just added a new simple text field to the VM_Userinfos table and will copy the CB 'state' field into it. Still testing how this displays, though, and, of course, it will need re-doing if VM is upgraded...

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum