Submit order without payment - php

Im working on a site with woocomerce. I'm pretty sure this has been covered, but I am not sure where (have looked, promise!). Customers must be able to add to cart products... some are priced, others to be quoted on. She then needs to receive the order, check stock availability and get back to them with a price including shipping. So the submit cart should only send an order to her to quote on.Is there any function to make it possible or any other plugins or woocommerce extensions?

Just use the BACs or Cheque methods, the client will not need to pay and you can even add instructions to the customer.
You have option to change the payment method name for any other that you need, then it is quite simple to do this.

Related

Is it possible to hide the shipping method step on magento checkout process

Is it possible to hide the shipping method step on the magento checkout process. I want to remove the shipping method step only on checkout page, not permanently.
What i am trying to achieve is on the cart page when the customer enters his postcode for shipping estimate and then update total. I will want to use his choice he made here for his order. So I see no relevance for him to alter his shipping choice afterwards as I only have one shipping option.
I have searched around and found there are ways of removing the step altogether and enabling a default shipping method. However I am using a table matrix so the shipping charge differs based on postcode entered, so i can not set it as a default.
Please can you advice if it is possible to achieve what I want and if so how would I approach it.
Advice and guidance is appreciated.
Thanks

Magento - Remove Billing and Shipping Information when buying downloadable products

I run a Magento Shop that has several downloadable products, some come for free with a downloadcode when people buy other products or they get our vouchers from somewhere else.
So there are 2 Scenarios, 1. people buy downloadable products only, pay with paypal, or 2. people download products for free, if they have a voucher.
Its rather annyoing for many people to enter billing information although they are only downloading files as guests and we don't need a billing info.
Did anyone ever come across a way to get rid of the billing info when people are only downloading products? Which means they can actually check out with email only, like its done on pages like bandcamp.com?
Thanks a lot for your ideas.
You are not going to like this.
I don't think it's possible, not within a reasonable cost, to remove the billing address from Magento.
It is deeply embeded in the orders mechanism.
For the shipping address, this should be done out of the box.
If you have only virtual and downloadable products in your order the shipping address and shipping method steps should not appear in the checkout.
But if you insist in doing it I can give you some pointers on where to start.
First you will need to modify the onepagecheckout controller or even better write your own checkout controller that handles your needs.
Then look in the Mage_Sales and Mage_Checkout modules for the text getBillingAddress and setBillingAddress and handle the cases when these values can be null.
Here is an example to understand better what I'm talking about.
In the sendNewOrderEmail method of the order model there is this
$customerName = $this->getBillingAddress()->getName();
You need to change this in case the billing address is null. If it's not null let it work as it does now.
Maybe I should be more clear, I don't necessarily need the remove the billing completely. I only need a name and an email address to send the purchase email with the download links. But I need to get rid of Street, Tel, City etc. or set them not-required, but only if all products are downloadable.
Magento already checks whether we need shipping or not based on the shopping cart.
So I would think of something like
check in OPC if we need shipping (or alternatively, all products are downloadable)
change billing fields to "not-required" or remove them
2a. If Magento requires an address, maybe set a dummy address hidden from the customer???
cheers Marek

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.

How do I add custom shipping and payment options to checkout in Magento?

Running Magento 1.5.1. My webstore contains a lot of products that get shipped direct from the manufacturer. The cost of shipping is extremely variable, and due to the number of products we carry, it is unfeasible to determine shipping costs for many items.
I would like to add a "request quote" option during checkout. The basic idea I have is this:
-Items without a weight or dimensions will be required to go through an RFQ (request for quote) process. During checkout, if the user has an item in their cart that requires an RFQ (because it doesn't have weight or dimensions defined), it will present a single option for shipping: "Request quote for shipping".
-The next step is the payment screen. Instead of actual payment options, a "pay invoice later" or "pay when quote is received" option will be present. The user will be forced to select this (or perhaps we could skip the payment screen altogether?).
This seems like it should be relatively easy to hack together, but I'm wondering if I'm going about this the wrong way? Is there an easier way to do this? My thought is to modify the checkout code to check for weight or dimensions, if not, only show that one shipping option (I'd probably re-purpose "free shipping" to be that option). Then, in the payment screen, check if free shipping is selected in the order, and then present the custom payment option (probably re-purpose cheque or money order option). From there we'd send them an official quote via Paypal or something similar.
Any thoughts? Thanks!!
I'll offer my normal advice: There are a ton of extensions to let this happen. My philosophy is to start looking at extensions before trying to code anything in magento. Is especially helpful when an upgrade breaks something; they'll usually fix upgrade problems that clearly affect their own extensions for free.
In your case there is a free custom shipping option extension I use for "Will Call" which you can use for "RFQ" purposes. I strongly advise against messing with payment modules. I have written 6 or more "payment" things in PHP for live sites and admin back-end use. Until you really understand Magento, you are wasting your time and money writing code. If your question is to get a website working so you can make money, go buy extensions that get the job done...
To go on about writing code, I hand rolled some code in the contact form to add google re-capcha as well as to have customers select from existing product attributes (vehicle year, make, model). I was eventually able to figure out how to have these reflect in the emails we get from the contact form, however, there is no database persistence, which is the proper solution. Further, mucking about in the code quickly and easily breaks Magento in unexpected and surprising ways, hence why my normal Magento reply on here is to strongly urge people to buy extensions. If you're asking the kind of questions like I would ask, you don't know enough to make a professional extension... buy a few proper extensions, analyze them, spend lots of time trying to figure it out.
Any more there are plenty of extensions competing to do the same tasks, so there should be something already working to do what you want.

Categories