Skip to Content Skip to Menu

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

CB Subs Virtuemart integration broken with VM 2.0.16?

  • hkymre
  • hkymre
  • OFFLINE
  • Posts: 30
  • Thanks: 1
  • Karma: 2
11 years 9 months ago #218146 by hkymre
J2.5.8 CB 1.9 Cb Subs 3 & VM 2.0.16

Just testing a migration to J2.5 and thought I'd have a look at CB subs & VM integration.

In the plan ->Intergrations -> Virtuemart tab there are no dropdowns to select a VM shopper group.

Installed VM 2.0.14 on another 2.5.8 CB 1.9 Cbsubs 3 site and the shopper group selection works.
Upgraded that site to VM 2.0.16 and the dropdowns disappear again.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48454
  • Thanks: 8280
  • Karma: 1443
11 years 9 months ago - 11 years 9 months ago #218191 by krileon
Sounds like it, we'll have to re-review and see why it broke. We use queries so only reason for it to break is database structure was changed. I've created a bug ticket for further investigation.

#3851

Note as you have CBSubs 3.0 you're welcome to review the source of the plugin and make changes wherever you see necessary.


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.
Last edit: 11 years 9 months ago by krileon.

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

  • hkymre
  • hkymre
  • OFFLINE
  • Posts: 30
  • Thanks: 1
  • Karma: 2
11 years 9 months ago - 11 years 9 months ago #219039 by hkymre
Done a bit of digging through the plugin code and got it working.

But I'm a bit confused as I thought the CB code was checking if the file was there:-
Code:
global $_CB_framework; if ( file_exists( $_CB_framework->getCfg( 'absolute_path' ) . '/components/com_virtuemart/virtuemart_parser.php' ) ) { $version = 1;

downloaded vm 2.0.14 and the file does exist, although the code is different to 2.0.16/2.0.18

So I've done a dirty fix for my site and changed the file name to components/com_virtuemart/virtuemart_parser.banana.php and it works fine now.
Guess I could have hard coded the version to equal 2 as well.

forum.virtuemart.net/index.php?topic=111397.0 explains the reason for the virtuemart_parser.php change

Off to test it out now...
Last edit: 11 years 9 months ago by hkymre. Reason: added link to VM forum

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48454
  • Thanks: 8280
  • Karma: 1443
11 years 9 months ago #219058 by krileon
Looks like just a name change. Please let me know if you find any further issues after fixing. I've yet to review for next release as both versions need supported for backwards compatibility reasons.


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 or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum