Skip to Content Skip to Menu

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

Promotion Configuration

  • nphic
  • nphic
  • OFFLINE
  • Posts: 203
  • Thanks: 25
  • Karma: 1
8 years 10 months ago #274553 by nphic
Promotion Configuration was created by nphic
Folks,

I'm having a bit of a problem configuring a promotion that gets applied to all new registrations. I am attempting to implement the exact scenario as discussed in Example 1: Club in the timing tab of the promotion configuration.

What I was expecting to see is the bill to be prorated for 1 month when a new member joins. Additionally, when i go to the join page, the plan display does not change. I have the promotion set to Automatic sale display.

When I do attempt to join, the invoice is no prorated and is the full year price. I attached a PDF of my plan and promotion configuration pages. The url to the join page is:

nphic.net/index.php?option=com_comprofiler&view=registers&Itemid=117

This is a sandbox I am working in for this configuration. I'll delete this after I get the configuration working properly.

Can anyone assist with this configuration?

Thanks,
Joe
Attachments:

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

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
8 years 10 months ago #274564 by nant
Replied by nant on topic Promotion Configuration

nphic wrote: Folks,

I'm having a bit of a problem configuring a promotion that gets applied to all new registrations. I am attempting to implement the exact scenario as discussed in Example 1: Club in the timing tab of the promotion configuration.

What I was expecting to see is the bill to be prorated for 1 month when a new member joins. Additionally, when i go to the join page, the plan display does not change. I have the promotion set to Automatic sale display.

When I do attempt to join, the invoice is no prorated and is the full year price. I attached a PDF of my plan and promotion configuration pages. The url to the join page is:

nphic.net/index.php?option=com_comprofiler&view=registers&Itemid=117

This is a sandbox I am working in for this configuration. I'll delete this after I get the configuration working properly.

Can anyone assist with this configuration?

Thanks,
Joe


What versions?
Joomla/CB/CBSUBS?

Are you plans calendar plans?

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

  • nphic
  • nphic
  • OFFLINE
  • Posts: 203
  • Thanks: 25
  • Karma: 1
8 years 10 months ago #274569 by nphic
Replied by nphic on topic Promotion Configuration
Nick,

Thanks for the prompt reply! Answers to your questions:

1. Joomla - 3.4.5 Stable
2. CB - 2.0.12
3. CBSubs - 4.0.1

I have the validity set to 1 Year. I tried to change the validity to This Calendar Year, but now I'm getting an HTML 500 error on the frontend of the website. Should the Regular Validity Duration be the option I want to use with the value of This Calendar Year?

It seems that is the proper setting. I did not get that from the example. Can you confirm? Any idea why I get a 500 error when I change to this value?

Thanks,
Joe

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

  • nphic
  • nphic
  • OFFLINE
  • Posts: 203
  • Thanks: 25
  • Karma: 1
8 years 10 months ago #274571 by nphic
Replied by nphic on topic Promotion Configuration
Nick,

If I change the plan from This calendar year to 1 Year, the 500 error goes away. I have both CBSUBS Promotion and Taxes installed and published in CB plugins. Just an FYI.

Thanks,
Joe

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

  • nphic
  • nphic
  • OFFLINE
  • Posts: 203
  • Thanks: 25
  • Karma: 1
8 years 10 months ago #274572 by nphic
Replied by nphic on topic Promotion Configuration
Nick,

I turned on debug and max messages. Here's what I get back:

Call to a member function loadSubscription() on a non-object
.../components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/plugin/cbsubspromotion/cbsubs.promotion.php:956
951 }
952
953 // Get Real $startTime and $expiryTime of the full plan period:
954 $startTime = $now;
955 // WARNING: This adjusts $startTime to the real Start-time, which is wanted here
956 $expiryTime = $plan->getExpiryTime( $startTime, $varName, $quantity, $reason, $item->loadSubscription()->status );
957
958 if ( $catchuppromotion == 2 ) {
959 // Only catchup promo: either it's expired and discount is in full (1) or it's not expired and promo does not apply (FALSE):
960 if ( $now > $expiryTime ) {
961 $ret = 1;

Any ideas?

thanks,
Joe

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

  • nphic
  • nphic
  • OFFLINE
  • Posts: 203
  • Thanks: 25
  • Karma: 1
8 years 10 months ago #274576 by nphic
Replied by nphic on topic Promotion Configuration
Nick,

I was able to narrow the problem down to the setting in Promotion / Display. Whenever I turn on "Override plans display", I get the Error 500. If I keep it set to "No, keep plans display as is", the Error 500 goes away and the page displays normally.

I'd really like this feature to work properly. Any ideas what I am doing wrong?

Thanks,
Joe

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

Moderators: beatnantkrileon
Powered by Kunena Forum