WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce Payment Gateway - Inspire
[resolved] Show/hide variations based on user (2 posts)

  1. bangbangmobile
    Member
    Posted 1 year ago #

    So I have figured out how to hide products with or without a specific Attribute (I created the Client attribute and added my client's name as a term), but how can I only show VARIATIONS to each client in the same way?

    For example, Product X has two Variations: one for Company A and one for Company B because the pricing is different for each. My code now says if logged in user's billing company name matches the product Attribute term, then show it. How can I then display a variation name that matches this billing company name? Basically, I don't want other clients to see another client's pricing.

    Thanks,
    Chris

    http://wordpress.org/extend/plugins/woocommerce-payment-gateway/

  2. inspire
    Member
    Plugin Author

    Posted 1 year ago #

    Chris,
    Sorry for the delay. For whatever reason I wasn't notified of your post here by WordPress.org. The question you are asking is one that is specific to WooThemes, as the code base in question is theirs. Having used their system extensively I would advise based on your post that you review the features of their dynamic pricing plugin. It may be a PERFECT fit.

    http://www.woothemes.com/products/dynamic-pricing/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic