We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 7155
    • 160 Posts
    Update: 1 May 2009
    It is intended to be simple for now.
    Test site now online http://modx.scripconsult.com

    TODO for first "live" development version:
    -Form Validation on checkout
    -More detailed description card
    -Paypal support(currently supports Setcom- for South Africa)
    -Full catalogue listing

    Update: 17 April 2009

    Shopping cart module/snippet:[Will come up with a name] Maybe MyShop or ShopX

    I will start simple and progress as I go
    Features:

    • a must have is obviously XHTML/CSS compatibility and customisable
    • Initially support one payment gateway
    • Own tables to manipulate
    • Own manager interface
    • Support for categories within categories of products
    • Currency support (Maybe initially one or two)
    • No AJAX coding initially... developer advice would be good here. Will I be able to convert it for AJAX capabilities after development?
    • Good config features
    • Support for maybe 3 product images with one selected as the default
    • Light/Slim or other-Box capabilities
    • Thumbnail generation and caching...make use of phpThumbnail maybe

    Other questions/challenges

    • how to include or make use of Ditto support(without use of documents as part of the system????)
    • what existing core modules to integrate well with
    • and others

    Credits:
    Tinomuda(developer)
    Friend Ettiene for introducing me to MODx and specifying requirements for the original shopping cart. Also for allowing it to go open

    ______________________________________________________________________________________________

    Original Post

    How well would people receive a shopping cart that has:
    - a manager interface backend
    - does not require creation of documents for each product
    - has (infinitely)hierarchical relationships (like Electronics/Household/Entertainment/Gaming)

    What would people like to see, comparing with what we have already (Foxycart and Treasurechest)

    Would it be re-inventing the wheel for me to start working on a full fledged shopping cart system? I havent fully utilised the existing ones. I am not  saying they are bad at all. I just want to know if the effort would be well received and if it is necessary at all.

      • 7231
      • 4,205 Posts
      I think this would rock. I generally don’t work with commerce sites but I think it would be well received. grin
        [font=Verdana]Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

        Something is happening here, but you don't know what it is.
        Do you, Mr. Jones? - [bob dylan]
        • 8301
        • 1 Posts
        I’m sure it is nesseary.
        MODx realy miss good catalogue/shopping cart system.
        Here is some description of such system:
        Glossary of terms:

        • Item - product that front users will put to the cart. It have many сharacteristics such as price, description, size etc
        • Category - a folder, where we will store our items. these folders have "(infinitely)hierarchical relationships (like Electronics/Household/Entertainment/Gaming)". Categories also have characteristics, for example, `manufacturer`, `made in`, `description`. Those characteristics are common for all items stored in category
        • Field group - input fields for the characteristics. To enter characteristic in item or category, we need input field, for example, textarea or text input, RTE etc. We merge several fields in a group, so that we can associate the group to item or category.
        • Catalogue - a folder for categories. We can have several catalogs in out web-site. For example, catalogue of products, or catalogue of employers, catalogue of clients etc
        • [li]Order - number of items, selected by front-end user with contact information.
        Catalogue management:
        Catalogue management - component, that allows administrator to create catalogues. When catalogue is created we shoud see it in menu. For example in `Componets`. Than we click Components->New_catalogue. Now we see a for that allows to create Items, Categories and Filed gropus.
        Also we need a component, that will manage Orders. In this part we should see a contact information of person, who ordered it, ordered items, time etc. If order is new, in manager should be a notice about new order.
        Catalogue output:
        We don’t put catalogs to document tree, because items and categories is not a pages. Catalogue is something like database of a products, that we will store in out shop. And we use that database to display these products on pages of our site. So we need some components similar to Wayfinder, but with the different that it will scan categories and items of particular catalogue.
        Cart
        On pages, where items displayed we put a button `Add to shopping cart`.
        When user clicks this button, web page sends AJAX request to cart connector, that puts information about item to SESSION or send in to brouser cookies.
        And we also need some snippet, so that user could manage selected items and make an order of selected itmes.
        This snippet we put to special page called `cart`.

        P.S. sorry for my english. Some day I will learn it)
          • 7155
          • 160 Posts
          Thanks for responding. I am trying to convince a co-developer to release as open source something that works with Modx. If that does not yield anything, I will start developing one as my contribution to the community. I’m really hooked to MODx because it is such a flexible framework with so many possibilities. I will be updating this once I get a few projects of my back.

            • 7155
            • 160 Posts
            Update:
            I am excited to announce that the source code I had developed for my partner(Ettiene) has been agreed to be open source.

            I have been working for feedback with a few MODx forum members. All have been helpful.

            For now I can only give you a link to the front end with the hope of feedback. I will then clean up the code to make it more readable and to subscribe to good practice, after which I will release an Alpha Version.

            Note the following:
            As of now the implementation is very simple but would do well for a moderate shop.
            It is missing a description card, thanks to aiphess pointing that out.
            It is also missing a full catalogue listing or latest products listing

            I had initially developed it for Setcom, a South African payment gateway. I will work towards integrating paypal, as it is one of the most popular.

            Here is the link for testing:

            http://modx.scripconsult.com

            Feedback will be appreciated.
              • 16034
              • 107 Posts
              Hey, I just clicked a bit around, added an item to my cart, clicked checkout. Without entering anyting in the formula (name, address, etc.) I was able to click Buy now, and go to the payment-gateway. I guess there should have been some validation there?
                MODx snippet-glossary 101:
                Ditto = Content Lister -- Wayfinder == Menu Builder -- Jot = Comment Control
                • 7155
                • 160 Posts
                Quote from: Kleist at May 01, 2009, 04:51 AM

                Hey, I just clicked a bit around, added an item to my cart, clicked checkout. Without entering anyting in the formula (name, address, etc.) I was able to click Buy now, and go to the payment-gateway. I guess there should have been some validation there?
                yes am working on that.

                thanks for pointing it out though. what are your thoughts otherwise?
                  • 15083
                  • 697 Posts
                  Hi designetic, good work to date. MODx is definitly missing a few nuts and bolts be to considered a viable eCommerce solution.
                  What I have found from my expereice is that taking the MODx pages/TV approach soons becomes unweildy as the product count rises.

                  Maintaining a large catalogue of products can become a real nightmare. In the past I have just built my own bespoke cart, and chopped and changed it to suit the requirements of the project, however the underlying prodblem of the manager becomming a nightmare was still an issue.

                  I love the look of Foxy, but am worried that having 500 products as pages in MODx will becaome an issue? Has anyone any large scale stores powered by MODx and using Foxy?
                    • 7155
                    • 160 Posts
                    Quote from: jusmeig at Jun 01, 2009, 06:02 AM

                    Hi designetic, good work to date. MODx is definitly missing a few nuts and bolts be to considered a viable eCommerce solution.
                    What I have found from my expereice is that taking the MODx pages/TV approach soons becomes unweildy as the product count rises.

                    Maintaining a large catalogue of products can become a real nightmare. In the past I have just built my own bespoke cart, and chopped and changed it to suit the requirements of the project, however the underlying prodblem of the manager becomming a nightmare was still an issue.

                    I love the look of Foxy, but am worried that having 500 products as pages in MODx will becaome an issue? Has anyone any large scale stores powered by MODx and using Foxy?
                    hi jusmeig. i am definitely working for a simple to setup and use solution. with no requirement for creating documents. I had the same discouragement when I tried Treasurechest.

                    I have been a bit busy but have been working on it in between work and my free time. I hope to release something soon which can be downloaded and tested. But the project is still active.
                      • 7155
                      • 160 Posts
                      I will be giving access to the backend hopefully today. I just need to install and configure ManageManager. There are still some bugs though, so please be gentle.