• Hey guys, I’m trying to help my friend with his wordpress/woocommerce store.

    The problem is, you can’t add any products to the cart. When you click “add to cart” on the product page, it just redirects you to an empty cart.

    Oddly enough, when I’m logged in as admin I can add products to the cart just fine. When I logout and clear my cookies, it’s broken again.

    I searched everywhere for an answer, even tried different themes and disabling plug-ins but nothing seems to resolve the issue. I am really stumped.

    Here is the site: https://dualo.us (Warning: Contains t-shirts that may be inappropriate to some, no nudity or anything like that though)

    I’d really appreciate some help working this problem out. Let me know if there’s anything I can do to help you help me.

    Here is a system status report from woocommerce if it helps…

    ### Environment ###
    
    Home URL:                https://dualo.us/store
    Site URL:                https://dualo.us/store
    WC Version:              2.1.11
    WC Database Version:     2.1.11
    WP Version:              3.9.1
    WP Multisite Enabled:    No
    Web Server Info:         Apache
    PHP Version:             5.2.17
    MySQL Version:           5.5.37
    WP Memory Limit:         96 MB
    WP Debug Mode:           No
    WP Language:             Default
    WP Max Upload Size:      10 MB
    PHP Post Max Size:       10 MB
    PHP Time Limit:          30
    PHP Max Input Vars:      1000
    SUHOSIN Installed:       No
    WC Logging:              Log directory is writable.
    Default Timezone:        Default timezone is UTC
    fsockopen/cURL:          Your server has fsockopen and cURL enabled.
    SOAP Client:             Your server has the SOAP Client class enabled.
    WP Remote Post:          wp_remote_post() was successful - PayPal IPN is working.
    
    ### Locale ###
    
    decimal_point:           .
    thousands_sep:
    mon_decimal_point:
    mon_thousands_sep:       
    
    ### Plugins ###
    
    Installed Plugins:       Virtue ToolKit by Kadence Themes version 1.7
                             WooCommerce Product Archive Customiser by jameskoster version 0.3.0
                             WooCommerce by WooThemes version 2.1.11
                             WordPress SEO by Joost de Valk version 1.5.3.3
    
    ### Settings ###
    
    Force SSL:               No
    
    ### WC Pages ###
    
    Shop Base:               #5 - /
    Cart:                    #6 - /cart/
    Checkout:                #7 - /checkout/
    My Account:              #8 - /my-account/
    
    ### WC Taxonomies ###
    
    Order Statuses:          cancelled (cancelled)
                             completed (completed)
                             failed (failed)
                             on-hold (on-hold)
                             pending (pending)
                             processing (processing)
                             refunded (refunded)
    
    Product Types:           external (external)
                             grouped (grouped)
                             simple (simple)
                             variable (variable)
    
    ### Theme ###
    
    Theme Name:              Twenty Twelve
    Theme Version:           1.4
    Author URL:              https://www.ads-software.com/
    
    ### Templates ###
    
    Template Overrides:      No overrides present in theme.

    Any ideas?

    Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter goochball

    (@goochball)

    I was able to resolve the cart problems by changing Settings>Permalinks from “Day and Name” to “Default”. Not the ideal fix I was looking for, but at least it’s functioning. Could someone perhaps provide some insight as to why the “Day and Name” permalink setting would break the cart? Still a mystery to me.

    Bump!

    I’m having precisely the same problem. I really do not want to change my permalinks structure. Any help would be appreciated.

    Below, I’ve pasted my system report.

    Thanks!

    ### Environment ###
    
    Home URL:                https://localhost:8888
    Site URL:                https://localhost:8888
    WC Version:              2.2.2
    WC Database Version:     2.2.2
    WP Version:              4.0
    WP Multisite Enabled:    No
    Web Server Info:         Apache/2.2.26 (Unix) mod_fastcgi/2.4.6 mod_wsgi/3.4 Python/2.7.6 PHP/5.5.10 mod_ssl/2.2.26 OpenSSL/0.9.8y DAV/2 mod_perl/2.0.8 Perl/v5.18.2
    PHP Version:             5.5.10
    MySQL Version:           5.5.34
    WP Active Plugins:       3
    WP Memory Limit:         40 MB - We recommend setting memory to at least 64MB. See: Increasing memory allocated to PHP
    WP Debug Mode:           No
    WP Language:             en_US
    WP Max Upload Size:      32 MB
    PHP Post Max Size:       32 MB
    PHP Time Limit:          30
    PHP Max Input Vars:      1000
    SUHOSIN Installed:       No
    WC Logging:              Log directory (/Users/tim/Documents/Web Development/AsunderArt/wordpress/wc-logs/) is writable.
    Default Timezone:        Default timezone is UTC
    fsockopen/cURL:          Your server has fsockopen and cURL enabled.
    SOAP Client:             Your server has the SOAP Client class enabled.
    WP Remote Post:          wp_remote_post() was successful - PayPal IPN is working.
    
    ### Locale ###
    
    decimal_point:           .
    thousands_sep:
    mon_decimal_point:
    mon_thousands_sep:       
    
    ### Plugins ###
    
    Installed Plugins:       Force Regenerate Thumbnails by Pedro Elsner version 2.0.3
                             WooCommerce by WooThemes version 2.2.2
                             WP Migrate DB by Delicious Brains version 0.6
    
    ### Settings ###
    
    Force SSL:               No
    
    ### WC Pages ###
    
    Shop Base:               #4 - /shop/
    Cart:                    #5 - /cart/
    Checkout:                #6 - /checkout/
    My Account:              #7 - /my-account/
    
    ### WC Taxonomies ###
    
    Product Types:           external (external)
                             grouped (grouped)
                             simple (simple)
                             variable (variable)
    
    ### Theme ###
    
    Theme Name:
    Theme Version:
    Theme Author URL:
    Is Child Theme:          No
    WooCommerce Support:     Yes
    
    ### Templates ###
    
    Template Overrides (WooCommerce):archive-product.php
                             cart-empty.php
                             cart-item-data.php
                             cart-shipping.php
                             cart-totals.php
                             cart.php
                             cross-sells.php
                             mini-cart.php
                             shipping-calculator.php
                             .DS_Store
                             cart-errors.php
                             form-billing.php
                             form-checkout.php
                             form-coupon.php
                             form-login.php
                             form-pay.php
                             form-shipping.php
                             review-order.php
                             thankyou.php
                             content-product.php
                             content-product_cat.php
                             content-single-product.php
                             content-widget-product.php
                             .DS_Store
                             admin-new-order.php
                             customer-completed-order.php
                             customer-invoice.php
                             customer-new-account.php
                             customer-note.php
                             customer-processing-order.php
                             customer-reset-password.php
                             email-addresses.php
                             email-footer.php
                             email-header.php
                             email-order-items.php
                             admin-new-order.php
                             customer-completed-order.php
                             customer-new-account.php
                             customer-note.php
                             customer-reset-password.php
                             email-order-items.php
                             form-login.php
                             quantity-input.php
                             sidebar.php
                             wrapper-end.php
                             wrapper-start.php
                             add-to-cart.php
                             loop-end.php
                             loop-start.php
                             no-products-found.php
                             orderby.php
                             pagination.php
                             price.php
                             rating.php
                             result-count.php
                             sale-flash.php
                             form-add-payment-method.php
                             form-edit-account.php
                             form-edit-address.php
                             form-login.php
                             form-lost-password.php
                             my-account.php
                             my-address.php
                             my-downloads.php
                             my-orders.php
                             view-order.php
                             error.php
                             notice.php
                             success.php
                             form-tracking.php
                             order-details.php
                             tracking.php
                             external.php
                             grouped.php
                             simple.php
                             variable.php
                             meta.php
                             price.php
                             product-attributes.php
                             product-image.php
                             product-thumbnails.php
                             rating.php
                             related.php
                             review.php
                             sale-flash.php
                             share.php
                             short-description.php
                             additional-information.php
                             description.php
                             tabs.php
                             title.php
                             up-sells.php
                             single-product-reviews.php
                             single-product.php
                             taxonomy-product_cat.php
                             taxonomy-product_tag.php
    wzshop

    (@wzshop)

    Same here. problem occurs when not logged in and is fixed by setting permalinks to default. Any updates on this issue?

    Same here… WordPress Multisite 4.1.1 and Woocommerce 2.3.7

    Same here. WordPress 4.1.1 and Woocommerce 2.3.7

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: WooCommerce] Can't add products to cart unless logged in as admin.’ is closed to new replies.