• Resolved entrappe

    (@entrappe)


    When you add a product to the cart, it says “item added to cart”. If you go to the cart, it says cart empty.

    I have tried:

    A default WP theme
    Disabling all plugins except woo-commerce

    Not sure what else to try


    ### WordPress Environment ###

    Home URL: https://allprotechnologies.com/store
    Site URL: https://allprotechnologies.com/store
    WC Version: 3.2.1
    Log Directory Writable: ?
    WP Version: 4.8.2
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_US

    ### Server Environment ###

    Server Info: Apache
    PHP Version: 7.0.24
    PHP Post Max Size: 8 MB
    PHP Time Limit: 90
    PHP Max Input Vars: 10000
    cURL Version: 7.55.1
    OpenSSL/1.0.2k

    SUHOSIN Installed: –
    MySQL Version: 5.6.37
    Max Upload Size: 8 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?

    ### Database ###

    WC Database Version: 3.2.1
    WC Database Prefix: XX_
    MaxMind GeoIP Database: ?
    Total Database Size: 10.49MB
    Database Data Size: 8.76MB
    Database Index Size: 1.73MB
    Ws_woocommerce_sessions: Data: 0.12MB + Index: 0.00MB
    Ws_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB
    Ws_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.01MB
    Ws_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.01MB
    Ws_woocommerce_order_items: Data: 0.01MB + Index: 0.01MB
    Ws_woocommerce_order_itemmeta: Data: 0.06MB + Index: 0.06MB
    Ws_woocommerce_tax_rates: Data: 0.00MB + Index: 0.01MB
    Ws_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB
    Ws_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB
    Ws_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.01MB
    Ws_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB
    Ws_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB
    Ws_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.01MB
    Ws_woocommerce_log: Data: 0.00MB + Index: 0.00MB
    Ws_commentmeta: Data: 0.00MB + Index: 0.01MB
    Ws_comments: Data: 0.03MB + Index: 0.02MB
    Ws_links: Data: 0.00MB + Index: 0.00MB
    Ws_options: Data: 4.46MB + Index: 0.41MB
    Ws_postmeta: Data: 0.74MB + Index: 0.49MB
    Ws_posts: Data: 0.29MB + Index: 0.06MB
    Ws_termmeta: Data: 0.01MB + Index: 0.02MB
    Ws_terms: Data: 0.01MB + Index: 0.02MB
    Ws_term_relationships: Data: 0.01MB + Index: 0.03MB
    Ws_term_taxonomy: Data: 0.01MB + Index: 0.01MB
    Ws_usermeta: Data: 0.05MB + Index: 0.04MB
    Ws_users: Data: 0.00MB + Index: 0.01MB
    Ws_wfBadLeechers: Data: 0.00MB + Index: 0.00MB
    Ws_wfBlockedCommentLog: Data: 0.00MB + Index: 0.00MB
    Ws_wfBlockedIPLog: Data: 0.00MB + Index: 0.00MB
    Ws_wfBlocks: Data: 0.00MB + Index: 0.00MB
    Ws_wfBlocksAdv: Data: 0.00MB + Index: 0.00MB
    Ws_wfConfig: Data: 0.82MB + Index: 0.01MB
    Ws_wfCrawlers: Data: 0.00MB + Index: 0.00MB
    Ws_wfFileMods: Data: 0.53MB + Index: 0.12MB
    Ws_wfHits: Data: 1.10MB + Index: 0.23MB
    Ws_wfHoover: Data: 0.00MB + Index: 0.00MB
    Ws_wfIssues: Data: 0.02MB + Index: 0.00MB
    Ws_wfKnownFileList: Data: 0.25MB + Index: 0.04MB
    Ws_wfLeechers: Data: 0.01MB + Index: 0.01MB
    Ws_wfLockedOut: Data: 0.00MB + Index: 0.00MB
    Ws_wfLocs: Data: 0.00MB + Index: 0.00MB
    Ws_wfLogins: Data: 0.08MB + Index: 0.02MB
    Ws_wfNet404s: Data: 0.00MB + Index: 0.00MB
    Ws_wfNotifications: Data: 0.01MB + Index: 0.00MB
    Ws_wfPendingIssues: Data: 0.00MB + Index: 0.00MB
    Ws_wfReverseCache: Data: 0.00MB + Index: 0.00MB
    Ws_wfScanners: Data: 0.00MB + Index: 0.00MB
    Ws_wfSNIPCache: Data: 0.00MB + Index: 0.00MB
    Ws_wfStatus: Data: 0.14MB + Index: 0.06MB
    Ws_wfThrottleLog: Data: 0.00MB + Index: 0.00MB
    Ws_wfVulnScanners: Data: 0.00MB + Index: 0.00MB

    ### Post Type Counts ###

    attachment: 112
    nav_menu_item: 27
    page: 4
    post: 4
    product: 80
    product_variation: 141
    revision: 15
    scheduled-action: 2
    shop_coupon: 2
    shop_order: 69
    shop_order_refund: 2
    shop_subscription: 11

    ### Security ###

    Secure connection (HTTPS): ?
    Hide errors from visitors: ?

    ### Active Plugins (1) ###

    WooCommerce: by Automattic – 3.2.1

    ### Settings ###

    API Enabled: –
    Force SSL: ?
    Currency: USD ($)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    subscription (subscription)
    variable (variable)
    variable subscription (variable-subscription)

    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    exclude-from-search (exclude-from-search)
    featured (featured)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-4 (rated-4)
    rated-5 (rated-5)

    ### WC Pages ###

    Shop base: #7 – /
    Cart: #9 – /cart/
    Checkout: #11 – /checkout/
    My account: #163 – /your-account/
    Terms and conditions: ? Page not set

    ### Theme ###

    Name: Pharmacy
    Version: 2.0.1 – 2.0.10 is available
    Author URL: https://woothemes.com
    Child Theme: ?
    Parent Theme Name: Storefront
    Parent Theme Version: 2.2.5
    Parent Theme Author URL: https://woocommerce.com/
    WooCommerce Support: ?

    ### Templates ###

    Overrides: –

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Have you fixed it already?

    I’ve tested it out, and the cart shows the product, what I see: https://d.pr/i/GlnWBC .

    Thread Starter entrappe

    (@entrappe)

    I didnt think it was fixed. Could be the issue is only from my computer? I never considered that.

    I will check from another computer.

    Thread Starter entrappe

    (@entrappe)

    Works from other computers. Not sure what i did, maybe there was a never an issue at all.

    Thanks for your time!

    Thread Starter entrappe

    (@entrappe)

    This isnt fixed. I just had a customer tell me they couldn’t add anything to the cart.

    Can I mark this unresolved, or have to make a new post?

    Not many folk bother marking threads resolved or unresolved. You can start a new thread if you want.

    Your checkout page works for me.

    I should update pharmacy as the next step – I can’t say that will fix this issue but it would be good practice.

    I think maybe this has something to do with part of your site being none-https and the checkout page is https. The two domains are therefore different, so a cart cookie generated on the none-https pages may not be being read in https pages. I know that doesn’t pan out with the evidence but its what I’ve read elsewhere. Why not make the whole site https? There should not be a significant performance disadvantage.

    Or, as a test, take https off the checkout page so the whole site is http. That would test the theory about the mixed protocols being responsible for losing cart data.

    Thread Starter entrappe

    (@entrappe)

    I figure out how to mark it unresolved.

    I thought the whole site was https, but i had to fix a line in the htaccess file. Now adding things to cart looks to be working.

    Looks to still be an issue with modifying the quantity in the cart. I will do more testing.

    Thanks for catching the non-ssl error.

    Hi,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Items will not add to cart’ is closed to new replies.