This topic has 3 replies, 2 voices, and was last updated 6 years, 1 months ago ago by Rose Tyler
Hi, I am trying to move the small description to underneath the price, qty and add to cart section
There are hundreds of simple codes online yet none work, I can’t seem to locate what order the theme places on each section, for example if I use this script it does nothing, doesn’t seem to matter what reference I pu on the order nothing changes, so assume the theme has amended this order?
/**
* woocommerce_single_product_summary hook
*
* @hooked woocommerce_template_single_title – 5
* @hooked woocommerce_template_single_price – 10
* @hooked woocommerce_template_single_excerpt – 20
* @hooked woocommerce_template_single_add_to_cart – 30
* @hooked woocommerce_template_single_meta – 40
* @hooked woocommerce_template_single_sharing – 50
*/
remove_action(‘woocommerce_single_product_summary’, ‘woocommerce_template_single_add_to_cart’, 30);
add_action(‘woocommerce_single_product_summary’, ‘woocommerce_template_single_add_to_cart’, 15);
Its ok sussed it, its in the woocommerce/content-single-product.php
Hello,
I am glad that you sorted out.
Regards
The forum ‘TheLeader Support Forum’ is closed to new topics and replies.