We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 12652
    • 228 Posts
    Yes, sorry that is correct.

    Their site... well, it’s certainly not how I would have done it, and I can’t actually comment on the positive or negatives of their actual code... as of yet, I have a client that will hopefully eventually (you know how those go) be developing a site that I was intending on using their script on.... however if MODx comes out with one before then, perhaps all the better!

    As an experiment, I did drop their script into an existing site layout, just to see how quick, down-n-dirty it could be, and it was pretty slick.... literally copy and paste a few lines at the top of the page, about 5 lines of code into the main content area, then change a couple of those lines based on the individual page the code was going into, and that was it.

    Obviously, fine-tune styling of the cart would be necessary, or recommended, but you could be up and running at that point if you wanted to be, after setting up the configuration within the manager. But there are things that I think are really missing, like adding product photos is done by entering in the path and filename, and the images don’t appear within the admin product setup page... although there are addon modules that can accomodate both of those features as well as adding the ability to add more images.

    But I mention that solution more as something to be looked at for development ideas for a MODx cart, than actually integrating it into MODx. From what little look around in their code, I think html presentation and php are intertwined a little too much.... but given the genre, show me a cart that isn’t wink This is of course where I think MODx could improve upon greatly, and quite possibly, indirectly, end up providing not only one of the best CMS/F solutions, but also one of the best ecommerce carts as well.

    I’m no cart expert and there are plenty here who have far more experience, I just know that in my limited searching and reviewing, the bulk of what I found was "add this alongside your site," "change your site to match our cart," or "try to stretch your site over the top of our cart" type solutions and ECT was one of the few that, like MODx, said, "here are some designs you can use, but you are free to easily create any design you want, or drop our functionality into your existing design."

    I don’t know what really separates them from all the others, but they must have approached things differently that you can so easily drop their code into existing designs where all the others seem to be a never ending battle.

    Certainly from what I’ve heard and my own looking briefly at Zen Cart and Cube Cart, they come well recommended... but as mentioned, they are trying to be the Swiss Army knife of ecommerce carts (like nearly ever other cart out there) and it ends up being the issue of taggling off this feature and that feature, but it’s all still there, a ten pound pocket knife you end up carrying around, rather than starting with key functionality and adding on the additional components or functions that you need... which I see much more aligned with MODx. I didn’t ever install Zen or Cube, so have no idea how easy they are to integrate into a design, but the impression I get is that they may be easier than others... but ease is still a very relative term.

    Since ECT is a paid solution, as are the add-on modules, it certainly wouldn’t be an option for everyone anyway.
      | Identity Developments delivers SEO focused web design and web presence services
      - it's not about websites, it's about your identity. |
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Basically that’s how ShopX works. Make up a catalog with documents, use Ditto to display your catalog. There is a cart snippet, and a couple of chunks to put an "add to cart" form in the Ditto catalog summaries and on the main item page if desired.

      So far everything is just dumped into the SESSION array; I use a plugin for that, but will eventually incorporate a database solution with only a session key stored in the SESSION (like CubeCart).

      Then there is another snippet to deal with the checkout cart. Shipping and payment options are handled by snippets with a distinct naming system so they can be plugged in to the checkout system as desired; radio buttons are automatically generated for every such snippet found.

      Tax needs better handling; items will need a "taxable" TV (like in some states children’s clothing is not taxable) and a tax snippet needs to process the calculations on the fly.

      Payment options are a separate snippet, but I am looking into using eForm with all its new events. Actually writing the code to interface with the various payment gateways isn’t all that difficult, you send them stuff and they send stuff back.

      Then of course you need to handle the customer data. The existing user management system makes life awkward for that. I’m hoping as the user management system gets modified and simplified it will make it easier to handle various kinds of user and member management.

      So it’s still in its infancy, but there are a few sites using it with an apparent amount of success.
        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
        • 27708 MODX Staff
        • 2,502 Posts
        Susan,

        Is the June version of shopX2.1 current? Do you have more untested updates?
          Author of zero books. Formerly of many strange things. Pairs well with meats. Conversations are magical experiences. He's dangerous around code but a markup magician. Blog ✦ Twitter ✦ LinkedIn ✦ GitHub
          • 12652
          • 228 Posts
          Susan,

          excellent. It really sounds like you may have laid out a great foundation to build on. I think MODx, being in relative infancy, can really benefit from that unique, once in-a-lifetime position, just like every newbie, with their fresh, untainted eyes, brings something new to the table, if nothing more than to requestion whether the best approach is still the best.

          For all areas of MODx, the development team is in a great position to look and learn from all of their previous experiences as well as looking at best and worst case examples on the market the identify ways to improve upon. It’s obviously much harder once you are deeply established and have built on layer upon layer like many of the mature CMS’s, carts, etc. have probably found themselves today.
            | Identity Developments delivers SEO focused web design and web presence services
            - it's not about websites, it's about your identity. |
            • 1978
            • 131 Posts
            sorry for "necroposting" but is there any progress? personaly I don’t need all this checkout things - just store in the db selected items and send them to email after user’s confirmation
              Как русифировать Modx 0.9.6.1(QuickEdit, TinyMCE)
              QuickEdit под win-1251 без mb_-функций
              • 8345
              • 147 Posts
              Quote from: Andy at Nov 16, 2006, 01:22 PM

              You can style the store to match MODx and then use the MODx API to get MODx to generate the site menu on the ZenCart/CubeCart pages.

              How to do that? Has anyone done it? Sounds really interesting...