related posts to products

This topic contains 3 replies, has 2 voices, and was last updated by thenet thenet 6 years, 1 month ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #13283
    thenet
    thenet
    Participant

    Hi guys,

    Sorry for bothering you, I had a look over the docs and did best with the config area,

    but the goal here for me is this:

    Associate posts with certain products.
    So when you see a product, you should also see the related posts.

    I have added the tag “Big Merino” to the product and the related post.
    It does not show up on the product page.

    I have added a plugin called Advanced Custom Fields 4.4.11
    With this I can create a relationship between the post and product.

    “Edit the Post & Select product to which it is related. ”
    This seems to offer the Custom Field “related_itemz”
    Which I added and still no results.

    Can you piont me in the right direction please.

    Ideally I would love to be able to associate a product with a post and have those posts show up.

    I am using the php code for your plugin on the page
    /woocommerce/single-product.php

    Any help would be great please and thanks

    #13325
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    Unfortunately I don’t think it will work with that ACF field, however there is a way.

    On each product editor there is a related posts pro meta-box (on the bottom of the editor page), where you can choose which posts exactly you want to display for that product: https://i.imgur.com/wPWYOEp.png

    That should be the fastest way I believe.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #14558
    thenet
    thenet
    Participant

    ok wow- thats great
    can you think of a way or is there a way to show only the item and not the 5 variations for that product also?

    http://woocommerce-108201-307647.cloudwaysapps.com/2017/08/the-letesknits-trunk-show/

    Thanks for the help

    #16574
    thenet
    thenet
    Participant

    Hi there,

    so this is working great for a category on the site,
    But is not relevant to other product categories.

    I cannot see how to Hide the title text “Pattern Suggestions” on pages that are not Yarn.

    E.g, YARN products have related Pattern Suggestions,
    https://www.thisisknit.ie/product/mayu/

    Books do not
    https://www.thisisknit.ie/product/cocoknits-sweater-workshop/

    How do I hide the title when not relevant, please.

    David

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘related posts to products’ is closed to new replies.