We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4424
    • 42 Posts
    Hi all,

    I’ve been wandering these forums for the last few days but still haven’t found a good solution.
    A client of mine wants to have a shopping cart without actually checking out and pay for it.

    The idea is that he has a menu which can be clicked to buy a pizza of his.
    This product will be seen in a shopping cart and ofcourse a checkout screen on which the visitor can’t pay but only see the summary of all the projects he selected.

    This summary should later be faxed to my client who can then make the pizza but that’s another question.
    A lot of scripts on the forums and others I’ve found aren’t exactly what I was looking for.

    What would be my best choice/option?
    Also, I’m not good with PHP. The biggest reason I started with MODx..
      • 26931
      • 2,314 Posts
      have a look at Shopkeeper, guess it’ll suite your needs
        • 15001
        • 697 Posts

        You could also do it with TreasureChest 1.2.
        (see http://modxcms.com/forums/index.php/topic,46813.0.html)

        The documentation tells:
        [table][tr][td][+cart.checkout.paypal.button+][/td][td]The "Pay with PayPal" checkout button (Now externalized from the checkout form.)[/td][/tr][/table]

        So, if you don’t insert the [+cart.checkout.paypal.button+] in the "cart_wrap_template", the cart will show without the possibility to checkout via PayPal. Then, you can insert an alternative "Order now" button which would call a new TreasureChest service corresponding to the "ipn" service used when checking out with PayPal.

        If you need to update your database --I assume so-- the ipn service can be duplicated and modified to update the "sales" table with the cart content. If you need to display a "Thank you page", the "pdt" service can also be duplicated and adapted to display the voucher the way you want.

        As don’t feel at ease with PHP, I can do this programming. You can contact me by private message if interested.

        Julien
          • 4424
          • 42 Posts
          Thanks for both replies,

          Will try out Shopkeeper first but if that doesn’t work, Ill try out TreasureChest. Tried to work once with it but didn’t go well since my server at that time wasn’t able to handle it.
            • 15001
            • 697 Posts
            Tried to work once with it but didn’t go well since my server at that time wasn’t able to handle it.

            Because your server used PHP 4 instead of PHP 5?
            Or other issue?
              • 4424
              • 42 Posts
              I don’t know.
              Just couldn’t get it working on 2 servers.
              Tried with someone else and even together didn’t worked out.
                • 15001
                • 697 Posts
                For TreasureChest to work, you need PHP5.

                Your server must also have cURL and OpenSSL enabled for the PDT service to work.

                Tried with someone else and even together didn’t worked out.

                @bziel: At which step have you encountered problems? Could you at least display one product?

                Is your test page still online?
                If you want, I can have a look at it at tell you what’s going wrong.
                  • 4424
                  • 42 Posts
                  Hi all,

                  The reason for it not working was I hadn’t fully completed the install of the CMS yet @_@
                  Now it works brilliantly and I’m styling it as we speak. It works like I want it to be.

                  Just one new question: Is it possible to fill in an eForm and sent it as a fax directly via the internet?
                  Our client asked for this but looking at the internet I couldn’t find a satisfying answer.


                  @Jul:
                  I was just fooling around then and trying out some snippets MODx has to offer.
                  The testpage has been deleted for allmost a year now.
                  Still thanks for the great help you were willing to give. I’ll keep it in mind for future projects wink