Shop Categories

X

Reply To: Problem with removing hooks from woocommerce single product page

Home Forums Agama Pro Problem with removing hooks from woocommerce single product page Reply To: Problem with removing hooks from woocommerce single product page

#23326
Zex
Moderator

Hello, Michael!

Do the next:
1. From your dashboard Install and activate the “My Custom Functions” plugin.
2. Navigate to Dashboard->Settings-> PHP Inserter https://prnt.sc/qqap72
3. Insert the following code into the main screen:

// Reorder single product excerpt
remove_action( ‘woocommerce_single_product_summary’, ‘woocommerce_template_single_excerpt’, 20 );
add_action( ‘woocommerce_single_product_summary’, ‘woocommerce_template_single_excerpt’, 5 );

4. Save the changes
5. turn On the code
https://prnt.sc/qqasmv

I hope this will help you with your problem.

PS:
Also, you can edit the class-agama-woocommerce.php file directly, using the child theme.

It’s located at the following path: wp-content/themes/agama-pro/framework

modify line #140 per your needs.
https://prnt.sc/qqb0ko

Regards

  • This reply was modified 4 years, 3 months ago by Zex.