We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 20349 ☆ A M B ☆
    • 453 Posts
    Searched all over the net... and searched again.... found some articles, but with no luck :/


    Is there any good soul to explain how can I combine jCart 1.3 with Modx?

    It seems like a really nice script for easy and simple shop (did I mentioned Modx lack of e-commerce? wink )
      BASE - Web Design Studio
      MODX Ambassador

      Website
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      There isn't much to it, just put the PHP into snippets. The AJAX processor goes into a snippet that is the only content of a resource with no template. Use that resource's URL in the AJAX call.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 20349 ☆ A M B ☆
        • 453 Posts
        Thans sotwell for the response...

        I tried to follow their instructions... put the PHP code in snippets, but the first error I counter is this:

        Fatal error: Call to a member function display_cart() on a non-object in /home/....../public_html/manager/includes/document.parser.class.inc.php(770) : eval()'d code on line 1
          BASE - Web Design Studio
          MODX Ambassador

          Website
          • 22019
          • 390 Posts
          Shopkeeper is a very similar (but more functional) add-on that works for MODX Evo & Revo - lacking the Paypal integration of JCart (but that in itself isn't that hard to do).
            Writer > E-consultant > MODx developer || Salesforce || modx 2.x || PHP 5.2.13 || MySQL client 5.0.86
            • 20349 ☆ A M B ☆
            • 453 Posts
            I'm using shopkeeper on one of my projects and it's great, but I'm looking for a simpler solution for my next project...

            Just a list of items with "add to basket" right aside of them and send that order to email addres. Something similar seen on here: slicemachine.com/design-slicing/order/
              BASE - Web Design Studio
              MODX Ambassador

              Website