WordPress.org

Ready to get started?Download WordPress

Forums

Easy Digital Downloads
[resolved] Add to Cart button not working since EDD 1.8 (6 posts)

  1. isabel104
    Member
    Posted 9 months ago #

    I just noticed that the "Add to Cart button does not work since version 1.8. Below is the system info for 2 different sites I have running WP 3.6.1, one has EDD version 1.8, and one has EDD version 1.8.1. Please help (Just noticed I've been 3 weeks with broken carts. Now I see it wasn't due to the economy :) ). EDD 1.7.2 was working fine on both sites - the proof is that I had sales during the month of September while running 1.7.2 on both sites. Thanks a lot for any help. I'm also looking for fix, and will post here if I find anything.

    System info for site 1:

    ### Begin System Info ###
    
    ## Please include this information when posting support requests ##
    
    Multisite:                Yes
    
    SITE_URL:                 http://smartestthemes.com
    HOME_URL:                 http://smartestthemes.com
    
    EDD Version:              1.8.1
    Upgraded From:            1.6.1
    WordPress Version:        3.6.1
    Permalink Structure:      /blog/%postname%/
    Active Theme:             Smartest Echo 1.0.1
    
    Test Mode Enabled:        No
    Ajax Enabled:             Yes
    Guest Checkout Enabled:   Yes
    Symlinks Enabled:         No
    
    Checkout is:              Valid
    Checkout Page:            http://smartestthemes.com/checkout/
    Success Page:             http://smartestthemes.com/purchase-confirmation/
    Failure Page:             http://smartestthemes.com/checkout/transaction-failed/
    Downloads slug:           /downloads
    
    Taxes Enabled:            No
    Taxes After Discounts:    No
    Tax Rate:                 0%
    Country / State Rates:
    Registered Post Stati:    publish, future, draft, pending, private, trash, auto-draft, inherit, closed, spam, orphan, hidden, refunded, failed, revoked, abandoned, active, inactive
    
    Platform:                 Windows
    Browser Name:             Firefox
    Browser Version:          24.0
    User Agent String:        Mozilla/5.0 (Windows NT 6.0; WOW
    			  64; rv:24.0) Gecko/20100101 Fire
                              fox/24.0
    
    PHP Version:              5.3.24
    MySQL Version:            5.0.96-log
    Web Server Info:          Apache
    
    PHP Safe Mode:            No
    PHP Memory Limit:         256M
    PHP Upload Max Size:      20M
    PHP Post Max Size:        28M
    PHP Upload Max Filesize:  20M
    PHP Time Limit:           300
    PHP Max Input Vars:       1000
    
    WP_DEBUG:                 Disabled
    
    WP Table Prefix:          Length: 3 Status: Acceptable
    
    Show On Front:            page
    Page On Front:            Home (#52)
    Page For Posts:            (#0)
    
    WP Remote Post:           wp_remote_post() works
    
    Session:                  Disabled
    Session Name:             PHPSESSID
    Cookie Path:              /
    Save Path:
    Use Cookies:              On
    Use Only Cookies:         On
    
    WordPress Memory Limit:   64MB
    DISPLAY ERRORS:           N/A
    FSOCKOPEN:                Your server supports fsockopen.
    cURL:                     Your server supports cURL.
    SOAP Client:              Your server has the SOAP Client enabled.
    SUHOSIN:                  Your server does not have SUHOSIN installed.
    
    TEMPLATES:
    
    Filename: shortcode-profile-editor.php
    Filename: shortcode-receipt.php
    
    ACTIVE PLUGINS:
    
    bbPress: 2.4.1
    bbPress Notify (No-Spam): 1.3
    Easy Digital Downloads: 1.8.1
    Easy Digital Downloads - Related Downloads: 1.4.7
    Easy Digital Downloads - Software Specs: 1.5.7
    EDD Featured Downloads: 1.0
    Executable PHP widget: 2.1
    Hyper Cache: 2.9.1.4
    Q and A FAQ and Knowledge Base for WordPress: 1.0.6.2
    Smartest Contact Form Page: 1.3
    wpsc Support Tickets: 1.9.1
    Wysija Newsletters: 2.5.9
    
    NETWORK ACTIVE PLUGINS:
    
    Network-wide Custom Login Logo :1.1
    ### End System Info ###

    System info for site 2:

    ### Begin System Info ###
    
    ## Please include this information when posting support requests ##
    
    Multisite:                No
    
    SITE_URL:                 http://isabelcastillo.com
    HOME_URL:                 http://isabelcastillo.com
    
    EDD Version:              1.8
    Upgraded From:            1.5.1
    WordPress Version:        3.6.1
    Permalink Structure:      /%postname%
    Active Theme:             Parallax 1.0
    
    Test Mode Enabled:        No
    Ajax Enabled:             Yes
    Guest Checkout Enabled:   Yes
    Symlinks Enabled:         No
    
    Checkout is:              Valid
    Checkout Page:            http://isabelcastillo.com/checkout
    Success Page:             http://isabelcastillo.com/purchase-confirmation
    Failure Page:             http://isabelcastillo.com/checkout/transaction-failed
    Downloads slug:           /downloads
    
    Taxes Enabled:            No
    Taxes After Discounts:    No
    Tax Rate:                 0%
    Country / State Rates:
    Registered Post Stati:    publish, future, draft, pending, private, trash, auto-draft, inherit, refunded, failed, revoked, abandoned, active, inactive
    
    Platform:                 Windows
    Browser Name:             Firefox
    Browser Version:          24.0
    User Agent String:        Mozilla/5.0 (Windows NT 6.0; WOW
    			  64; rv:24.0) Gecko/20100101 Fire
                              fox/24.0
    
    PHP Version:              5.3.24
    MySQL Version:            5.0.96-log
    Web Server Info:          Apache
    
    PHP Safe Mode:            No
    PHP Memory Limit:         256M
    PHP Upload Max Size:      20M
    PHP Post Max Size:        28M
    PHP Upload Max Filesize:  20M
    PHP Time Limit:           300
    PHP Max Input Vars:       1000
    
    WP_DEBUG:                 Disabled
    
    WP Table Prefix:          Length: 3 Status: Acceptable
    
    Show On Front:            page
    Page On Front:            Home (#1346)
    Page For Posts:           Journal (#20)
    
    WP Remote Post:           wp_remote_post() works
    
    Session:                  Enabled
    Session Name:             PHPSESSID
    Cookie Path:              /
    Save Path:
    Use Cookies:              On
    Use Only Cookies:         On
    
    WordPress Memory Limit:   40MB
    DISPLAY ERRORS:           N/A
    FSOCKOPEN:                Your server supports fsockopen.
    cURL:                     Your server supports cURL.
    SOAP Client:              Your server has the SOAP Client enabled.
    SUHOSIN:                  Your server does not have SUHOSIN installed.
    
    TEMPLATES:
    
    Filename: checkout_cart.php
    Filename: shortcode-profile-editor.php
    Filename: shortcode-receipt.php
    
    ACTIVE PLUGINS:
    
    Captcha Code: 2.4
    Change Comment Reply Form Text:
    Comment Notifier: 2.2.6
    Easy Digital Downloads: 1.8
    Easy Digital Downloads - Related Downloads: 1.4.7
    Easy Digital Downloads - Software Specs: 1.5.7
    Easy Digital Downloads Attach Accounts to Orders: 1.0
    Executable PHP widget: 2.1
    GD Star Rating: 1.9.22
    Hyper Cache: 2.9.1.4
    Organized Docs: 1.0
    Q and A FAQ and Knowledge Base for WordPress: 1.0.6.2
    SyntaxHighlighter Evolved: 3.1.7
    WP Admin No Show: 1.4.1
    wpsc Support Tickets: 1.9.1
    Wysija Newsletters: 2.5.9
    ### End System Info ###

    http://wordpress.org/plugins/easy-digital-downloads/

  2. Pippin Williamson
    Pippin's Plugins and Plugin Reviewer
    Plugin Author

    Posted 9 months ago #

    On the first site I see you have a JS error: http://screencloud.net/v/rVVS - That could definitely cause the problem. To confirm, go to Downloads > Settings > Misc and disable Ajax. If it works without ajax, then that is likely the problem.

    The second site also has a javascript error: http://screencloud.net/v/uUC8

  3. isabel104
    Member
    Posted 9 months ago #

    Thank you.

    1. Deactivating the Hyper Cache plugin fixed the issue on the 1st site. (Disabling Ajax didn't fix it).

    2. On the 2nd site, I upgrade to EDD 1.8.1, and now it works fine, even with Hyper Cache.

    The main difference between the 2 is that the 1st site runs WordPress Multisite, while the 2nd site is a regular single WP installation. So, it seems there is no problem with EDD 1.8.1 on regular WP. Thanks again.

  4. Pippin Williamson
    Pippin's Plugins and Plugin Reviewer
    Plugin Author

    Posted 9 months ago #

    Great to hear!

  5. isabel104
    Member
    Posted 8 months ago #

    Just in case this may help someone:

    Hyper Cache plugin works just fine with EDD, even on Multisite, if you add these URIs to the Hyper Cache Options -> Filters section -> "URI to reject":

    /downloads
    /downloads/
    /checkout
    /checkout/
    /purchase-confirmation
    /purchase-confirmation/

    Variation: If you change the default pages for options 2, 3, and 4 in "Downloads -> Settings -> General", then edit the URIs above to reflect that.

  6. Pippin Williamson
    Pippin's Plugins and Plugin Reviewer
    Plugin Author

    Posted 8 months ago #

    Excellent! I'm going to create a doc on the website for that.

Reply

You must log in to post.

About this Plugin

About this Topic