Support » Plugin: WooCommerce » Cart page content showing only in preview mode

  • Resolved mrguen

    (@mrguen)


    Hello,

    On pandauino.com woocommerce was working fine. I realize today that the cart page content does not display. It only shows the anchor.

    Recently I had worked on translation and added Locotranslate.

    Since then the pages are duplicated.

    Now I have
    * a “cart” page with file name “cart”: this page never shows content
    * a “cart” page with file name “cart-2”: this page shows content in preview mode but not without the ?preview parameter

    I really don’t know what to do about these duplicated pages and the cart page not working…

    Does it sound familiar to someone?

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

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Support Mirko P.

    (@rainfallnixfig)

    Hi there,
    
    It sounds like this issue is directly related to the Loco Translate plugin.
    
    So in this case, I would recommend you to contact Loco Translate support team so that they can help you with this issue. Here is the link to their support forum:
    
    https://wordpress.org/support/plugin/loco-translate/

    You should be able to get further advice on how to properly set up Loco Translate and avoid conflicts in your site.

    Thanks.

    Tim W

    (@timwhitlock)

    It sounds like this issue is directly related to the Loco Translate plugin.

    @rainfallnixfig Why does it sound like this? Loco Translate is a PO file editor. I cannot guess how its functions could cause the problems described here.

    I am a one person “support team” and I receive dozens of WooCommerce problems in my inbox every week that I cannot help with. I’d be grateful if WooCommerce would help diagnose root causes before referring problems to me.

    Thread Starter mrguen

    (@mrguen)

    Hello,

    I deactivated Loco Translate and still have issues.

    Now, I found that some woocommerce pages display the shortcode content only when the url is appended with some parameter. For example
    https://pandauino.com/en/buy/? systematically works
    https://pandauino.com/en/buy/ systematically fails

    You can try to access these pages by yourself after login with credentials: “customer test” / “password”

    I tried to use another browser and clear the cache since it looks like a cache issue to no available. Deactivated security plugins because they work on some suspicious urls, and deactivated loco translate. Nothing works. So I am still considering it might be a woocommerce problem

    The pages that show this problem are
    1 page in English with a product table [Product_Table id=’2422′ name=’All products’]
    1 page in French with a product table [Product_Table id=’2432′ name=’Tous produits’]
    The French checkout page with [woocommerce_checkout]

    I had installed woocommerce and the other plugins and everything was working, I got orders … now it seems that the all solution is gradually deteriorating…

    If you can help me that would be nice. I am not much in favor of the “deactivate everything and checks if the works” solution…

    Here is the system status

    ### WordPress Environment ###

    WordPress address (URL): https://pandauino.com
    Site address (URL): https://pandauino.com
    WC Version: 5.2.2
    REST API Version: ✔ 5.2.2
    WC Blocks Version: ✔ 4.7.2
    Action Scheduler Version: ✔ 3.1.6
    WC Admin Version: ✔ 2.1.5
    Log Directory Writable: ✔
    WP Version: 5.7.1
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: en_US
    External object cache: –

    ### Server Environment ###

    Server Info: Apache
    PHP Version: 7.4.16
    PHP Post Max Size: 256 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 10000
    cURL Version: 7.71.0
    OpenSSL/1.1.1d

    SUHOSIN Installed: –
    MySQL Version: 5.7.34-log
    Max Upload Size: 256 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔

    ### Database ###

    WC Database Version: 4.9.2
    WC Database Prefix: wpla_
    Total Database Size: 48.30MB
    Database Data Size: 46.02MB
    Database Index Size: 2.28MB
    wpla_woocommerce_sessions: Data: 0.03MB + Index: 0.00MB + Engine MyISAM
    wpla_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_woocommerce_order_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_woocommerce_order_itemmeta: Data: 0.08MB + Index: 0.02MB + Engine MyISAM
    wpla_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_actionscheduler_actions: Data: 0.53MB + Index: 0.13MB + Engine MyISAM
    wpla_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpla_actionscheduler_logs: Data: 0.23MB + Index: 0.17MB + Engine MyISAM
    wpla_ak_404_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_atum_order_itemmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_atum_order_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_atum_product_data: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpla_commentmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpla_comments: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpla_erp_acct_bill_details: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_itsec_bans: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpla_itsec_distributed_storage: Data: 10.38MB + Index: 0.00MB + Engine MyISAM
    wpla_itsec_fingerprints: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_itsec_geolocation_cache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_itsec_lockouts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_itsec_logs: Data: 20.27MB + Index: 0.08MB + Engine MyISAM
    wpla_itsec_mutexes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_itsec_opaque_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_itsec_temp: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpla_itsec_user_groups: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_loginizer_logs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_mailchimp_carts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_mailchimp_jobs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_mailpoet_custom_fields: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_options: Data: 4.28MB + Index: 0.15MB + Engine MyISAM
    wpla_phone_orders_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_postmeta: Data: 1.09MB + Index: 0.20MB + Engine MyISAM
    wpla_posts: Data: 0.59MB + Index: 0.06MB + Engine MyISAM
    wpla_rank_math_404_logs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_rank_math_analytics_objects: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    wpla_rank_math_internal_links: Data: 0.05MB + Index: 0.01MB + Engine MyISAM
    wpla_rank_math_internal_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_rank_math_redirections: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_rank_math_redirections_cache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_redirection_404: Data: 0.10MB + Index: 0.04MB + Engine MyISAM
    wpla_redirection_groups: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_redirection_items: Data: 0.00MB + Index: 0.02MB + Engine MyISAM
    wpla_redirection_logs: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    wpla_remoji_history: Data: 0.00MB + Index: 0.02MB + Engine MyISAM
    wpla_sib_model_forms: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    wpla_sib_model_users: Data: 0.43MB + Index: 0.03MB + Engine MyISAM
    wpla_termmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpla_terms: Data: 0.01MB + Index: 0.02MB + Engine MyISAM
    wpla_term_relationships: Data: 0.02MB + Index: 0.05MB + Engine MyISAM
    wpla_term_taxonomy: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    wpla_tm_taskmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_tm_tasks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_usermeta: Data: 0.04MB + Index: 0.03MB + Engine MyISAM
    wpla_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpla_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine MyISAM
    wpla_wc_admin_note_actions: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    wpla_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_wc_customer_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpla_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_wc_order_product_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpla_wc_order_stats: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpla_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_wc_product_meta_lookup: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    wpla_wc_reserved_stock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpla_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_wdr_order_discounts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_wdr_order_item_discounts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_wdr_rules: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_wfblockediplog: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_wfblocks7: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_wfconfig: Data: 0.40MB + Index: 0.01MB + Engine MyISAM
    wpla_wfcrawlers: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_wffilechanges: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_wffilemods: Data: 4.58MB + Index: 0.65MB + Engine MyISAM
    wpla_wfhits: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    wpla_wfhoover: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_wfissues: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    wpla_wfknownfilelist: Data: 2.44MB + Index: 0.28MB + Engine MyISAM
    wpla_wflivetraffichuman: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_wflocs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_wflogins: Data: 0.03MB + Index: 0.01MB + Engine MyISAM
    wpla_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpla_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpla_wfnotifications: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_wfpendingissues: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_wfreversecache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_wfsnipcache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_wfstatus: Data: 0.08MB + Index: 0.03MB + Engine MyISAM
    wpla_wftrafficrates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_wt_iew_action_history: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    wpla_wt_iew_cron: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_wt_iew_ftp: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_wt_iew_mapping_template: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_yith_wcwl: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_yoast_indexable: Data: 0.18MB + Index: 0.06MB + Engine MyISAM
    wpla_yoast_indexable_hierarchy: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpla_yoast_migrations: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpla_yoast_primary_term: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpla_yoast_seo_links: Data: 0.03MB + Index: 0.01MB + Engine MyISAM

    ### Post Type Counts ###

    anr-post: 1
    attachment: 250
    backup-database: 1
    custom_css: 1
    customize_changeset: 6
    mewz_attribute_stock: 1
    nav_menu_item: 24
    o-discount: 1
    oembed_cache: 2
    page: 65
    polylang_mo: 2
    post: 67
    product: 9
    product_variation: 40
    revision: 2
    shop_coupon: 2
    shop_order: 7
    tablepress_table: 7
    tribe_organizer: 1
    um_directory: 1
    um_form: 3
    user_registration: 1
    wc_product_table: 2
    wpcf7_contact_form: 2
    wpt_product_table: 5

    ### Security ###

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

    ### Active Plugins (63) ###

    Polylang: by WP SYNTEX – 3.0.4
    Blog Designer Pack: by InfornWeb – 2.2.7
    404page – your smart custom 404 error page: by Peter Raschendorfer – 11.3.0
    Admin Menu Editor: by Janis Elsts – 1.9.9
    Advanced noCaptcha & invisible Captcha: by Shamim Hasan – 6.1.5
    Async JavaScript: by Frank Goossens (futtta) – 2.20.12.09
    ATUM Inventory Management for WooCommerce: by Stock Management Labs™ – 1.8.9.1
    iThemes Security: by iThemes – 7.9.1
    Classic Editor: by WordPress Contributors – 1.6
    Contact Form 7: by Takayuki Miyoshi – 5.4.1
    Custom Sidebars: by WebFactory Ltd – 3.31
    Custom User Profile Photo: by VincentListrani – 0.5.3
    Duplicate Page: by mndpsingh287 – 4.4
    Email Templates: by Damian Logghe – 1.3.2.1
    Email Verification for WooCommerce: by WPFactory – 2.0.8
    EmbedPress: by WPDeveloper – 2.7.7
    Enable Media Replace: by ShortPixel – 3.5.0
    WP ERP – PDF Invoice: by weDevs – 1.1.3
    F4 Shipping Phone and E-Mail for WooCommerce: by FAKTOR VIER – 1.0.11
    Flexible Shipping: by WP Desk – 4.4.1
    Anti-Malware Security and Brute-Force Firewall: by Eli Scheetz – 4.19.69
    Jetpack by WordPress.com: by Automattic – 9.7
    Jquery Validation For Contact Form 7 (Lite): by Dnesscarkey – 5.1
    List category posts: by Fernando Briano – 0.84.2
    Loco Translate: by Tim Whitlock – 2.5.2
    Loginizer: by Softaculous – 1.6.6
    LoginPress – Customizing the WordPress Login: by WPBrigade – 1.5.2
    Mailchimp for WooCommerce: by Mailchimp – 2.5.1
    Newsletter, SMTP, Email marketing and Subscribe forms by Sendinblue: by Sendinblue – 3.1.12
    Maintenance: by WebFactory Ltd – 4.02
    Members: by MemberPress – 3.1.5
    Phone Orders for WooCommerce: by AlgolPlus – 3.6.2
    Plugins Condition: by Katsushi Kawamori – 1.07
    Plugins Garbage Collector (Database Cleanup): by Vladimir Garagulya – 0.12
    Private content: by Aldo Latino – 6.4.1
    Public Post Preview: by Dominik Schilling – 2.9.3
    Redirection: by John Godley – 5.1.1
    Rank Math SEO: by Rank Math – 1.0.63
    Shortcodes Ultimate: by Vladimir Anokhin – 5.9.8
    Side Cart WooCommerce: by XootiX – 2.1
    Simple Wp Sitemap: by Webbjocke – 1.2.1
    Page Builder by SiteOrigin: by SiteOrigin – 2.12.0
    SiteOrigin Widgets Bundle: by SiteOrigin – 1.18.2
    TablePress Extension: Turn off Output Caching: by Tobias Bäthge – 1.0
    TablePress: by Tobias Bäthge – 1.13
    User Menus: by Code Atlantic – 1.2.5
    User Switching: by John Blackbourn & contributors – 1.5.6
    Quantity Plus Minus Button for WooCommerce: by CodeAstrology – 1.0.5
    Woo Discount Rules: by Flycart – 2.3.7
    WooCommerce for Logged-in Users: by Rahmon – 1.2.2
    Hyyan WooCommerce Polylang Integration: by Hyyan Abo Fakher – 1.5.0
    WOO Product Table: by CodeAstrology – 2.8.6
    Stripe For WooCommerce: by Payment Plugins
    support@paymentplugins.com – 3.3.1

    WooCommerce Shipping & Tax: by WooCommerce – 1.25.12
    WooCommerce: by Automattic – 5.2.2
    Wordfence Security: by Wordfence – 7.5.3
    WP Database Backup: by Prashant Walke – 5.7.1
    WP-Optimize – Clean, Compress, Cache: by David Anderson
    Ruhani Rabin
    Team Updraft – 3.1.9

    WP Rollback: by Impress.org – 1.7.1
    WP Super Cache: by Automattic – 1.7.3
    ReCaptcha v2 for Contact Form 7: by IQComputing – 1.3.3
    WPS Hide Login: by WPServeur
    NicolasKulka
    wpformation – 1.8.5

    Embed Plus for YouTube – Gallery, Channel, Playlist, Live Stream: by Embed Plus for YouTube Team – 13.4.2

    ### Inactive Plugins (13) ###

    Akismet Anti-Spam: by Automattic – 4.1.9
    Better WordPress Minify: by Khang Minh – 1.3.3
    Full Page Blog Designer: by Codeies – 1.0.2
    Hello Dolly: by Matt Mullenweg – 1.7.2
    PayPal PLUS for WooCommerce: by Inpsyde GmbH – 2.2.1
    Preloader: by Alobaidi – 1.0.9
    reBusted!: by Simon Prosser – 1.1
    Remoji – Post/Comment Reaction and Enhancement: by PHP Fan – 1.9
    The Events Calendar: by The Events Calendar – 5.6.0
    WooCommerce PayPal Gateway: by easypayment – 4.0.4
    Wordfence Login Security: by Wordfence – 1.0.6
    WordPress Users & WooCommerce Customers Import Export(BASIC): by WebToffee – 2.1.2
    Yoast SEO: by Team Yoast – 16.2

    ### Dropin Plugins (1) ###

    advanced-cache.php: advanced-cache.php

    ### Must Use Plugins (1) ###

    Simple Plugin Selector: by lorro – 1.1.0

    ### Settings ###

    API Enabled: –
    Force SSL: –
    Currency: EUR (€)
    Currency Position: left
    Thousand Separator: .
    Decimal Separator: ,
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)

    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)

    Connected to WooCommerce.com: –

    ### WC Pages ###

    Shop base: #3901 – /en/shop/
    Cart: #2223 – /en/cart/
    Checkout: #2224 – /en/checkout/
    My account: #2225 – /en/my-account/
    Terms and conditions: ❌ Page not set

    ### Theme ###

    Name: pytheas-pandauino
    Version: 1.4
    Author URL: http://www.wpexplorer.com
    Child Theme: ✔
    Parent Theme Name: Pytheas
    Parent Theme Version: 2.0
    Parent Theme Author URL: http://www.wpexplorer.com
    WooCommerce Support: ❌ Not declared

    ### Templates ###

    Overrides: pytheas-pandauino/woocommerce/emails/email-header.php

    ### Action Scheduler ###

    Complete: 1,448
    Oldest: 2021-04-10 12:40:34 +0000
    Newest: 2021-05-11 12:27:36 +0000

    Pending: 5
    Oldest: 2021-05-11 12:42:36 +0000
    Newest: 2021-05-18 07:20:24 +0000

    ### WooCommerce Polylang Integration ###

    Language Locale: en_US
    Polylang Language Locale: en
    Polylang Available Languages: en Warning – missing WooCommerce translation file NOT found at /home/pandauin/public_html/wp-content/languages/plugins/woocommerce-en.mo fr Warning – missing WooCommerce translation file NOT found at /home/pandauin/public_html/wp-content/languages/plugins/woocommerce-fr.mo

    ### Status report information ###

    Generated at: 2021-05-11 12:28:08 +00:00
    `

    • This reply was modified 1 year, 6 months ago by mrguen.
    • This reply was modified 1 year, 6 months ago by mrguen.
    Plugin Support Mirko P.

    (@rainfallnixfig)

    Hi there,

    Thanks for sending the System Status.

    Make sure you tell WooCommerce what pages to use for Cart, Checkout under WooCommerce > Settings > Advanced.

    WooCommerce page setup

    You could also run a conflict test on your site by disabling all other plugins aside from WooCommerce along with switching to a theme like Storefront.

    This will help with trying to and locate what plugin you have installed which could possibly be causing this behavior. You could also use a free plugin called Health Check and Troubleshooting (https://wordpress.org/plugins/health-check/) to carry out such testing.

    When in Troubleshooting mode all plugins will be deactivated and only the admin of the site carrying out the troubleshooting would see those changes. Any customers visiting the site would see no changes at all.

    Once you have disabled all other plugins and switched theme, if the behavior is resolved, you can then enable your theme first and each plugin one by one and testing after each one is enabled.

    To know more about conflict testing see this guide: https://docs.woocommerce.com/document/how-to-test-for-conflicts/.

    Thanks.

    Thread Starter mrguen

    (@mrguen)

    Thanks Mirko,

    I tried different things and failed. Then I received a message that woocoommerce database had to be updated… so I have the sentiment there are quite a lot of modifications at the moment. Then I recreated the cart page: now the cart page in English language is working! But the French version not.

    I was surprised to look at the network flux in my browser. The cart page (english language) is apparently sent entirely coded. Something like “data:application/x-font-woff;charset=utf-8;base64, CIPHERED CONTENT….”

    When looking a the French page is flux: it is not ciphered. All the elements show one by one… I tried to reload and change browser to have a fresh cache…

    But the French page displays when adding some parameters like https://pandauino.com/fr/panier/? instead of https://pandauino.com/fr/panier

    This behavior was solved by creating a new cart page (/en/cart) but it does not solve the problem when recreating the French language page (/fr/panier).

    Maybe this is due to some modifications in woocommerce not supported yet by Polylang/loco translate?

    • This reply was modified 1 year, 6 months ago by mrguen.
    • This reply was modified 1 year, 6 months ago by mrguen.
    • This reply was modified 1 year, 6 months ago by mrguen.
    Plugin Support Mirko P.

    (@rainfallnixfig)

    Hi there,

    Since WooCommerce is properly working with the default cart page it shouldn’t be an issue with WooCommerce. Kindly note that WooCommerce core doesn’t have an option to handle by default multilingual sites, you’ll then need to reach out to the developers of these multilingual plugins and check if they can provide any helpful information on how to resolve the issue.

    Cheers.

    Tim W

    (@timwhitlock)

    Maybe this is due to some modifications in woocommerce not supported yet by Polylang/loco translate?

    Please note that Loco Translate does not make WordPress sites “multilingual”. Nor does it control your site language setting, or how content pages are displayed. It is a PO file editor. It can very easily be eliminated from any problem by moving all .po/.mo files to standard WordPress file locations, checking they’re named correctly and then disabling the plugin. If problems persist then it is not a factor.

    Tim W

    (@timwhitlock)

    This behavior was solved by creating a new cart page (/en/cart) but it does not solve the problem when recreating the French language page (/fr/panier).

    I know nothing about WooCommerce, but I would expect translating URL slugs to cause routing problems. If something is translating “cart -> panier” then find out what it is and whether it should be doing it. Hint: It’s not my plugin.

    Thread Starter mrguen

    (@mrguen)

    Hello, Thanks for your support.

    I am totally lost. Every time I fix a problem, another one appears, that is another page is broken. Apparently my all woocommerce solution +translation and other plugins is incoherent. The main idea is that there are duplicated pages that when I remove them makes the main page not working. And when I build fresh new pages, other older pages stop working (rebuilding a single “cart” and a single “panier” from scratch and now checkout does not work etc…)

    All this happenened suddenly so is supppose this is because of a woocommerce update and I really don’t know what to do. I try to “make it work” by trials and errors while touching the least possible otherwise it all tumbles down. I have seen something that was reported before: the cart page when named “cart” redirects to “my account”. When I name it cart-2 it works. So obviously there is something remaining of “cart” that creates a problem… I would have to rebuild all from scratch but this is not something planed at the moment. I am quite surprised about the debugging methods offered like “try to deactivate all plugins” etc… definitely disapointed since I found WordPress a fantastic and robust solution until now.

    Tim W

    (@timwhitlock)

    I am quite surprised about the debugging methods offered

    Deactivating plugins is how you eliminate root causes. Otherwise you’re just guessing as to what plugin is causing a particular behaviour. I’d say this is a worthwhile line of enquiry in your case.

    disapointed since I found WordPress a fantastic and robust solution until now

    You’re not using a single product. You’ve installed multiple plugins by different developers in the hope that each one continues to works perfectly with each of the other ones.

    If your site worked perfectly with a particular set of plugins then roll back to the versions that worked. Make sure you have a staging or development site where you can test updates before applying them to your live site. Update individual plugins manually and test your site works. If a problem appears then you know which version of which plugin introduced the problem. If the developer of the problem plugin can’t help you then don’t update it.

    Thread Starter mrguen

    (@mrguen)

    Well any time someone reports a problem the answer is “it is because of a plugin”. Well, I have no idea why it stopped working. I much more think that the solution is broken after an update since I clearly see that recreating pages changes the behaviour but then other pages are in error. Woocommerce recreates pages on its own and I end up with multiple pages with the same name but some internal references are all mixed up. So basically the problem here is that there isn’t a practical debugging method. PHP debugg shows nothing, browser debugging the same and the deactivating all plugins and reactivating all has been reported ofentime not to change anything (I have already done it on other problems). The solution to most of my previous problem was always “euh, change this bit of code here by replacing the filter etc…” Anyway, thanks for answering. WordPress gives a lot for free.

    Plugin Support AW a11n

    (@slash1andy)

    Automattic Happiness Engineer

    Hey again!

    As mentioned above, there seems to be something causing issues with how your site is setup.

    It looks like you were using LocoTranslate, which can change strings on your site for the language your site is using, but won’t make it use multiple languages.

    It also looks like you were using something to make the site use multiple languages, my guess is this one from the status report: Hyyan WooCommerce Polylang Integration: by Hyyan Abo Fakher – 1.5.0

    If I had to guess, there seems to be some conflicts there, with how your site is setup using all the plugins on the site.

    It’s likely not related to Loco at all, there’s just a conflict between your specific setup, and this can be narrowed down with conflict testing as mentioned above.

    Hopefully that helps! Have a great one!

    Plugin Support AW a11n

    (@slash1andy)

    Automattic Happiness Engineer

    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 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Cart page content showing only in preview mode’ is closed to new replies.