Monthly subscription feature for products

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
sumit kaushik
Posts: 30
Joined: 08 Aug 2017, 07:20

Re: Monthly subscription feature for products

Post by sumit kaushik » 01 Oct 2017, 05:13

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.

User avatar
aimeos
Administrator
Posts: 7882
Joined: 01 Jan 1970, 00:00

Re: Monthly subscription feature for products

Post by aimeos » 01 Oct 2017, 10:20

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?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

User avatar
aimeos
Administrator
Posts: 7882
Joined: 01 Jan 1970, 00:00

Re: Monthly subscription feature for products

Post by aimeos » 01 Oct 2017, 10:27

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.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

sumit kaushik
Posts: 30
Joined: 08 Aug 2017, 07:20

Re: Monthly subscription feature for products

Post by sumit kaushik » 01 Oct 2017, 11:27

Yes, i have added lowest price to select product.

User avatar
aimeos
Administrator
Posts: 7882
Joined: 01 Jan 1970, 00:00

Re: Monthly subscription feature for products

Post by aimeos » 04 Oct 2017, 16:55

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.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

sumit kaushik
Posts: 30
Joined: 08 Aug 2017, 07:20

Re: Monthly subscription feature for products

Post by sumit kaushik » 05 Oct 2017, 07:07

Hello,

Issue has been resolved now. Thanks for your support.

Post Reply