Forums
Hi,
I am using Opigno with commerce app. I have some courses for sale. Currently, there are lots of steps in checkout process.
Buy access button > OG group joining confirmation > Click here to checkout > and then Finally payment form
Is it possible to reduce these steps? Is it possible to append add to cart button functionality to buy access button?
Need some technical/programatical advise here.
Thank you!
Rahul D.
Reducing steps in the checkout process
This if of course possible,
This if of course possible, but requires a custom module.
Which steps would you like to group?
Could you share on this forum what you imagine as a more user friendly process to buy access to a course?
Steps that I think will make a nice checkout flow
Hi
Hi
I agree with your that it's important to have a simple buying process.
The step with the summary of all products, and if applicable general sales conditions, before clicking on the "pay" button and going to the payment gateway is mandatory in Europa (according to the legislation related to e-commerce shops).
So we could only remove one step and have:
- user should be shown a popup in ajax that asks him either to go to checkout or continue browsing and add other courses to cart.- when user is done shopping, he/she will click checkout button to see the summary of their cart- when clicking on "Proceed" button users are lead to the payment form.Alternate way
I added this in our list of
I added this in our list of improvements since it can be interesting for ergonomics: https://www.drupal.org/node/2577625
But I cannot tell you when it will be done and in which release it will be included.
Thanks for your feedback !
Thank you!
In case someone needs it
function hook_node_view($node, $view_mode, $langcode) { if ($node->type == 'course') { $url = "group/node/{$node->nid}/subscribe/og_user_node"; if (!empty($node->content['group_group']['0']['#href']) && (($node->content['group_group']['0']['#href'] == $url) || ($node->content['group_group']['0']['#options']['query']['destination'] == $url))) { $form = opigno_commerce_app_join_link('node', $node->nid); $node->content['group_group']['0'] = array( '#type' => 'markup', '#markup' => drupal_render($form) ); drupal_set_title(check_plain($node->title)); } } }
* Edit the rule that will redirect the user to "cart" instead of "checkout". Along with this uncheck remove destination parameters from url. This should make the entire process 2 stepped. Also, note that this code works just for course page. Thank you, Rahul D.Hi,
Hi,
Thanks for sharing this code !
Best regards,