We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 22815
    • 1,097 Posts
    I think it is great news that this is being set up for a number of actual real shops - that’s an essential amount of feedback that should make for a really solid, flexible release meeting real-world needs. Fantastic, and great to see you’re willing to share this work. Is there any help that people can be making based on these stores - like test purchases, feedback as customers etc? (Or even *actual* purchases..)
      No, I don't know what OpenGeek's saying half the time either.
      MODx Documentation: The Wiki | My Wiki contributions | Main MODx Documentation
      Forum: Where to post threads about add-ons | Forum Rules
      Like MODx? donate (and/or share your resources)
      Like me? See my Amazon wishlist
      MODx "Most Promising CMS" - so appropriate!
      • 33452
      • 3 Posts
      Hi, I have officially fallen in love with Modx but the problem is that I mostly build e-commerce sites for WAHM’s. I have downloaded ShopX but I have not gotten to play with it. Can someone here post a link to an actual site where shopx is being used on. I worked my way through this thread but all the links I kept clicking gave me 404’s.

      I would like to eventually use Modx for all the sites I design. I totally dumped Wordpress for Modx.

      I also have two more questions has anyone on here tried using modx with mals-e? I am toying with that idea just use modx and have all the buy now buttons go over to Mal’s-e. I am currently using option cart and that uses Mal’s-e as the cart and option cart is just the CMS.

      Again, I could never thank you all enough for your work on Modx. It is the most user friendly, web standard compliant and all around nifty CMS I have ever used. THANKS!!!

      Lidia-Anain
        • 14050
        • 788 Posts
        Zen,

        Try this link http://corganics.com/store.html
          Jesse R.
          Consider trying something new and extraordinary.
          Illinois Wine

          Have you considered donating to MODx lately?
          Donate now. Every contribution helps.
          • 33372
          • 1,611 Posts
          Quote from: ZenLoveJoy at Nov 05, 2006, 06:44 PM

          Hi, I have officially fallen in love with Modx but the problem is that I mostly build e-commerce sites for WAHM’s. I have downloaded ShopX but I have not gotten to play with it. Can someone here post a link to an actual site where shopx is being used on. I worked my way through this thread but all the links I kept clicking gave me 404’s.
          Hey there, Happy Happy Zen Love Joy Joy (OK I got a bit carried away) -

          I never post links to my sites on forums explaining how they’re built because I prefer that potential hackers have no idea what they’re dealing with. Several times I’ve seen exploits come out for different eCommerce programs and immediately the script kiddies are trolling the forums looking for potential targets who haven’t had time to patch yet. Call me paranoid ("You are SO paranoid, ZAP!"), but that doesn’t mean they’re not out to get me.

          If you send me a private message I’ll send you a link to check out.
            "Things are not what they appear to be; nor are they otherwise." - Buddha

            "Well, gee, Buddha - that wasn't very helpful..." - ZAP

            Useful MODx links: documentation | wiki | forum guidelines | bugs & requests | info you should include with your post | commercial support options
            • 28042 ☆ A M B ☆
            • 24,524 Posts
            I’ve got to organize my time better so I can get the ShopX demo up again on my site. Very bad of me.
              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
              • 28042 ☆ A M B ☆
              • 24,524 Posts
              Ok, ShopX demo back up on sottwell.com, with commentary. I’ll be working on it off and on as I get the chance. Right now all that’s up is the catalog and mini-cart. I’ll add the checkout cart later. Then I’m going to rework the whole thing to use a couple of database tables instead. I’ll only store a key and a tag for preventing re-submissions in the SESSION.
                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
                • 26435
                • 1,193 Posts
                Quote from: sottwell at Nov 19, 2006, 12:57 PM

                Ok, ShopX demo back up on sottwell.com, with commentary. I’ll be working on it off and on as I get the chance. Right now all that’s up is the catalog and mini-cart. I’ll add the checkout cart later. Then I’m going to rework the whole thing to use a couple of database tables instead. I’ll only store a key and a tag for preventing re-submissions in the SESSION.

                Susan, I have a PayPal IPN handler for MODx that I am working on. I have it set up to use a MySQL table for item info. I would like to have my tables exactly match shopX’s table (preferably share a table) for easy integration. What fields will you be using. So far I think I would need an id (primary key) item number (number of items in the cart) a price field (gross decimal [default 0.00 for instance]), a currency field (’USD’,’CAD’,’EUR’,’GBP’,’JPY’,’CAD’), and a unique item key, such as a barcode number.

                Let me know when you get you table structure set up. I would like to wait on releasing this until I can be sure that it seamlessly integrates with shopX.

                Glad to hear you are dumping this into the DB. This will make organizing payment and even searching methods much more accessible.

                -sD-
                Dr. Scotty Delicious, Scientist.
                  Husband, Father, Brother, Son, Programmer, Atheist, Nurse, Friend, Lover, Fighter.
                  All of the above... in no specific order.


                  I send pointless little messages
                  • 33372
                  • 1,611 Posts
                  Congratulations on the PhD, Scotty!

                  It seems as if we ought to form a collaborative effort to meld together the different variations on ShopX, etc. into one coherent project. I need to set up another one beginning this week, and in the process I hope to implement some of the changes that I decided would be useful in the last store. And rthrash has suggested developing for 0.97 (or at least with that in mind), since it should include database-based sessions as part of the core, which would mean that we could/should link to those tables rather than reinventing the wheel (or the laser cannon, depending upon how advanced you view such an invention).

                  I made some pretty significant changes to Susan’s base code, especially in order to allow for item options. This means that items in your basket actually need to be identified by more than just their product id, since a small red t-shirt is not the same as an extra-large blue one (and the add to cart function needs to take this into account). I also added some session auto-logout code (with alerts to the customer X minutes beforehand) so that session timeouts don’t just throw the whole process into a tailspin for no apparent reason.

                  Some things that I would still like to do (and hope to start this week):


                  • Although I was orginally of the opinion that sessions wouldn’t be reliable enough to use for this purpose, in practice they seem to be doing very well for the ordering info (name, address, payment info, etc.). So I don’t plan to change that for now, since I actually like that such private information is only stored temporarily. When MODx has database-based sessions then I would definitely switch to those, if only for the increased security on shared servers.
                  • For basket contents, however, I don’t think that sessions are working so well in my experience because people are more inclined to add items to their cart and wait a while before deciding to checkout. This means that sometimes their sessions expire (and they’d forwarded to a logout page) when they haven’t entered any personal info at all, so there was no security reason for doing this. So I think that the best method for handling basket contents is using a cookie, and I’m going to re-do my code for the next store to do that exclusively (and probably patch the one that is online and taking orders to look for a cookie when no basket session is found so as not to have to change everything on a live site).
                  • The new version of eForm is capable of sophisticated regex and custom function validation and can trigger multiple events throughout the validation/submission process, so I think that we should create the minor additional code that would make it a fully-functional checkout script. That would essentially mean adding functions to validate credit card numbers (before sending for processing) and other data and reformat it for standardized output, as well as some error- and fraud-prevention checks against the product database, etc. Like the rest of ShopX, these could be modular chunks of code that people could modify and use as needed.
                  • I created an offline processing module that is working very well for these folks so far, but has their templates and database info hard-coded into it, so I’d like to finish that properly and then re-do it for the next site with wider use in mind. Currently it uses a separate database from MODx and all of the scripts that access it are stored in a password-protected directory with forced SSL access via .htaccess. I’m not using the MODx API or any other external libraries at all so far on the theory that you never know when one of these might be compromised and allow hackers to access this information, but I’d be more than open to review the security of this setup with those who have more experience than I do, since I’m of the opinion that taking people’s credit card info lightly is bad karma.
                  • And I still have a lot of cleanup to do, and this store has some peculiarities that caused me to create very specific templates and TVs, so I’d really like to refine this into a more standard package that could be a more useful starting point for other folks.

                  So how should we go about trying to combine all these crazy ideas into one relatively-coherent package? Should we set up a test installation somewhere that we can all access and try to merge code that way? And if so, should we use 0.922 or 0.95 or jump straight to 0.97?

                  I have been very happy with my own Frankenstein so far. I think it’s performing at least as well as the last CubeCart system that I set up, which until now was the eCommerce program that I hated the least. The clients seem happy as well, and they’re selling about $500 to $1500 a day through it, with lots of positive comments from customers to boot.
                    "Things are not what they appear to be; nor are they otherwise." - Buddha

                    "Well, gee, Buddha - that wasn't very helpful..." - ZAP

                    Useful MODx links: documentation | wiki | forum guidelines | bugs & requests | info you should include with your post | commercial support options
                    • 28042 ☆ A M B ☆
                    • 24,524 Posts
                    Good! I was hoping this would "beat the underbrush" and scare out whoever is working on this thing! Zap, I will gladly yield to you, as well as Scotty. I am over my head on this; it’s just that since I started it I feel sort of responsible for it.

                    Zap, Scotty, if you want, I’ll give you full access to my sottwell.com site, where I’ve got the lame demo of what I did so far. And anybody else who wants to get in on the show. I think the basic idea is more-or-less sound, and would like to see it really well implemented.

                    As far as storing the temporary cart, I was going to use a random token (md5 of time(), maybe?) in the session and a cookie, with a database table to store "order" data that also has a field for the token. The token would remain until a) the order is finalized and the checkout process completed, or b) a manager user removes the "dead" order from a control panel. A management module would have a tab to show a list of stale orders, using a timestamp field in table to determine when to list these orders.

                    Another table would contain line-item "order items" data, linked by order number to the "order" table. And, considering the limitations of the MODx user management system, another table for "customers". Once the user management system gets reworked, that can easily enough be shifted to whatever the web user management system becomes.
                      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
                      • 34017
                      • 898 Posts
                      hey all,

                      I am working trying to extend Anders PPP solution and foresee a way it could be used with this. Here is what I am working on [x - means done]:

                      1. [x] You can create any type of field for a table
                      2. [x] You can choose what the Primary Key is (would this ever be needed)
                      3. [x] I have allowed Anonymous Submission
                      4. I am creating 4 options available: beforePopulate, afterPopulate, beforeMerge, afterMerge
                      - these options would allow you to keep manipulating your data on your script
                      5. Creating PHx Placeholders for the Listview

                      I see where anyone can create a shop with as many fields as they need shipping, coupons, item name, short description, long description, etc.

                      These can be shown in list view (similar to Ditto). So a user can add many items to the database (one to many), then any other script can manipulate this data for
                      1. Show Cart Contents
                      2. Calculate Shipping
                      3. Process total cost
                      4. Process CC, etc.

                      I hope this makes sense. I am working on a database solution. And would like to pass off the items "Added to cart" to your functions/snippets for Shipping and Checkout.

                      Chuck
                        Chuck the Trukk
                        ProWebscape.com :: Nashville-WebDesign.com
                        - - - - - - - -
                        What are TV's? Here's some info below.
                        http://modxcms.com/forums/index.php/topic,21081.msg159009.html#msg1590091
                        http://modxcms.com/forums/index.php/topic,14957.msg97008.html#msg97008