• Website: https://www.norcalfll.org

    The simple add-to-cart via URL is working when I am logged in as admin but not if I am logged in as author role or not logged in at all (guest).

    The URL that I adding is the simple product: https://norcalfll.org/cart/?add-to-cart=1346 I can add this product if I go through the shop or product page. I have tried mobile and a different browser (firefox). This is just a symptom – I am trying to eventually get a variable product added programmatically (which is similarly only working if I am logged in as admin).

    In searching, it seems that people point to server side caching (hostmonster is the ISP). How can I debug that is that is suspected?

    I am pretty new to wordpress and woocommerce but trying to learn and not a software developer.

    I have worked through the debugging steps that I have found online and the only thing that I can see is that the PHP server & MySQL are recommended to be 5.6. If I could avoid upgrading PHP that would be preferred since this is a subdomain and upgrading would have alot of ripple impact, but if that is the answer, then please let me know.

    I have WP_DEBUG set to true – no errors show up in any error logs or on inspect.

    I have tried with themes: Twenty Fifteen and Impreza and Impreza child. I do not have any caching plugin installed and all plugins disabled except those that are needed by woocommerce.

    Please help – this is for a nonprofit – and paid support is likely out of the question. I am a volunteer for the nonprofit.

    Here is the system status:

    ### WordPress Environment ###
    
    Home URL: https://www.norcalfll.org
    Site URL: https://www.norcalfll.org
    WC Version: 2.6.4
    Log Directory Writable: ?
    WP Version: 4.5.3
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: ?
    WP Cron: ?
    Language: en_US
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: ? 5.4.43 - We recommend a minimum PHP version of 5.6. See: How to update your PHP version
    PHP Post Max Size: 64 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    cURL Version: 7.24.0
    OpenSSL/1.0.0
    
    SUHOSIN Installed: –
    MySQL Version: ? 5.5.42 - We recommend a minimum MySQL version of 5.6. See: WordPress Requirements
    Max Upload Size: 64 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 2.6.4
    :
    woocommerce_sessions: ?
    woocommerce_api_keys: ?
    woocommerce_attribute_taxonomies: ?
    woocommerce_downloadable_product_permissions: ?
    woocommerce_order_items: ?
    woocommerce_order_itemmeta: ?
    woocommerce_tax_rates: ?
    woocommerce_tax_rate_locations: ?
    woocommerce_shipping_zones: ?
    woocommerce_shipping_zone_locations: ?
    woocommerce_shipping_zone_methods: ?
    woocommerce_payment_tokens: ?
    woocommerce_payment_tokenmeta: ?
    
    ### Active Plugins (1) ###
    
    WooCommerce: by WooThemes – 2.6.4
    
    ### Settings ###
    
    Force SSL: –
    Currency: USD ($)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    
    ### API ###
    
    API Enabled: –
    
    ### WC Pages ###
    
    Shop Base: #1192 - /shop/
    Cart: #1193 - /cart/
    Checkout: #1194 - /checkout/
    My Account: #1195 - /my-account/
    
    ### Taxonomies ###
    
    Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    
    ### Theme ###
    
    Name: Impreza
    Version: 3.4.1
    Author URL: https://us-themes.com/
    Child Theme: ? – If you're modifying WooCommerce on a parent theme you didn't build personally
    then we recommend using a child theme. See: How to create a child theme
    
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: –

    https://www.ads-software.com/plugins/woocommerce/

Viewing 1 replies (of 1 total)
  • Caleb Burks

    (@icaleb)

    Automattic Happiness Engineer

    I have tried with themes: Twenty Fifteen and Impreza and Impreza child. I do not have any caching plugin installed and all plugins disabled except those that are needed by woocommerce.

    Just to make sure there isn’t a conflict coming from elsewhere, could you also test after disabling all plugins except for WooCommerce while using a default theme?

    And then does your server have caching? Varnish for example requires some special configuration: https://docs.woocommerce.com/document/configuring-caching-plugins/#section-4. May need to talk with your web host.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: woocommerce] Simple product not adding to cart via add-to-cart URL’ is closed to new replies.