Home › Forums › WoodMart support forum › Compare Function. › Reply To: Compare Function.
January 22, 2018 at 7:26 am
#34661
leonidas
Participant
Hello,
their answer:
“You can use this hook by setting the button position inside your settings to
“In Single Product Summary”.
Then the following Hook is used:
add_action( ‘woocommerce_single_product_summary’, array($this,’show_compare_button_on_single_product’), 30 ); ”
Waiting for your reply