-
AuthorPosts
-
May 11, 2020 at 10:03 am #1211778
Hi,
I’m looking for a way to customize Woocommerce via theme directly form the wordpress dashboard, without using the “classic” method explained here.
There’s a way to do that?
Thanks a lot!Kind regards!
May 12, 2020 at 4:51 am #1211991Hey alligatorsnc,
The link you sent explains how WooCommerce files are structured and how to override them, I’m not sure I understand what you are asking?
Best regards,
RikardMay 12, 2020 at 9:24 am #1212053Hi,
Yes exactely, I would like to not use that method to customize Woocommerce templates, are there any theme settings that allow me to do it through the dashboard? To make it easier(also if it is less customizable).
I hope I was more clear this time.Kind regards!
May 12, 2020 at 5:59 pm #1212272Hi alligatorsnc,
Most likely, it’s not possible, you’ll have to do it the WooCommerce way.
Can you please explain what changes you need to make?
Best regards,
VictoriaMay 12, 2020 at 6:55 pm #1212322Hi Victoria,
Ok got it.
I send you two screen to be more clear.
In single product page i would like to move the category tags below the tabs and i would like to add a button for a pdf download https://prnt.sc/sfhb6nIn the category page i would like to customizw the sidebar with categories in Accordion box https://prnt.sc/sfhaeg
Nothing too hard I know, but I was looking for an easier method to manage.
Thanks for your time!
Regards.May 21, 2020 at 2:11 pm #1215004Hi,
Thank you for the update.
1.) Use this snippet in the functions.php file to move the product meta info below the tabs.
add_action('after_setup_theme', functon() { remove_action('woocommerce_single_product_summary', 'woocommerce_template_single_meta'); add_action('woocommerce_after_single_product_summary', 'woocommerce_template_single_meta', 13); }, 100);
2.) Use the available hooks (woocommerce_single_product_summary, woocommerce_after_single_product_summary etc), in the single product template to add a pdf button or extra content in the single product pages. You can also follow the default way of editing the product template.
// https://docs.woocommerce.com/wc-apidocs/hook-docs.html
If you have any additional questions at this time we kindly ask that you open them up in a separate thread. The longer threads get in the forum, they become more difficult to support as they tend to drift off topic and they also make it troublesome for users trying to search for solutions. Keeping threads relevant to their original inquiry ensures that we can keep better track of what has been resolved and that users can more effectively find answers to similar issues they might be experiencing.
Thanks!
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.