How to set up relationships between a CPT to WooCommerce Product Variations?

Support MB Relationships How to set up relationships between a CPT to WooCommerce Product Variations?Resolved

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #45651
    mamamiamamamia
    Participant

    Hi Nguyen, 
    How to set up relationships between a MB CPT I create to WooCommerce Product Variations? 

    • For example, I make CPT "Experts" for a WC service product.
    • With Elementor Pro loop I'll create/design the frontend look/display of the Expert cards.
    • I'll then only display certain cards on a funnel lander, for the customer to pick his preferred expert.

     
    So I need the Expert Card's button to dynamically link to its WC variation. 

    How best to set this up? 

    I can manually create WC product attributes > variations per post, but is there a more time-efficient way doing this with MB relationships?

    Thank you!

    #45663
    PeterPeter
    Moderator

    Hello,

    You can setup a relationship between a CPT and a WooCommerce variation, please check the attached screenshot.
    But please notice that, there isn't a relationship meta box in the Product data section when editing the product of WooCommerce. That means you can select the relation variation when editing the post of the CPT only.

    #45665
    mamamiamamamia
    Participant

    Hi Peter,
    I fail to see the attached screenshot.
    Please add it.

    Thanks!

    #45666
    mamamiamamamia
    Participant

    Also, I'm fine if can just see/get the variation in the CPT but how to get just get the variation ID?

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.