Home Forums WoodMart support forum Parse error

Parse error

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #352759

    plang
    Participant
    #352761

    plang
    Participant

    …/wp-content/themes/woodmart/index.php

    <?php
    /**
    * The main template file
    */

    if( function_exists( ‘woodmart_is_woo_ajax’ ) && woodmart_is_woo_ajax() ) {
    do_action( ‘woodmart_main_loop’ );
    die();
    }

    get_header(); ?>

    <?php

    // Get content width and sidebar position
    $content_class = woodmart_get_content_class();

    ?>

    <div class=”site-content <?php echo esc_attr( $content_class ); ?>” role=”main”>

    <?php do_action( ‘woodmart_main_loop’ ); ?>

    </div><!– .site-content –>

    <?php get_sidebar(); ?>

    <?php get_footer(); ?>

    <? php the_content(); ?>

    #352772

    Luke Nielsen
    Keymaster

    Hello,

    Thank you for reaching out and signaling the problem about parse erorr.

    It looks like you tried to customize the code yourself. I would like to inform you that the <? php the_content(); ?> value (that at the end) should not be there and also such values like <? php should not have a space between them.

    https://monosnap.com/file/UkDyfi0dQsS0kCAXou9XWFp3zq6V5o

    If you’d like to contact us, we are here for whatever questions you may have.

    Kind Regards

    #352878

    plang
    Participant

    Hello,

    Thanks for the quick help!
    I added the last line because I can’t edit the shop page (camera rental) with Elementor and get this error message:
    ——-
    Sorry, but no content area was found on this page.

    You need to call the ‘the_content’ function in the current template for Elementor to work on this page.
    ——-

    Can’t edit shop page with Elementor?

    Kind regards

    #352888

    Luke Nielsen
    Keymaster

    Hello,

    The shop page is the Woocommerce functional page. This page is not editable by its nature. If you somehow edit the shop page your store may work incorrectly regardless of the theme. However, at the moment we develop the Layout builder (Possibility to edit the Shop/product pages) and we will add it in our next 6.3 update which will be released in 2 weeks.

    Always remember that you can reach out to us with any questions you may have. We wish you a splendid day!

    Kind Regards

    #352897

    plang
    Participant

    Hello,

    That’s great news, thanks for the support!

    Can you recommend a plugin for woodmart that I can use to add a text field under the product name on the single-page in the shop.

    So thanks again and have a nice day

    Best regards

    #353087

    Luke Nielsen
    Keymaster

    Hello,

    Unfortunately, I don’t have any information about such plugins. We also don’t have information on which plugins are used by our customers for that.

    If you’d like to contact us, we are here for whatever questions you may have.

    Kind Regards

    #374681

    plang
    Participant

    Hello,
    I have a problem with the mobile view iPhone and iPad. The banner block on the home page is not displayed correctly on .

    see the screenshot

    Domain:
    http://www.bildton.tv

    How can I solve the problem? Can you help me?

    Best regards

    Peter

    Attachments:
    You must be logged in to view attached files.
    #374806

    Luke Nielsen
    Keymaster

    Hello,

    In order to review the situation and narrow the reason for its appearance, I need admin access from you. Could you please provide it? So I can check the issue on your side.

    Looking forward to hearing back from you!

    Kind Regards

    #374844

    plang
    Participant

    Hello,

    Thank you for the quick support.

    Admin access attached!

    The display also affects this page:
    http://www.bildton.tv/shop/
    The admin access is the same.

    I’ve added screenshots from Safari Dev-Tools here, everything looks amazing.

    Regards

    Attachments:
    You must be logged in to view attached files.
    #375520

    Luke Nielsen
    Keymaster

    Hello,

    Sorry for the delay.

    After reviewing the situation we found that the issue comes from third-party plugins that disrupt the operation of the element so the images on the phone are disappeared.

    Please deactivate all the plugins not related to the theme, switch the parent theme, and check the issue. If the problem has gone, activate the plugins one by one, checking the issue to detect which one causes the problem.

    Kind Regards

    #375557

    plang
    Participant

    Hello,

    thank you for your answer.

    It’s strange, when I look at the page from my development server, the images are displayed correctly on the iPhone and iPad.

    https://www.gridworks.de/clients/bildton/

    The website http://www.bildton.tv was put online with Duplicator Pro.

    I also checked all custom css files again, these are also identical.

    Now I’m a bit perplexed.

    Kind regards

    Attachments:
    You must be logged in to view attached files.
    #376090

    Luke Nielsen
    Keymaster

    Hello,

    Sometimes you can see issues only on the mobile devices, in your case, it is caused by third-party plugins so you should disable plugins that are not related to the theme and check the issue on the mobile again.

    Thanks for your time and have a great day.

    Kind Regards

Viewing 13 posts - 1 through 13 (of 13 total)