Skip to Content Skip to Menu

Cbsubs: Pass a variable inside a plan and make a Post request

  • dotcom22
  • dotcom22
  • OFFLINE
  • Posts: 522
  • Thanks: 14
  • Karma: 4
10 years 8 months ago #240873 by dotcom22
That's the point I don't need a digital store but just to add one product with some options nothing more. Use an heavy component such Virtuemart or any other addon like this is not ideal.

Now I wondering if is possible to insert in Product description a CB tab which could contain Ajax field could do the job..Like that no need to edit profile. Then after payment I could clear data with a trigger/action for re-use the same product where user could later buy again the product by introducing different data.

any clue ?

I use Joomla 3.3.6 - CB 2.0.4 - CBSubs 4 - Several Incubator plugins

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48477
  • Thanks: 8281
  • Karma: 1443
10 years 8 months ago #240875 by krileon
Adding inputs to the description won't do anything. You could try extending the functionality using triggers. I do know it's possible through API as CBSubs Promotion does it to add the coupon input. Taking a quick look at CBSubs Promotions you'd probably use onCPayEditBasketIntegration or onCbSubsAfterPaymentBasket trigger to add new HTML to post with the form. You could use a code action to echo your new inputs using CB Auto Actions to see what happens.

Ideally we'd like to have field management for CBSubs so plans could have custom fields shown during the purchase process. I just can't provide any details about this, because we have only discussed it briefly. We also have our options plugin that lets you have multiple prices and durations per plan, but it's not ready to be upgraded and released yet (maybe built into next major CBSubs release, I don't know at this time).


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