Hi please help me adjust the SKUs code, custom text and description tabs position as explained in the image attachement.
Thanks
Ananth
Hey anantharam,
Thank you for the inquiry.
You should be able to move the product tabs using this snippet in the functions.php file.
add_action('after_setup_theme', 'ava_move_product_elements');
function ava_move_product_elements() {
remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 1 );
add_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 10 );
}
Best regards,
Ismael
Hi Ismael
Thanks for the code, works perfect.
How about the remaining two points shown in the picture
1 SKU code and categories in two lines
2. custom text under the product gallery
Looking forward for your support.
Tx
Ananth
Hi Ananth,
Could you please give us a link to your website, we need more context to be able to help you.
Best regards,
Victoria
Hi Victoria,
Sorry for the late reply. we managed to make the website live now.
here is the link for the request above https://indphila.com
Thanks
Anantharam
Hi,
Thank you for the update.
Looks like you’ve managed to move the sku beside the categories. Do you need more help with this?
If you need to insert additional content in the single product page template, try to use hooks. Please check the guide below.
// https://businessbloomer.com/woocommerce-visual-hook-guide-single-product-page/
Best regards,
Ismael