Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1245712
    STLian
    Participant

    I am attempting to make some changes to the WooCommerce plugin and I believe I am doing something wrong.

    Here is the code I am using and entered. The changes have not taken place in the plugin.

    <?php

    // =============================================================================
    // FUNCTIONS.PHP
    // —————————————————————————–
    // Overwrite or add your own custom functions to X in this file.
    // =============================================================================

    // =============================================================================
    // TABLE OF CONTENTS
    // —————————————————————————–
    // 01. Enqueue Parent Stylesheet
    // 02. Additional Functions
    // =============================================================================

    // Enqueue Parent Stylesheet
    // =============================================================================

    add_filter( ‘x_enqueue_parent_stylesheet’, ‘__return_true’ );

    // Additional Functions
    // =============================================================================

    remove_action( ‘woocommerce_before_shop_loop_item_title’, ‘woocommerce_show_product_loop_sale_flash’, 10 );
    remove_action( ‘woocommerce_before_single_product_summary’, ‘woocommerce_show_product_sale_flash’, 10 );

    ?>

    #1245794
    Christian
    Moderator

    Hey there,

    The code you added already exist in X. You might be using the wrong code for what you need. WooCommerce custom development is outside the scope of our support though. You might want to contact our trusted partners who caters X setup and customization needs. Please see https://community.theme.co/custom-development/

    Thanks.

  • <script> jQuery(function($){ $("#no-reply-1245712 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>