Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author bluey80

    (@bluey80)

    Short answer is no. It is tricky because how do you do payment? You don’t want to send credit card information over email. So how / when do you do payment information?

    Thread Starter mhirschberg

    (@mhirschberg)

    The clients already have credit cards on file. Thus, there would be no payment needed through the website. The payment processing would be done by terminal from the office.

    Plugin Author bluey80

    (@bluey80)

    Ahh, in that case I don’t think it would be too hard to implement. Add a function to email the cart and have add a button on the checkout page to call that function. It isn’t too high on my todo list for SCABN, although I want do add a quote functionality which will be very similar — fill out at cart and then send an email internally that would be used to generate an official quote or maybe place an order once some payment happens offline.

    Thread Starter mhirschberg

    (@mhirschberg)

    Great to hear! Would you mind detailing the function? Could it be integrated with, for example, Contact Form 7? And yes, “Offline payment” is exactly what I’d like to setup here. Thanks in advance for your help.

    Plugin Author bluey80

    (@bluey80)

    Sure. Take a look at https://plugins.trac.www.ads-software.com/browser/simple-cart-buy-now/trunk/classes/backend.php for some of the code.

    You’ll want something like

    $cart = $_SESSION['wfcart'];

    To get the customer’s cart. I think you could do print_r php function to turn that array into something readable. Then use the mail function to send that email. Look at function request() section for passing a form variable (like email) to the backend for it to trigger sending the email. Then the button to send the email will need be a form with that info. See https://plugins.trac.www.ads-software.com/browser/simple-cart-buy-now/trunk/classes/display.php and the display_add_to_cart function to see an example form.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Instead of paying for products, how to: Submit to Email order?’ is closed to new replies.