Product page not displaying correctly, blank with only header and footer

This topic has 10 replies, 3 voices, and was last updated 7 months, 3 weeks ago ago by Andrew Mitchell

  • Avatar: Driftlines
    Driftlines
    Participant
    March 27, 2024 at 04:53

    Hi, I have started building my ecommerce site. Initially I imported one set of demo content, but changed my mind and added another one. Which I am happier with. Unfortunately the single product pages are not displaying anything. Apart from a header and footer. e.g https://www.driftlines.com.au/product/mens-heavy-hooded-sweatshirt/

    I am also having issues with the product gallery image that displays on hover not being the correct size https://www.driftlines.com.au/

    Are you able to help?

    9 Answers
    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    March 27, 2024 at 08:47

    Hello, @Driftlines,

    Thank you so much for purchasing our theme and contacting our support center.

    We have checked your site and found Failed to load resource: the server responded with a status of 404 () https://imgur.com/S2ZYFJj

    Please check our reply from this topic – https://www.8theme.com/topic/xstore-failed-to-load-resource-the-server-responded-with-a-status-of-404-admin-ajax-php-404/#post-343615 and add

    remove_action( ‘shutdown’, ‘wp_ob_end_flush_all’, 1 );
    add_action( ‘shutdown’, function() {
    while ( @ob_end_flush() );
    } );

    on your site as described there.

    We hope this will solve your issue.

    Kind Regards,
    8theme team

    Avatar: Driftlines
    Driftlines
    Participant
    March 29, 2024 at 08:14

    Thanks Tony,
    I attempted to add:

    remove_action( ‘shutdown’, ‘wp_ob_end_flush_all’, 1 );
    add_action( ‘shutdown’, function() {
    while ( @ob_end_flush() );
    } );

    To my child theme’s functions.php file but it now has a fatal error.

    Fatal error: Uncaught Error: Undefined constant “‘shutdown’” in /home/driftlines/www/www/wp-content/themes/xstore-child/functions.php:7 Stack trace: #0 /home/driftlines/www/www/wp-settings.php(611): include() #1 /home/driftlines/www/www/wp-config.php(103): require_once(‘/home/driftline…’) #2 /home/driftlines/www/www/wp-load.php(50): require_once(‘/home/driftline…’) #3 /home/driftlines/www/www/wp-blog-header.php(13): require_once(‘/home/driftline…’) #4 /home/driftlines/www/www/index.php(17): require(‘/home/driftline…’) #5 {main} thrown in /home/driftlines/www/www/wp-content/themes/xstore-child/functions.php on line 7

    Any thoughts? Ideas?

    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    March 29, 2024 at 08:21

    Hello, @Driftlines,

    Thank you for your response.

    Please remove the above code in your child theme and check again:

    remove_action( ‘shutdown’, ‘wp_ob_end_flush_all’, 1 );
    add_action( ‘shutdown’, function() {
    while ( @ob_end_flush() );
    } );

    Additionally, please provide your site temporary wp-admin access in private content area so that we can take a closer look at your settings and help you.

    We kindly recommend that you take a complete backup of your site before proceeding.

    Kind Regards,
    8theme team

    Please contact administrator
    for this information.
    Avatar: Driftlines
    Driftlines
    Participant
    March 29, 2024 at 23:04

    Thanks, I have created an admin account and sent it in the private content area

    Please contact administrator
    for this information.
    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    March 30, 2024 at 07:36

    Hello, @Driftlines,

    Thank you for your response.

    We are writing to inform you that we are currently unable to access your website with the wp-admin credentials you have provided, as they appear to be either incorrect or invalid. To proceed with our support and take a closer look at your settings, we kindly request that you provide us with valid wp-admin access details.

    Your prompt attention to this matter will enable us to assist you more efficiently. Please ensure that the credentials you share are accurate to avoid any further access issues.

    Thank you for your cooperation.

    Best regards,
    The 8Theme Team

    Please contact administrator
    for this information.
    Avatar: Driftlines
    Driftlines
    Participant
    March 30, 2024 at 07:43

    Sorry, my mistake please try again – thanks

    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    March 30, 2024 at 08:46

    Hello, @Driftlines,

    We appreciate your prompt response. We are pleased to inform you that your issue has been successfully resolved.

    For your reference, you may edit the layout of the single product page by navigating to the following path in your admin panel: XStore > Theme Options > WooCommerce > Single Product Builder.

    We trust this will assist you in customizing your website to your satisfaction.

    Best regards,
    The 8Theme Team

    Please contact administrator
    for this information.
    Avatar: Driftlines
    Driftlines
    Participant
    April 3, 2024 at 08:39

    Thanks Tony,
    All working – thanks for your help

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    April 3, 2024 at 08:39

    Dear Driftlines,

    We trust our theme is enhancing your experience. Taking a brief moment to rate it with a glowing 5 stars on ThemeForest would be immensely appreciated. Your feedback holds significant value for us.

    Click here to rate now: https://themeforest.net/downloads

    Thank you sincerely for your ongoing support!

    Best Regards,
    The 8Theme Team

  • Viewing 10 results - 1 through 10 (of 10 total)

The issue related to '‘Product page not displaying correctly, blank with only header and footer’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service

Helpful Topics

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.