Generate a Virtuemart Coupon?

10 years 7 months ago #233240 by xtech86
Generate a Virtuemart Coupon? was created by xtech86
Hi Guys,

Is there a way to generate a unique coupon for a plan in Virtuemart?

Basically, for people renewing or buying membership I want them to have a coupon ideally unique so it's not passed around?

Thanks
Tony

Please Log in to join the conversation.

10 years 7 months ago - 10 years 7 months ago #233283 by krileon
Replied by krileon on topic Generate a Virtuemart Coupon?
I've no idea how Virtuemart coupons work, but I suppose you could insert a coupon directly into Virtuemarts coupon database table (whatever it may be) and using MYSQL functions you could generate a unique code with the CBSubs SQL Actions integration. Aside from that no we have nothing implemented to do this.


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.

10 years 7 months ago #233325 by xtech86
Replied by xtech86 on topic Generate a Virtuemart Coupon?
Hello,

That's what I was thinking would be needed. Can you confirm with CB Plugin allows executing a queries on plan activation/deactivation etc?

I thought it was CB Queries but cannot find it

Regards
Tony

Please Log in to join the conversation.

10 years 7 months ago #233372 by krileon
Replied by krileon on topic Generate a Virtuemart Coupon?
Yes, CBSubs SQL Actions is designed specifically to do just that; execute queries based off plan status. It is not "CB Auto Actions", you don't need that for this usage (note CB Queries does not exist anymore, it's a part of CB Auto Actions now).


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.

Moderators: beatnantkrileon
Time to create page: 0.140 seconds

Facebook Twitter LinkedIn