Skipping Checkout Steps - php

I implemented magento as an internal webshop of an organization. The shipping, billing and payment informations are same for all orders (and they will be automatically filled in by LDAP). Thus, I want to skip the first 4 checkout steps and to land on order "review".
I've already looked at the classes:
Controller/Checkout/controllers/OnepageController.php
Model/Checkout/Model/Type/Onepage.php
But I couldn't find, which Method is triggered by the button proceed the checkout.
How can I realize it?

Since what you're trying to accomplish is not the default magento checkout workflow, you could try creating your own custom checkout programmatically, this way you will have total control and bypass the complicity of the onepage checkout.
See Programmatically create order in Magento

Related

How to force WooCommerce Membership to apply a membership on user registration that is completed outside the checkout process

Currently using WooCommerce Memberships to apply specific memberships via product checkout. Another option within Woo is to ‘apply a membership via user registration’. Issue I’m running into is that this is applied globally and I only want this new membership applied to registrants from a specific page form - specificity, not have it apply to anyone who creates an account on checkout. Was looking to use the is_checkout() condition to only run this on non-checkout pages but don’t know where to find the code to modify this rule. Any Woo pro’s have ideas or cleaner solution?
Still looking for best solution or where to locate code snippet.

Switching payment gateways adding extra product on checkout page

So I have a WordPress site which has two payment gateways available, COD and online payment option. I am using the default Woocommerce checkout form and functions. Whenever I am switching from COD to another payment gateway on the checkout page, the product quantity increases by one. I have tried a few things but I am not sure what is causing the issue. Can someone help me with this? Also this just happens the first time. If I switch after the first time, it works fine.
Here is a link of the product with which it happens (along with others)
https://elitehubs.com/razer-barracuda-x-7-1-wireless-gaming-headset-mercury/

Custom Shipping Rate

I'm trying to customize my onepage checkout in magento. The process is to place orders to the company. Apparently I have set a custom table rate in magento where in I have 2 choices. First choice is Victoria (Australia), where in depending on item size there is a fixed rate for that, while the rest of Australia has the same rate.
Apparently when I use my onepage checkout, I encounter 2 errors:
1st error is that when I am in guest mode, when I fill up the billing information, after I go to the shipping method, it says that my shipping method is unavailable, even if I had already inputted the correct address.
My second error is that when I am using a customer account, everything works fine for the 1st time, then if I try to place another order, it shows the error.
I'm thinking of two ways right now to solve it:
Since I need to fix the problem right away, could I remove the shipping method altogether and just create my own computation at the review tab and save the shipping fee in the end?
Or I try to fix the problem on how the shipping method works?
I found matrix-rate free plugin for magento online. A great alternative instead of manipulating it in the backend. I tried it and it immediately worked, though you need to check if you have the data you need in your database. Use the same steps as you were in modifying table rates, as there will be a new tab for the matrix-rate plugin in the configuration->shipping methods tab.

After Placing Order, Customer Does Not Redirect to “Order Placed Successfully” and is Returned to Cart

I have create a magento website, in this when we place order of an item then,
strong textAfter Placing Order, Customer Does Not Redirect to “Order Placed Successfully” and is Returned to Cart.
Order also gone in magento admin section under "Sales > order".
I have tried check/money order, authorize.net etc for order place but no positive results found,
under this they also not checked correct payment details for order in authorize.net.
It seems there is problem related with Payment method.
You can check this using other Payment method like Cash on Delivery etc.
Also please make sure you are entering correct information for Address like ZIP Code etc.
Can you list what extensions you have installed for your Magento install?
I've experienced this problem before when I had a custom module that observes the checkout event, when something has gone wrong with the code itself.
Chances are either one of your extensions or a custom built module that's listening to the checkout events is causing the problem.

Magento Multishipping checkout will not pull through Shipping Method

I have a problem with my Mulitple Shipping Checkout in Magento 1.6.1. When a customer proceeds through the checkout and they come to the Shipping.phtml page where they chose a shipping option and cost they can continue to the billing stage of the checkout without chosing a shipping method. I would like to make this a required field in the checkout. However another problem is that even if the customer choses a Shipping Method it is not added to the grand total at the end of the checkout. Does anyone have any ideas about why this is happening and how to fix it?
The shipping method is a required field and its cost will be added to the totals and the end of the checkout in a default Magento installation. I guess you have one or more custom edits within your templates or have some extension installed, that produces that behavior. Switch back to default template and temporary disable non-core extensions to see if it works as expected. Afterwards re-enable deactivated extensions one-by-one.

Categories