• Brand positioning on a single product page is working as expected: Screenshot

    Whatever I select from the dropdown menu, the placement isn’t changing.

    remove_action( 'woocommerce_before_single_product_summary', 'woocommerce_template_single_price', 10 );
    remove_action( 'woocommerce_before_single_product_summary', 'woocommerce_template_single_excerpt', 20 );
    remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_price', 10 );
    remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_excerpt', 20 );
    remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_related_products', 20 );
    remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_meta', 40 );
    remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_rating', 10 );
    remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_add_to_cart', 30);
    
    add_action( 'woocommerce_after_single_product_summary', 'woocommerce_template_single_price', 1 );
    add_action( 'woocommerce_after_single_product_summary', 'woocommerce_template_single_excerpt', 2 );
    add_action( 'woocommerce_after_single_product_summary', 'woocommerce_template_single_rating', 4 );
    add_action( 'woocommerce_before_single_product_summary', 'woocommerce_template_single_add_to_cart', 50 );
    

    That’s what I use to change the sorting of the product page, how can I place the brand section after woocommerce_template_single_excerpt?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Brand positioning on single product is not working’ is closed to new replies.