admin管理员组文章数量:1430692
Usually products on shop pages show up with a single featured image title price and add to cart button like this , and do not follow the themes original styles and settings
What i want to do is to show these as how a post in shown in any given theme like this
i have tried numerous codes to override templates, changed themes with and without woocommerce support and customizing archive-products.php with loops from posts.php of the theme which works to an extent but somehow functionality breaks the only thing that worked was switching post type of products to post but i loose a lot of data that way.
i have tried making post manually but it was very time consuming as i am importing a lot of products through plugins which automatically import as products.
themes i am working with bimber and chipmunk i am an absolute beginner and learning as i go.
Thank you,
Usually products on shop pages show up with a single featured image title price and add to cart button like this https://prntscr/ngn7o6 , and do not follow the themes original styles and settings
What i want to do is to show these as how a post in shown in any given theme like this https://prntscr/ngn7qw
i have tried numerous codes to override templates, changed themes with and without woocommerce support and customizing archive-products.php with loops from posts.php of the theme which works to an extent but somehow functionality breaks the only thing that worked was switching post type of products to post but i loose a lot of data that way.
i have tried making post manually but it was very time consuming as i am importing a lot of products through plugins which automatically import as products.
themes i am working with bimber and chipmunk i am an absolute beginner and learning as i go.
Thank you,
Share Improve this question asked Apr 25, 2019 at 9:47 ulvayaamulvayaam 115 bronze badges 1- hi i was somehow able to change the post type = product to resources which my theme has a builtin support for , now i can customize the layout although some information is still not showing up and i have no idea how this happened – ulvayaam Commented Apr 26, 2019 at 6:56
1 Answer
Reset to default 0i was able to overcome this problem although not every efficiently, used elementor skin extension to create a template for loop, then used that loop in elementor template builder for archive.
While this does solve the problem i believe it is not efficient as it did slow down my website and cpu usage may be increased.
if anyone has a better solution without using any plugins please let me know.
本文标签: woocommerce offtopicShow products as posts on archive page
版权声明:本文标题:woocommerce offtopic - Show products as posts on archive page 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745547183a2662761.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论