Product by ID inside the post template (3 posts)

  1. GSMtricks
    Posted 3 years ago #

    Hi to all, hope you will help me on my problem.

    So i need to insert one product by ID into to each post, so via short codes i did it already, for example using code:
    [product id="1111" sku=""]

    It is work and shows me that product. So the main thing is that product template is the same like in a woocommerce store, i mean it use same template.

    The question - is there any way to make own template for products which i want to insert into a posts?


  2. Mike Jolley
    Plugin Author

    Posted 3 years ago #

    To make it 'look' like a product page, try [product_page id="1111"]

  3. GSMtricks
    Posted 3 years ago #

    Thx for a nice tips, but it is not what i need.

    I gone try to expline again.

    I have wordpress post, where i insert code:
    [product id="1111" sku=""]

    On that page i can see my product with id - 1111 - this is ok, but template is exactly the same like in my store.

    I want to use other template, i mean want to have for example bigger image + change "more info" to "buy" button + what to float img etc... but now if i try to change a template it is also changed on product catalog, because is one template for catalog and for inside post products. So is there any way to make and use other template?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.