• Resolved Jonathan A

    (@john-attends)


    Hello
    I want to add a cart.php file in my them-child but the cart.php file of the royal-elementor-addons plugin takes over and I would have to be able to correct the rewrite_default_wc_templates method of the WPR_WooCommerce_Config class to remove the if line ( $ template_name === ‘cart/cart.php’ ) {
    $located = WPR_ADDONS_PATH .’includes/woocommerce/templates/cart/cart.php’;
    }
    But I do not know how ?

Viewing 1 replies (of 1 total)
  • Plugin Contributor Givi WP Royal Support

    (@ggedenidze1982)

    Hi, John

    First, thank you for choosing our Theme and Plugin.

    Please navigate to the dashboard Royal Addons > Settings > and Disable Royal addons Cart, Minicart, as shown in the screenshot: https://prnt.sc/ReQ4ImhkXqm2

    If this does not help, please let me know and we will try to solve your problems in other ways.

    Kind Regards,

    Givi

Viewing 1 replies (of 1 total)

The topic ‘rewrite_default_wc_templates’ is closed to new replies.