PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Price based on user id or user level

  1. gxb101
    Member

    Hi, I wanted to know if it's possible to use gravity forms to show different prices for different users. For example, I may have certain customers who warrant "better" prices and other customers who should be charged regular prices. That being said, it would be great if I could use gravity forms to manage both the user level assignments and the pricing element. Is this possible? Thanks

    Posted 11 years ago on Tuesday October 9, 2012 | Permalink
  2. David Peralty

    I guess you would have to tell us more about how you would determine which pricing level people get to know how we could help you accomplish that.

    Posted 11 years ago on Tuesday October 9, 2012 | Permalink
  3. gxb101
    Member

    My thought would be to tie the prices to user level as follows: anonymous user enters the site. They register on the site in order to gain access to the product page. By default, they are assigned the "basic" level which means standard pricing. On that product page, I show them several pre-defined products with a standard cost assigned to each one. Meanwhile, a "preferred customer" enters my site and logs in. I have already assigned them to a "preferred" level which means better pricing. When they enter the product page, they see an entirely different set of prices for the same products. Does this explanation help?

    Posted 11 years ago on Tuesday October 9, 2012 | Permalink
  4. gxb101
    Member

    Does anyone have a thought on this? I'd like to know if this is possible before I purchase gravity forms.

    Posted 11 years ago on Wednesday October 17, 2012 | Permalink
  5. You can accomplish this, but you will need another plugin to handle the user levels. Something like the Members plugin can create custom roles. You could have two or three separate roles, all with the same permissions (based off the User role maybe) but they would have different role names, so you can differentiate their pricing.

    On the page where the form is embedded, you could test for the user level, then conditionally show one form or the other. The page URL is the same, but preferred customers would see the preferred pricing form (call it form two), and regular customers would see the regular pricing form (call it form one.) One problem that presents is managing two separate forms. Depending on the complexity of the forms and the products that might be a problem. I guess it depends on how many products you will have to worry about.

    It's all possible, but most of the functionality will be outside Gravity Forms. If you can explain more about the number of products and number of member levels, we can give you more specific feedback.

    Posted 11 years ago on Thursday October 18, 2012 | Permalink
  6. gxb101
    Member

    Let me try to explain what I am trying to accomplish: The client is selling banners. Banners come in a variety of sizes, so total square feet need to be calculated then multiplied by a price per square foot. This is where the special logic needs to come in. Depending on which customer is doing the buying, the price / sq. ft will be different. My client would like to be able to modify each customer's buying price behind the scene as needed. I would set all users to a default price upon registration, and then those values could be tweaked if necessary. I was thinking that if I utilize the User Registration add-on from you guys, I could just add a meta field called "banner-price" which could be edited as needed. Meanwhile, the form could somehow use that logged in user's "banner-price" meta value and apply it to the cost calculation. Does this make sense and more importantly, is this or some variation of this possible??

    Thanks very much

    Posted 11 years ago on Thursday October 18, 2012 | Permalink
  7. Product fields are not editable in the back end, so it won't be possible to use any sort of product for these calculations. You can use number fields and make the visibility admin only, and configure calculations to store the initial value, and the admin can log in and modify that field.

    What you are looking for is possible with Gravity Forms but it's a customization beyond the support we can give here. We're happy to point you in the right direction when you get stuck.

    Posted 11 years ago on Tuesday October 23, 2012 | Permalink