Home Page › Forums › Porto – AI Powered WordPress Website & Shop Builder › Change position of product_meta in Single Product
- This topic has 3 replies, 2 voices, and was last updated 2 years, 6 months ago by
Aizaz Awan.
-
AuthorPosts
-
February 23, 2024 at 6:04 am #4775
Hello,
While trying to configure the Child theme modifying the position of product_meta in Single Product we have found that the actions are placed in:
\porto\porto\inc\functions\woocommerce.php line 92 (add_action( ‘woocommerce_single_product_summary’, ‘woocommerce_template_single_meta’, 26 );)
How is it possible to modify the priority to make it appear under Add-to-cart and keep this setting fixed for future theme updates.
Current product: https://www.andesvapor.com/producto/vaporizador-fenix-pro/
[restrict userlevel="author"]User: [email protected] Pass: *b4U9O3k9nJ6fUqiQWyxkXbk[/restrict]February 23, 2024 at 12:54 pm #4778Hello, @svenmoller,
Actually, there is no need to customize the theme core files, by default our PORTO theme provides an option in which you can design a single product page using the page builder plugin you are using on the site as per your need.
Simply navigate to the Dashboard >> Porto >>Template Builder >> Single Product >> Add new >> https://postimg.cc/r0ZZHD7B >> create a new layout when the editor opens you have the control to design according to the needs.
You can set the product meta after the add-to-cart as well. Here is an example: https://postimg.cc/HcL8xnjs I hope you understand.
Further, I have attached a detailed article on it for your better understanding: https://www.portotheme.com/wordpress/porto/documentation/single-product-builder-elements/
Best Regards,
PThemes Team.February 25, 2024 at 10:46 pm #4784Thanks for your reply.
It would be awesome if there could be some default Single Product Layouts just to go and customize.
It would make the process extremely easy and helpful :)February 26, 2024 at 1:07 pm #4785Hello, @svenmoller,
Actually, Yes, You can first create a new custom layout as I told you in my previous message while editing it you can import a pre-built layout using PORTO Studio: https://www.portotheme.com/wordpress/porto/documentation/porto-studio/ then simply customize it as per your need.
Best Regards,
PThemes Team. -
AuthorPosts
- You must be logged in to reply to this topic.