Thread Starter
epatri
(@epatri)
Does anyone know a fix for this? Still haven’t been able to add space below the button.
Thread Starter
epatri
(@epatri)
Hi Joey, I haven’t figured this out as the button code doesn’t include any margins or a space to add margins, so it’s not resolved 🙁
Thread Starter
epatri
(@epatri)
I’ve actually created it using this snippet:
add_action( 'woocommerce_before_single_product', 'my_function_sample', 10);
function my_function_sample() {
global $product;
echo ' <button type="button" onclick="history.back();"> Go back </button>' ;
}