Cart Empty

Home Forums Support Cart Empty

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #7409
    Aliasgar SAliasgar khambati
    Participant

    i have an issue that After creating product in customizer, its not adding product to woocommerce cart. Every time we add its showing cart empty.

    #7410
    Aliasgar SAliasgar khambati
    Participant
    #7418
    Sean PSean P
    Keymaster

    Hi,

    Add to Cart seems to be working OK on many other installs with the same version. Here’s some steps you can use to try to debug this:

    1) Make sure MyStyle plugin is the most up to date version

    2) Activate a different theme and test without your theme to verify if it’s a Theme issue

    3) De-activate all plugins and test to verify if it’s a plugin conflict issue

    We also have development services available if you are not able to get it working yourself.

    Can you paste your WooCommerce diagnostic information here?

    That will give us more info about your system.

    Thanks,

    – Sean

    #7419
    Sean PSean P
    Keymaster

    Also noticed that you’re using product add-ons or product attirbutes. These get bundled up in the URL to pass thru to cart. Another possibility is special characters in your attributes could be messing up the encoding and decoding… I don’t think that would happen but it is another unique thing about your product setup, so you could also remove special product attributes and test to see if that changes anything.

    Once you figure out what is causing the issue, please let us know so we can try to reproduce it.

    #7425
    Aliasgar SAliasgar khambati
    Participant

    WordPress Environment
    Home URL: https://180.92.175.7/~qamarframes/qf
    Site URL: https://180.92.175.7/~qamarframes/qf
    WC Version: 2.6.4
    Log Directory Writable: /home/qamarframes/public_html/qf/wp-content/uploads/wc-logs/
    WP Version: 4.6.1
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron:
    Language: en_US
    Server Environment
    Server Info: Apache/2.2.27 (Unix) mod_ssl/2.2.27 OpenSSL/1.0.1e-fips mod_bwlimited/1.4
    PHP Version: 5.4.31 – We recommend a minimum PHP version of 5.6. See: How to update your PHP version
    PHP Post Max Size: 8 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    cURL Version: 7.37.1, OpenSSL/1.0.1e
    SUHOSIN Installed: –
    MySQL Version: 5.5.52 – We recommend a minimum MySQL version of 5.6. See: WordPress Requirements
    Max Upload Size: 8 MB
    Default Timezone is UTC:
    fsockopen/cURL:
    SoapClient: Your server does not have the SoapClient class enabled – some gateway plugins which use SOAP may not work as expected.
    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
    MaxMind GeoIP Database: /home/qamarframes/public_html/qf/wp-content/uploads/GeoIP.dat
    Active Plugins (15)
    Admin Customizer by Nilambar Sharma – 2.0
    Contact Form 7 by Takayuki Miyoshi – 4.5.1
    Dynamic To Top by Matt Varone – 3.4.2
    Flatty – UI Admin Theme by michelemarri – 1.2.4
    Formidable by Strategy11 – 2.02.06
    Fruitful Shortcodes by fruitfulcode – 1.5
    Illdy Companion by Colorlib – 1.0.4
    Jetpack by WordPress.com by Automattic – 4.3.1
    Maintenance by fruitfulcode – 3.1.1
    MyStyle by mystyleplatform – 1.4.9
    WooCommerce Credit Card Payment Gateway – PayTabs by PayTabs – 2.1
    WooCommerce TM Extra Product Options by themecomplete – 4.3.2
    WooCommerce by WooThemes – 2.6.4
    WP Admin UI Customize by gqevu6bsiz – 1.5.10
    WP BackItUp by Chris Simmons – 1.13.1
    Settings
    Force SSL: –
    Currency AED (د.إ)
    Currency Position left_space
    Thousand Separator ,
    Decimal Separator .
    Number of Decimals 2
    API
    API Enabled:
    WC Pages
    Shop Base: #5 – /shop/
    Cart: #6 – /cart/
    Checkout: #7 – /checkout/
    My Account: #8 – /my-account/
    Taxonomies
    Product Types: external (external), grouped (grouped), simple (simple), variable (variable)
    Theme
    Name: Illdy
    Version: 1.0.30
    Author URL: https://colorlib.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
    Archive Template: Your theme has a woocommerce.php file, you will not be able to override the woocommerce/archive-product.php custom template since woocommerce.php has priority over archive-product.php. This is intended to prevent display issues.
    Overrides: –
    All Rights Reserved ©

    #7426
    Aliasgar SAliasgar khambati
    Participant

    Below links contains all woocommerce system status snaps:

    Snap 1: https://prntscr.com/cnaia9
    Snap 2: https://prntscr.com/cnaijg
    snap 3: https://prntscr.com/cnaipt
    snap 4: https://prntscr.com/cnaivj

    Plz resolve the issue.

    Without enabling options and variable products its working fine.
    But when enabling option plugins and variable product option its not able to add to cart.
    When some times its adding to cart that only for base amount and not with option.

    #7428
    Sean PSean P
    Keymaster

    Hi Aliasgar,

    Thanks for debugging.

    Sounds like it’s definitely the Product Option Plugins you mentioned.

    Why are you needing to use Product Option plugins? Have you tried using our Product Add Ons plugin? That will let you manage add-ons to product similar to Attributes / Options but we know it’s compatible and stable. It’s also nice that it lets you apply add-ons to entire categories or tags of products, speeding up setup time a lot. I’m not sure if it will fit your needs but at least we know it does work.

    One thing that the customizer does do is bundle product option data in a long encoded hash to send thru to be unpacked in the add to cart flow. If your Product Option plugins are modifying WooCommerce’s data format in some way it may be breaking the parsing or invalidating the JSON object in some way, I’m not sure, but that may be the issue with the third party plugin making changes to how WC normally sends thru product options and product add ons.

    Do you have access to your server error log? If you can tail your server error log and then run the save / add-to-cart portion of the UX and catch what the error is, we may be able to put out an update that will fix it.

    Thanks,

    – Sean

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Cart Empty’ is closed to new replies.

Product Personalization and Customization for Ecommerce