This topic has 9 replies, 4 voices, and was last updated 8 years by 5high-photohub.
-
Author
Tagged: woocommerce, tab, description, product, below
-
June 8, 2015 at 20:04 #61564ITEXPERIENCEParticipant
Hi
I’m writing you cause I want to change how the product description is displayed in woocommerce interface in kleo theme.
In particular I would like it to be displayed at the bottom of the product photo.
I checked out this topic https://archived.seventhqueen.com/forums/topic/woocommerce-wider-description as it is similar but he doesn’t work.
Please find the screenshot attached for more details.http://www.perlottico.it/prodotto/site-plus-sviluppo-mini-sito-internet/
Thanks
ITexperience
Attachments:
You must be logged in to view attached files.June 8, 2015 at 20:21 #61570sharmstrModeratorTry this instead
COPY CODEadd_action( 'init', 'wooDescrioption', 10 ); function wooDescrioption() { remove_action( 'woocommerce_single_product_summary', 'woocommerce_output_product_data_tabs', 31 ); remove_action( 'woocommerce_after_single_product_summary', 'kleo_woocommerce_output_related_products', 20 ); add_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 10 ); add_action( 'woocommerce_after_single_product_summary', 'kleo_woocommerce_output_related_products', 20 ); }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
June 8, 2015 at 20:22 #61571sharmstrModeratorHere’s a screenshot of it in action.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
Attachments:
You must be logged in to view attached files.June 9, 2015 at 10:39 #61667ITEXPERIENCEParticipantThanks! This works for me.
How can I make sure to obtain description and reviews in the table and no one under the other?
Please find the screenshot attached for an example.
Thanks
ITexperience
Attachments:
You must be logged in to view attached files.June 9, 2015 at 17:49 #61688sharmstrModeratorCopy the woo version of the tabs template to your child theme.
/plugins/woocommerce/templates/single-product/tabs.php
to
/themes/kleo-child/woocommerce/single-product/tabs.phpHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
March 4, 2016 at 18:54 #108636maartenParticipantCOPY CODEadd_action( 'init', 'wooDescrioption', 10 ); function wooDescrioption() { remove_action( 'woocommerce_single_product_summary', 'woocommerce_output_product_data_tabs', 31 ); remove_action( 'woocommerce_after_single_product_summary', 'kleo_woocommerce_output_related_products', 20 ); add_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 10 ); add_action( 'woocommerce_after_single_product_summary', 'kleo_woocommerce_output_related_products', 20 ); }
This no longer seems to work, the function doesn’t remove the info to the right of the product image.
Attachments:
You must be logged in to view attached files.March 4, 2016 at 19:10 #108640sharmstrModeratorUpdated
COPY CODEadd_action( 'init', 'wooDescrioption', 10 ); function wooDescrioption() { remove_action( 'woocommerce_single_product_summary', 'woocommerce_output_product_data_tabs', 35 ); remove_action( 'woocommerce_after_single_product_summary', 'kleo_woocommerce_output_related_products', 20 ); add_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 10 ); add_action( 'woocommerce_after_single_product_summary', 'kleo_woocommerce_output_related_products', 20 ); }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
March 10, 2016 at 07:27 #1096675high-photohubParticipant@ maarten – did this work for you?
Cheers jMarch 10, 2016 at 14:30 #109725maartenParticipantYes, works!
once again, thanks for your great support.
March 10, 2016 at 22:36 #1099025high-photohubParticipant@ maarten – OK, I’m obviously doing something totally wrong – I’d really appreciate it if you could clarify exactly where in the copied tabs.php the above code went? (I have updated the tab.php in my child theme to match the latest woo update.)
I’ve tried it in all sorts of different combinations/places but don’t get the required result.
Much appreciated.
-
AuthorPosts
The forum ‘General questions’ is closed to new topics and replies.