• The website https://kinetonchippy.co.uk was working Ok, but I tried to add the following code to the end of the themes/zakra/functions.php

    }add_action( 'woocommerce_after_cart_totals', 'tl_continue_shopping_button' );
    function tl_continue_shopping_button() {
     $shop_page_url = get_permalink( woocommerce_get_page_id( 'shop' ) );
     
     echo '<div class="">';
     echo ' <a href="'.$shop_page_url.'" class="button">Continue Shopping →</a>';
     echo '</div>';
    }

    I did add a “Continue Shopping” button at the end but clicking the button just returned to Cart page.

    I tried without any real knowledge of php to modify it so it would go the the slug page takeaway but that made no difference.

    so I tried to delete the code and save the functions.php but although it said it had done it. I now have this critical error.

    Website is down and I can’t reach WordPress dashboard since it has the same parse error.

    Anyone help a non techco please

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

Viewing 1 replies (of 1 total)
  • Hi @medway,

    Thank you for writing in,

    Could you please send me the screenshot of the error message that is appearing on your Dashboard? Please provide me the screenshot and I will get back to you.

    With Regards,
    ThemeGrill Support Team

Viewing 1 replies (of 1 total)
  • The topic ‘Parse Error themes/zakra/functions.php’ is closed to new replies.