Page 2 of 2

Re: Monthly subscription feature for products

Posted: 01 Oct 2017, 05:13
by sumit kaushik
I tried to print array of product on selection product file then i noticed that refItems:Aimeos\MShop\Common\Item\ListRef\Base:private is showing blank array. Please suggest me about the issue.

Re: Monthly subscription feature for products

Posted: 01 Oct 2017, 10:20
by aimeos
Did you added the lowest price to your selection product so it's shown in the list view and in the detail view if no variant is chosen?

Re: Monthly subscription feature for products

Posted: 01 Oct 2017, 10:27
by aimeos
If the orders only contains subscriptions, you can create another invoice item in the mshop_order table. Aimeos will care about the e-mailing if you set the payment status in the invoice item to "authorized" or "received". You can create a job controller that is executed daily to search for subscriptions that has to be renewed:
https://aimeos.org/docs/Developers/Cont ... controller

But automatic reoccurring payments for subscriptions are not yet supported. You would have to implement that yourself.

Re: Monthly subscription feature for products

Posted: 01 Oct 2017, 11:27
by sumit kaushik
Yes, i have added lowest price to select product.

Re: Monthly subscription feature for products

Posted: 04 Oct 2017, 16:55
by aimeos
Something is still wrong.

We've added an example in the Aimeos demo data now. The price of the first selection variant is slightly lower than that of the selection product itself and you will see it if you select the attributes blue/34/32 (color/length/width). To test it yourself, set up a new Aimeos installation (use "aimeos/aimeos-laravel": "dev-master") and follow the setup guide.

Re: Monthly subscription feature for products

Posted: 05 Oct 2017, 07:07
by sumit kaushik
Hello,

Issue has been resolved now. Thanks for your support.