最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

woocommerce offtopic - Show products as posts on archive page

programmeradmin2浏览0评论

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
Add a comment  | 

1 Answer 1

Reset to default 0

i 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.

发布评论

评论列表(0)

  1. 暂无评论