On mobile screens (767px and down) the add-to-cart-button is too far down on single product pages in my opinion. I would like to add an extra add-to-cart button just below the product image gallery but only on mobile devices with screen size 767px and lower.
Thanks, I added the filter to the woocommerce.php and it showed an extra button on the product page. The downside is that this button is not working and not showing the product variation options,
I added this line instead: add_action( 'thegem_woocommerce_single_product_left', 'woocommerce_template_single_add_to_cart', 10 );
This seems to work fine for me as it is an exact copy of the original button with variation options when these are available.
After updating the them to the latest version, the button is gone. It looks like the filter is still in the woocommerce.php file but the extra button doesn't show up. It's also not working with the filter you sent me.
On mobile screens (767px and down) the add-to-cart-button is too far down on single product pages in my opinion. I would like to add an extra add-to-cart button just below the product image gallery but only on mobile devices with screen size 767px and lower.
Hi!
You can add this buttons with next filter:
And hide it for the large screen resolution with following css:
Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list.
Regards, Oliver
Thanks, I added the filter to the woocommerce.php and it showed an extra button on the product page. The downside is that this button is not working and not showing the product variation options,
I added this line instead:
add_action( 'thegem_woocommerce_single_product_left', 'woocommerce_template_single_add_to_cart', 10 );
This seems to work fine for me as it is an exact copy of the original button with variation options when these are available.
After updating the them to the latest version, the button is gone. It looks like the filter is still in the woocommerce.php file but the extra button doesn't show up. It's also not working with the filter you sent me.
My bad, I made a typo :D