We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 15914
    • 145 Posts
    Wow Susan, this is great!

    I think I may have found a bug though:

    When using the [!ShopCheckout!] snippet, when I select the "Edit Cart" button on the page, I receive this error:

    « MODx Parse Error »
    MODx encountered the following error while attempting to parse the requested resource:
    « PHP Parse Error »

    PHP error debug
    Error: Invalid argument supplied for foreach()
    Error type/ Nr.: Warning - 2
    File: /home/sites/limehost.net/public_html/manager/includes/document.parser.class.inc.php(667) : eval()’d code
    Line: 41

    Parser timing
    MySQL: 0.0000 s s (0 Requests)
    PHP: 0.0232 s s
    Total: 0.0232 s s

    Does this happen with anyone else? Or is this my whoopsy?
      Kunal Kapoor
      Technical Director
      Limesharp Internet Limited - Effective, Functional, Standards Compliant

      IRC Nick: KingKoopa
      Skype ID: KingKoopa16
      • 32241
      • 1,495 Posts
      Kunai, I think you’re a programmer right?

      Do you mind helping Susan continue working on this project? I need this kinda snippet for my next project. grin
        Wendy Novianto
        [font=Verdana]PT DJAMOER Technology Media
        [font=Verdana]Xituz Media
        • 15914
        • 145 Posts
        Me too Wendy. I’m looking into developing this thing further right now. It has some great potential! But I’m still on a MODx learning curve at the moment. But I’ll certainly see what I can do.

        The early hours of the morning are creeping up around the corner, but that doesn’t stop me! grin
          Kunal Kapoor
          Technical Director
          Limesharp Internet Limited - Effective, Functional, Standards Compliant

          IRC Nick: KingKoopa
          Skype ID: KingKoopa16
          • 32241
          • 1,495 Posts
          Cool.
          It’s almost night in here laugh

          So good luck with your learning curve wink
            Wendy Novianto
            [font=Verdana]PT DJAMOER Technology Media
            [font=Verdana]Xituz Media
            • 15914
            • 145 Posts
            Quote from: rthrash at Nov 30, 2005, 12:15 AM

            Susan... got that PayPal thing much more cleaned up and almost done now, if you want to toss in IPN and webuser account creation into the mix.

            Ryan, have you created a PayPal module for shopX? Is it complete yet? Ta muchly in advance.
              Kunal Kapoor
              Technical Director
              Limesharp Internet Limited - Effective, Functional, Standards Compliant

              IRC Nick: KingKoopa
              Skype ID: KingKoopa16
              • 25663 MODX Staff
              • 12,272 Posts
              Nothing yet Kunal. I’ll let you know as soon as I can get back into looking at it, which hopefully will be this week.
                Ryan Thrash, MODX Co-Founder
                Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                • 32241
                • 1,495 Posts
                Any thought of using a database backend, instead of current MODx document? Our document structure is great, but having this as a separate thing will be a lot better, and easier to expand, from my own opinion.

                I saw microshop plugin for wordpress, I believe the code can be use without having to run wordpress. Any thought in importing shop cart?
                  Wendy Novianto
                  [font=Verdana]PT DJAMOER Technology Media
                  [font=Verdana]Xituz Media
                  • 32241
                  • 1,495 Posts
                  Here is a simple php class to do the database backend shopping cart.
                  The code is a little bit long, so don’t ban me for pasting this long code in code view grin (The only reason is because it’s easier to read on-the-fly, without downloading it first)

                  code removed, now it’s included as a txt file wink
                    Wendy Novianto
                    [font=Verdana]PT DJAMOER Technology Media
                    [font=Verdana]Xituz Media
                    • 32241
                    • 1,495 Posts
                    Here is the page containing all necessary small php class that can be use to improve the shopping cart system

                    http://www.zend.com/codex.php?CID=22

                    All the best Kunai and Ryan
                      Wendy Novianto
                      [font=Verdana]PT DJAMOER Technology Media
                      [font=Verdana]Xituz Media
                      • 15914
                      • 145 Posts
                      Quote from: Djamoer at Jan 31, 2006, 10:08 PM

                      All the best Kunai and Ryan

                      Thanks ever so much... I’m working on this tonight now.

                      (BTW, Wendy, it’s Kunal not Kunai. wink)
                        Kunal Kapoor
                        Technical Director
                        Limesharp Internet Limited - Effective, Functional, Standards Compliant

                        IRC Nick: KingKoopa
                        Skype ID: KingKoopa16