• Resolved aldesantos

    (@aldesantos)


    My product is not displaying. This problem seems to be with newly created/recently updated products because the old ones display fine. Only the title shows up. For some reason, only the product titles are showing up but not the photo, selections/variations, or add to cart button. Any idea of what’s causing this?

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

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support Hannah S.L.

    (@fernashes)

    Automattic Happiness Engineer

    Hey there @aldesantos

    That’s an odd one!

    I checked the link that you shared and it’s saying “page not found”. Do you have an example of this so I can take a look?

    What happens if you duplicate an existing product – does that work correctly?

    Thread Starter aldesantos

    (@aldesantos)

    @fernashes
    Sorry about that – I took that one down. If I try to duplicate a working(old) one, the problem didn’t happen… Very odd!

    Here’s a ‘broken’ product page:

    https://www.haylor.com/product/renters-insurance/

    Plugin Support Hannah S.L.

    (@fernashes)

    Automattic Happiness Engineer

    Hey there,

    Interesting that it’s not happening with a copy of old products – that points to something happening with just the newer products.

    I took a look at the product that you shared and I’m seeing a bunch of errors in the console – I won’t paste it here due to potential security concerns.

    Products that aren’t working – what kind of products are they, e.g. external link products? Do they contain any information in the body, a price, etc?

    I tried to find another working product to compare, but they’re rather tricky to find on your site. Could you please share an example?

    Has anything changed on your site since this started happening, for example, any new plugins or a new theme? Updates, etc?

    Finally, could you please share a copy of your site’s System Status? You can find it via WooCommerce > Status.
    Select “Get system report” and then “Copy for support”.? Once you’ve done that, paste it here in your response.

    Thread Starter aldesantos

    (@aldesantos)

    @fernashes Sure thing – here’s a working product: https://www.haylor.com/product/college-renters/

    I noticed this happened shortly after WooCommerce came out with latest update and was giving the alert on the Dashboard (about it being available). I had recently downloaded a PDF Filler plugin and Shortcode for Current Date plugin.

    Here’s the system report:

    
    ### WordPress Environment ###
    
    Home URL: https://www.haylor.com
    Site URL: https://www.haylor.com
    WC Version: 3.5.0
    Log Directory Writable: ?
    WP Version: ? 4.9.8 - There is a newer version of WordPress available (5.2.1)
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.2.18
    PHP Post Max Size: 128 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 1000
    cURL Version: 7.64.0
    OpenSSL/1.0.2r
    
    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.0.38-MariaDB
    Max Upload Size: 128 MB
    Default Timezone is UTC: ? Default timezone is America/New_York - it should be 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: ? Your server does not support the mbstring functions - this is required for better character encoding. Some fallbacks will be used instead for it.
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 3.5.0
    WC Database Prefix: wp_
    MaxMind GeoIP Database: ?
    Total Database Size: 149.98MB
    Database Data Size: 124.21MB
    Database Index Size: 25.77MB
    wp_woocommerce_sessions: Data: 0.02MB + Index: 0.00MB
    wp_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_order_items: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_order_itemmeta: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_log: Data: 0.00MB + Index: 0.00MB
    wp_cf7dbplugin_submits: Data: 10.52MB + Index: 6.55MB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB
    wp_comments: Data: 0.02MB + Index: 0.09MB
    wp_links: Data: 0.02MB + Index: 0.02MB
    wp_options: Data: 1.17MB + Index: 0.06MB
    wp_p2p: Data: 0.02MB + Index: 0.05MB
    wp_p2pmeta: Data: 0.02MB + Index: 0.03MB
    wp_postmeta: Data: 6.52MB + Index: 5.00MB
    wp_posts: Data: 92.53MB + Index: 1.33MB
    wp_redirection_404: Data: 13.02MB + Index: 12.25MB
    wp_redirection_groups: Data: 0.02MB + Index: 0.03MB
    wp_redirection_items: Data: 0.02MB + Index: 0.08MB
    wp_redirection_logs: Data: 0.08MB + Index: 0.08MB
    wp_redirects: Data: 0.08MB + Index: 0.00MB
    wp_termmeta: Data: 0.00MB + Index: 0.01MB
    wp_terms: Data: 0.02MB + Index: 0.03MB
    wp_term_relationships: Data: 0.02MB + Index: 0.02MB
    wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB
    wp_usermeta: Data: 0.05MB + Index: 0.03MB
    wp_users: Data: 0.02MB + Index: 0.05MB
    wp_wc_download_log: Data: 0.00MB + Index: 0.00MB
    wp_wc_webhooks: Data: 0.00MB + Index: 0.00MB
    
    ### Post Type Counts ###
    
    acf: 14
    attachment: 2364
    br_sale_report: 1
    college: 88
    college_doc_pack: 4
    nav_menu_item: 142
    page: 221
    post: 26
    product: 8
    product_variation: 144
    revision: 4996
    shop_order: 2
    specialist: 38
    tablepress_table: 3
    testimonial: 40
    wpcf7_contact_form: 22
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (25) ###
    
    Advanced Custom Fields: Repeater Field: by Elliot Condon – 1.1.1
    Admin Menu Tree Page View: by P?r Thernstr?m – 2.6.8
    Advanced Custom Fields: by Elliot Condon – 4.4.11
    Contact Form 7: Accessible Defaults: by Joseph Dolson – 1.1.4
    Contact Form 7 - Dynamic Text Extension: by Chris Mavricos
    SevenSpark – 2.0.2.1
    
    Contact Form 7 Shortcode Enabler: by Tobias Zimpel (TZ Media) – 1.1
    Contact Form DB: by Michael Simpson – 2.8.16
    Contact Form 7: by Takayuki Miyoshi – 5.1.1
    Eggplant 301 Redirects: by Shawn Wernig https://www.eggplantstudios.ca – 2.3.0
    Force HTTPS: by LittleBizzy – 1.1.1
    HubSpot Tracking Code for WordPress: by HubSpotDev – 1.0.0
    Menu Exporter: by Joe Hoyle - Human Made Limited – 1
    PDF Forms Filler for Contact Form 7: by Maximum.Software – 1.0.2
    Posts 2 Posts: by scribu – 1.6.3
    Redirection: by John Godley – 2.4.5
    SEO Smart Links: by Vladimir Prelovac – 3.0.1
    SEO Friendly Images: by Vladimir Prelovac – 3.0.5
    Shortcode For Current Date: by Imtiaz Rayhan – 2.0.5
    TablePress Extension: Responsive Tables: by Tobias B?thge – 1.1
    TablePress: by Tobias B?thge – 1.4
    WooCommerce PayPal Pro (Classic and PayFlow Editions) Gateway: by WooCommerce – 4.4.16
    WooCommerce: by Automattic – 3.5.0 – 3.6.4 is available
    WordPress SEO: by Team Yoast – 1.7.4
    WP Sitemap Page: by Tony Archambeau – 1.1.2
    Contact Form 7 Redirection: by Query Solutions – 1.3.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)
    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)
    
    ### WC Pages ###
    
    Shop base: #8235 - /shop/
    Cart: #8236 - /cart/
    Checkout: #8237 - /checkout/
    My account: #8238 - /my-account/
    Terms and conditions: ? Page not set
    
    ### Theme ###
    
    Name: Haylor 2014
    Version: 1.3
    Author URL: https://www.pinckneyhugo.com
    Child Theme: ? – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme
    WooCommerce Support: ? Not declared
    
    ### Templates ###
    
    Overrides: HAY2014/woocommerce/cart/cart.php
    HAY2014/woocommerce/emails/admin-new-order.php
    
    
    • This reply was modified 5 years, 10 months ago by aldesantos.
    Thread Starter aldesantos

    (@aldesantos)

    @fernashes Also I forgot to mention that the products that aren’t working don’t really have any differences with the others. They are insurance products, with variations in price points. No external links.

    Thread Starter aldesantos

    (@aldesantos)

    @fernashes Did you see my message with the system report? I saw a moderation message after trying to post and when I refreshed the page, my post comment was no longer displaying on this post. Just want to make sure you received it.

    Plugin Support Hannah S.L.

    (@fernashes)

    Automattic Happiness Engineer

    Hey there,

    The system status report hasn’t come through – they are indeed sometimes held for moderation due to the large number of links. I’ve asked the mods about your post. ??

    I tried to find another working product to compare, but they’re rather tricky to find on your site. Could you please share an example?

    Plugin Support Hannah S.L.

    (@fernashes)

    Automattic Happiness Engineer

    Hey there @aldesantos – thanks again for all of the information! I can now see the system status log, so let’s see what we can do to fix this.

    There aren’t any immediate red flags in the system status log. On an unrelated note, though, this is worth looking into:

    
    ### Theme ###
    
    Name: Haylor 2014
    Version: 1.3
    Author URL: https://www.pinckneyhugo.com
    Child Theme: ? – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme
    WooCommerce Support: ? Not declared
    
    ### Templates ###
    
    Overrides: HAY2014/woocommerce/cart/cart.php
    HAY2014/woocommerce/emails/admin-new-order.php
    

    You’re using a theme and have modified two template files directly, rather than using a child theme. That means that if the theme is updated, those template file changes will be lost. I’d recommend using a child theme to make sure those modifications stay safe:
    https://www.smashingmagazine.com/2016/01/create-customize-wordpress-child-theme/

    Given that everything looks good, I suspect that there’s a PHP error which is stopping the page from loading further.

    Option 1: PHP logs

    The easiest way to find out the PHP error is to go to WooCommerce > Status > Logs and choose the correct log file from the dropdown in the top right hand corner. It’ll be called something like “php-fatal-errors.” Check through it for the latest errors – if there is anything recent, please do share it here.

    Option 2: conflict test

    The other way to track down what’s going wrong is to do a conflict test. If you’d rather go that route, here’s what you’ll need to know:

    This kind of problem is usually caused by either a conflict with your theme or with another plugin.
    ?
    The best way to determine this is to:
    ?

    • Temporarily switch your theme to Storefront
    • Disable all plugins except for WooCommerce
    • Repeat the action that is causing the problem

    If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict. You can find a more detailed explanation on how to do a conflict test here.

    Given that you may not want to disrupt your live site with these tests, a staging site would be a good idea. If your host doesn’t offer that option, we recommend WP Staging for quickly spinning up a new test site.

    Please do let me know how that goes!

    • This reply was modified 5 years, 10 months ago by Hannah S.L.. Reason: formating
    Thread Starter aldesantos

    (@aldesantos)

    @fernashes

    Saw that error – this is actually a child theme so we’re not sure why it shows up that way.

    One of our developers got the products working again. They modified the single-product.php by uncommenting some of the supporting code for WooCommerce, and that got everything working back to normal.

    I REALLY appreciate your time and effort in trying to solve this issue! Can you please remove this post once you’ve read this? We don’t want have links to our site and potentially become vulnerable to hackers. Take care and have a great day!

    Plugin Support Hannah S.L.

    (@fernashes)

    Automattic Happiness Engineer

    Hey there,

    I’m glad to hear you solved the problem, and thank you for sharing what the solution was!

    The forum and past threads are a resource for the community, so we don’t delete threads. Just listing the URL and the system status log isn’t a security risk. If you’d still like to remove the identifying info, the best thing to do is contact the mods on Slack in the #forums channel:

    Slack

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘WooCommerce Products Not Displaying’ is closed to new replies.