Forum
function to custom order
Is there any way for me to call a function and pass parameters like
customer details billing details shipping details
and perch would save the order in database ?
I already have items in cart, but due to my checkout flow being highly customized, I am having trouble posting order to perch shop.
it would be nice if there was a function that will help me do this, so I could pass array or information in some format to save order.
I'm not sure I understand, but have you looked at cart properties? Example: https://docs.grabaperch.com/addons/shop/examples/order-confirmation
Drew,
The way this https://docs.grabaperch.com/addons/shop/examples/order-confirmation work is different than how customer wants the checkout to work.
So I have a page that looks like customer want, but does not place order.
I am thinking, if I can prepare an array based on what consumer entered, do all my validations, and then prepare a PHP array and pass it to some special perch_shop function that would let me save order and redirect to payment screen.
This will be helpful. Sorry, if I still sounds confusing...
How the page looks is completely up to you. Perch doesn't dictate that.
Drew,
Please excuse my ignorance, but I am really having hard time taking user from checkout page to order confirmation.
this is how my checkout page looks right now.
https://snag.gy/0le3pw.jpg
I don't know how to move forward from this page. really stuck since many days :-(
That's not a question I can possibly answer. How many different people are posting with this forum profile?
I am the only one posting. why?
We keep going over the same basic questions, like each time it's someone new who doesn't remember anything that came before.
If you have a question about the functionality of the app or Perch then we can help. We can't tell you how to architect your site or link from one page to another - those are the fundamentals that you should be bringing yourself.
I am sorry if my questions look repeated, but I am really having problem setting up this 1 website, that we have been trying. Luckily, some how I could get it somewhat to work and show result page. I hope I am doing it right
I have some followup questions, but I will open a new topic to keep it clean.
thanks again for your help