Course subscription

vantony
Forums
I'm using 1.10 opigno..after adding course with a price when user click on subscribe button to group for that course Its leads to a "you are not authorized page".This course is a public course..tried even from admin side even admin cant access it.Whats the problem ?We need to check for any settings ?
Profile picture for user James Aparicio
James Aparicio

Hi vantony,

Hi vantony, Can you explain your use case? What opigno commerce does, is that it subscribes the user when he buys the course. If you want to sell it, why do you want people to be able to subscribe to it? Best regards
vantony

Thanks for the reply.In

Thanks for the reply.In training catalog it list all courses even if its paid.but when they click subscribe it shows "Not Authorized Page".Instead of that its possible to redirect to course details page or cart page for that particular course ?
Profile picture for user James Aparicio
James Aparicio

Hi vantony,

Hi vantony, Sure it can, look into the hook_field_display_alter(&$display, $context). You can alter the output of a field with this hook, and change the link to what ever you want. Best regards
vantony

Thanks

Thanks for the solution..
carso

Opigno Commerce App default feature

Hi James. Wasn't this a default feature of Opigno commerce app. From Opigno User manual I I saw this : "Students clicking on the course on the catalogue page will see this button, allowing to buy a membership. After adding the membership to the cart, they will be able to go on with the payment like in a traditional shop on line." Thx
Profile picture for user James Aparicio
James Aparicio

Hi carso,

Hi carso,

Yes it is a default feature. Vantony had a persmission issue or the commerce app was not correctly installed.

Best regards