We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 14050
    • 788 Posts
    I will try to get an install up and running following my directions. I will make this a demo site so that people can view the backend.
      Jesse R.
      Consider trying something new and extraordinary.
      Illinois Wine

      Have you considered donating to MODx lately?
      Donate now. Every contribution helps.
      • 16085
      • 203 Posts
      @Jesse R, well I actually have it displaying the chunk templates now. I was pasting in Rich Txt mode and it was adding {{<span></span>AddRegularItem}}, doh!

      Now I can see an output for the [*gCart*] template as well.. So now I guess I need the build the checkout page and add something like your ’Your Cart’ side block.

      I thought it would use Ditto for display.. but a demo site showing the backend setup would be handy. Or even just screen shot your all your steps and put them on the wiki.


      Also where did your link or at least I’ve seen a link for your sandbox version of the gCArt, it had some nice Ajax’ing & layout??
        • 14050
        • 788 Posts
        The sandbox is no more, that is why I plan on getting a new site up. I have also found a few bugs, but will try to address those soon enough smiley
          Jesse R.
          Consider trying something new and extraordinary.
          Illinois Wine

          Have you considered donating to MODx lately?
          Donate now. Every contribution helps.
          • 14050
          • 788 Posts
          The AJAX stuff is really independent of the script. I wanted the script to be able to work with javascript disabled. With the new site I am working on, I will discuss how to use jQuery to make some AJAX magic happen, similar to the Blue Sky Vineyard’s site (i.e., increment and decrement are done via AJAX).
            Jesse R.
            Consider trying something new and extraordinary.
            Illinois Wine

            Have you considered donating to MODx lately?
            Donate now. Every contribution helps.
            • 26843
            • 4 Posts
            A client wanted a shopping cart for ModX but they use Authorize.net.
            So after slogging through the code, I modified the PayPal function to work with Authorize.net.
            Hopefully this can be rolled into the code and further expand its usefulness.
              • 25663 MODX Staff
              • 12,272 Posts
              Would be interesting to see payment methods functioning essentially as plugins, not hacked into the main cart.
                Ryan Thrash, MODX Co-Founder
                Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                • 26843
                • 4 Posts
                I would too but I didn’t have the luxury of time to refactor the code to do that.
                  • 1535
                  • 84 Posts
                  I am stuck with this output regardless what I put in the Content area of the document:
                  <div id="minicart"><h1>Your Cart</h1><p>Your cart is empty.</p></div>


                  All the Chunks, TVs, Plugin and Snippets are in place. Version 0.2.

                  Do I have to have an Google Checkout merchant account to get any output for test purposes?

                  Cheers,

                  Andreas

                  Edit: Resolved it myself. Had made a mistake in adding the [*content*] part of the template. Got it working with Paypal as Google Checkout does not allow European merchants.

                  Btw, there is a bug in pCart.php. There is a semicolon missing at the end of line 31.

                  Also, a minor error in the example call in the wiki ([!gCart? &gItemTpl=`gItemTpl` &gCartTpl=`gCartTpl`!]) which refers to chunks named gItemTpl and gCartTpl. The correct names are ItemTpl and CartTpl as per the file names in the chunks folder.
                    • 19227
                    • 9 Posts
                    Hello all.
                    I’m loving gCart, but was wondering if anyone had any thoughts on how to set a product to have a limited number available, then do a stock check when someone goes to a product page / adds it to their cart?

                    Cheers,
                    Mike
                      • 5004
                      • 62 Posts
                      Hi,
                      I’am installing gCart v0.2 but the web site will be in Italy with european/italian merchants.
                      Do you confirm that gCart do not allow European merchant? Are there other solutions that allow european merchant?
                      Thank you
                      Francesco

                      Quote from: AndreasT at Jun 25, 2008, 09:56 AM


                      Andreas

                      Edit: Resolved it myself. Had made a mistake in adding the [*content*] part of the template. Got it working with Paypal as Google Checkout does not allow European merchants.