We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 12808
    • 70 Posts
    Take a look at first post in this thread...You will find link to download .2 version...

    BTW, if someone need to send invoice by email (with eForm) and have a problem with:

    <textarea cols="80" rows="20" name="cart" >
    [[gCart? &gItemTpl=`ItemTpl` &gCartTpl=`CartTpl`]]
    </textarea>

    call eForm with parameters &allowhtml=`1` and &sendAsHTML=`1` and eForm will send complete shopping cart to recipients email with all html data...

    Hope someone will find this useful...

    With regards,
    Ivan
    www.spotkg.com

      --
      www.spotkg.com
      • 26430
      • 8 Posts
      Thanks Ivan!

      Is there any reason that is not in the MODx Addons? Especially for Newbies like me? wink

      Scott
        • 12808
        • 70 Posts
        Have no idea...
        Everything works perfectly in 0.2 version (I’m using it to send invoice by email, not using paypal or google checkout).

        If you need any help, don’t hesitate to ask.
          --
          www.spotkg.com
          • 44234
          • 219 Posts
          Hi,

          I am going to use gCart for a upcoming project but I need some help with getting it to work with Paypal.

          I have gCart working fine but how do you go about changing it to use Paypal?

          Have tried calling the pCart snippet but it doesn’t output anything, do I need to edit the snippet code? The Wiki guide and Docs say its possible but don’t explain how.

          Am sure I’ve missed something obvious! Any help would be greatly appreciated!

          Thanks
            Find me on Twitter, GitHub or Google+
            • 44234
            • 219 Posts
            Any ideas guys?

            I have seen people on the forum say they have it working, I just need some simple instructions...

            Thanks
              Find me on Twitter, GitHub or Google+
              • 26342
              • 7 Posts
              Hi all, I’ve managed to get everything working fine but when I send the data to checkout I get an error ’Bad Signature on Cart’ - has anyone come across this or know what the problem might be?

              Note to people having problems with an empty cart: there’s an extra <? at the top of the gSession plugin that shouldn’t be there. I also found that the checkout button image doesn’t appear, in sandbox mode I needed to update gButton.php line 101 to:
              src=\"https://checkout.google.com/buttons/checkout.gif?merchant_id=$merchant_id&w=$w&h=$h&style=$style&variant=$var&loc=$loc\" />

              Also, the URL posting to Google Checkout didn’t work at all for me until I changed it in gButton.php line 97 to:
              <form id=\"googleCheckout\" action=\"https://$domain/checkout/cws/v2/Merchant/$merchant_id/checkoutForm\" method=\"post\">

              That’s according to the Google’s documentation I found but it may not be correct (I’m no expert).
                • 27869
                • 2 Posts
                I have a problem. Does not show the shopping cart button. Please see my website: http://apostrophe.com.preview-sg112.servergrove.com/cv/index.php?id=75&clearCart=1

                How to add button cart?
                  • 3133
                  • 98 Posts
                  Hi There,

                  I try to run gCart under YAMS

                  - Alone gCart runs correctly with Friendly URLs

                  htaceess
                  RewriteEngine On
                  RewriteBase /
                  
                  RewriteCond %{HTTP_HOST} .
                  RewriteCond %{HTTP_HOST} !^www\.example\.com [NC]
                  RewriteRule (.*) http://www.example.com/$1 [R=301,L]
                  
                  RewriteCond %{REQUEST_FILENAME} !-f
                  RewriteCond %{REQUEST_FILENAME} !-d
                  RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]


                  Then Item’s links look like
                  [+gClearItemURL+]= /index.html&clearItem=item.html


                  Under YAMS and because of rewriting we’ve got http://www.example.com/fr/ http://www.example.com/en/

                  with htaceess


                  RewriteEngine On
                   # Friendly URLs
                   RewriteEngine On
                   RewriteBase /
                   
                   # Fix Apache internal dummy connections from breaking [(site_url)] cache
                  RewriteCond %{HTTP_USER_AGENT} ^.*internal\ dummy\ connection.*$ [NC]
                  RewriteRule .* - [F,L]
                  
                   # Rewrite domain.com -> www.domain.com -- used with SEO Strict URLs plugin
                  RewriteCond %{HTTP_HOST} .
                  RewriteCond %{HTTP_HOST} !^www\.example\.com [NC]
                  RewriteRule (.*) http://www.example.com/$1 [R=301,L]
                  
                   
                   # Exclude /assets and /manager directories from rewrite rules
                   RewriteRule ^(manager|assets) - [L]
                   
                   # Redirect from mydomain.com/rootname to mydomain.com/rootname/
                   RewriteRule ^en$ en/ [R=301,L]
                   RewriteRule ^fr$ fr/ [R=301,L]
                   
                   # The Friendly URLs part
                   RewriteCond %{REQUEST_FILENAME} !-f
                   RewriteCond %{REQUEST_FILENAME} !-d
                   RewriteRule ^en/(.*)$ index.php?q=$1 [L,QSA]
                   RewriteCond %{REQUEST_FILENAME} !-f
                   RewriteCond %{REQUEST_FILENAME} !-d
                   RewriteRule ^fr/(.*)$ index.php?q=$1 [L,QSA]
                   RewriteCond %{REQUEST_FILENAME} !-f
                   RewriteCond %{REQUEST_FILENAME} !-d
                   RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
                  


                  And I got this kind of link... and gCart doesn’t work out anymore

                  [+gClearItemURL+]= /index.html&clearItem=http://www.exemple.com/fr/item.html

                  Is it possible to change the code in order to obtain the right path or something. Actualy I’m not a devellopper and I don’t know how to do it... so i decide to ask some help.


                  Thank You