Akeeba Subscription Variants

  • Posts: 8
  • Thank you received: 0
10 years 6 months ago #155514

-- HikaShop version -- : 2.3.0
-- Joomla version -- : 3.2
-- PHP version -- : 5.x.x

I have created 3 Products representing 3 different types of subscriptions and linked them to an Akeeba Subscription based on the documentation. I need each of these products to have a 30 day and 12 month subscription. I've tried to create variants but after selecting the variant I receive an error message that I have both subscription and non-subscription items in my cart.

I've also tried creating 2 different products, 1 for the 30 day and linking one to the other as an option under business. This also does not give the desired results. The variants did work better only it did not automatically select the default and I have the issue with a subscription product and non-subscription product when adding to cart.

Thank you.

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

  • Posts: 13201
  • Thank you received: 2322
10 years 6 months ago #155527

Hi,

Which version of the akeeba plugin do you have ? The first one or the second one.
Can you give us some screenshots of your configuration (in akeeba, and in the product edition page) in order to reproduce the issue on our end.

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

  • Posts: 8
  • Thank you received: 0
10 years 6 months ago #155626

I'm using the second version of the plugin. I did make some progress as I was taking screenshots. I did not have a price set in Akeeba and I believe that is what was causing the issue. Here is my setup now.

1) Go to Akeeba Subscriptions and add (1) 30 day product and (1) 365 day product (capture1.png). Make sure to set prices (capture2.png).
2) Add a characteristic (Product -> Characteristic) called "Payment Terms" and two values "Monthly" and "Yearly".( capture3.png, capture4.png).
3) Add a product for your membership type, in my case "Student Membership". (capture5.png).
4) Add characteristics, set the default characteristic, in my case "Monthly", add the price for default (capture6.png)
5) Make sure to pick the subscription level (capture7,png).
6) Click Manage Characteristics then click on a characteristic and (capture8.png).
7) Set the price and subscription level for each characteristic (capture9.png, capture10.png).
8) You should know have a product with two different payment terms.

To add more payment terms (e.g. Quarterly, Semi-Annual, etc) repeat step 1, edit at step 2, and repeat steps 6 and 7 for each product.

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

  • Posts: 8
  • Thank you received: 0
10 years 6 months ago #155627

I was only able to upload 8 screenshots and the names changed but hopefully this helps somebody else.

Some comments after additional testing.
* Leaving "Retail Price" at "0" will cause "Common price" not to display.
* You do not have to enter a price in HikaShop, Price is driven by Akeeba Subscriptions.

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

  • Posts: 8
  • Thank you received: 0
10 years 6 months ago #155628

I do have one other question. After removing the retail price and setting the prices in Akeeba instead of Hikashop, it looks and works how I want it to work. The only problem is that the default variant name isn't displayed in the title when the product first loads. Is there a way to change that functionality?

Thanks,

Attachments:

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

  • Posts: 13201
  • Thank you received: 2322
10 years 6 months ago #155751

Hi,

Yes you have to remove the code:

			if (hikashop_getCID('product_id')!=$this->element->product_id && isset ($this->element->main->product_name))
				echo $this->element->main->product_name;
			else
In the view "product / show_default" via the menu Display > Views.

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

  • Posts: 8
  • Thank you received: 0
10 years 6 months ago #155932

Perfect, thanks!

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

  • Posts: 8
  • Thank you received: 0
10 years 6 months ago #155939

I had to set each of the products to maximum quantity of 1 for the error to go away but when I go to checkout there is no checkout button. Also if I refresh the page the error appears again.

"Recurring products & not recurring products in cart, please keep only one type of product in this cart."

I've added the recurring payment type to Hikashop -> Payment Methods and entered correct Paypal information.

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

  • Posts: 13201
  • Thank you received: 2322
10 years 6 months ago #155998

Hi,

In the akeeba subscriptions component, do you have enabled the "recurring" option for each created subscriptions ?

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

  • Posts: 8
  • Thank you received: 0
10 years 6 months ago #156306

Yes. They were all set to recurring.

I had to go to the main product (not variants) and change the subscription to none. That let me checkout and it created an order but did not redirect me to PayPal for payment.

I just had a finish button and when I clicked that my order was confirmed.

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

  • Posts: 13201
  • Thank you received: 2322
10 years 6 months ago #156342

Hi,

Could you provide a backend access to your website in order to make some tests ?

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

  • Posts: 8
  • Thank you received: 0
10 years 6 months ago #156467

just sent you a PM.

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

  • Posts: 13201
  • Thank you received: 2322
10 years 6 months ago #156502

Hi,

It seems to be ok now, the paypal recurring payment method is well displayed.
You had to set the price in HikaShop.

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

Time to create page: 0.090 seconds
Powered by Kunena Forum