Skip to Content Skip to Menu

How to make a "buy" option of a plan in joomla content

  • some1new
  • some1new
  • OFFLINE
  • Posts: 106
  • Thanks: 8
  • Karma: 5
7 years 8 months ago #291023 by some1new
Is there a way to show single plans in article contents?

I could not find a more detailed description of of the cbsubs bot, maybe it could work via this?

Any examples?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48437
  • Thanks: 8275
  • Karma: 1443
7 years 8 months ago #291054 by krileon
Yes, but you'll need to substitute in its details. This can be done by using the content prepare functionality built into CBSubs as long as the CBSubs system plugin is enabled and CBSubs Content integration is installed. See the description of the CBSubs system plugin within Extensions > Plugins for details on what you can substitute in. Below is a few examples.

[cbsubs:plans plan="PLAN_ID_HERE" output="name" /]
[cbsubs:plans plan="PLAN_ID_HERE" output="description" /]
[cbsubs:plans plan="PLAN_ID_HERE" output="price" /]
[cbsubs:plans plan="PLAN_ID_HERE" output="duration" /]


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.

  • some1new
  • some1new
  • OFFLINE
  • Posts: 106
  • Thanks: 8
  • Karma: 5
7 years 8 months ago #291055 by some1new
Thx,
so far I noticed this possibilities to show some kind of information regarding special plans.

More specified I'm looking to promote any special plan with its image within any content.

Like , "Hey you should take the chance now to subscribe to (plan x)." Where x should be a clickable image as choosen in plans.

So, in other words, how to pick plans and place there links/images in other pages as the tab in CB?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48437
  • Thanks: 8275
  • Karma: 1443
7 years 8 months ago #291061 by krileon
Their images? You mean for CBSubs Plans Images and its associated field? You can't as that just shows an image for users that are actively subscribed to the various plans. Just use plain HTML and link to the plans directly for what you're wanting. You can even skip directly to the basket for that plan. Example as follows.

Code:
<a href="[cbsubs:url plans="PLAN_ID_HERE" output="basket" /]"><img src="/images/buynow.jpg" alt="buy now" /></a>


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