Miva 9 Coupons | Exlude Price Group | Allow Un-logged in Shopper to See/Get Discount

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jsdva
    Mega Mivite





    • Apr 2006
    • 1166

    #1

    Miva 9 Coupons | Exlude Price Group | Allow Un-logged in Shopper to See/Get Discount

    Overview: I have a client that has a Miva 9 store. They offer products to both retail and wholesale customers. The wholesale customers are in a price group, which obviously has to have customer accounts and have to be added to that wholesale group by the client. Retail customers can have customer accounts, but do not have to have a customer account, and can checkout as guest.

    This is where the issue is: Keeping the discount from wholesale customers...don't want them to see that the client is offering that discount to retail customers only, and definitely don't want wholesale to be able to get the discount. But, the client is set on giving the discount to retail customers that are not logged in or have not previously setup a customer account, and they want to be able to display that discount to those retail shoppers logged in or not. If it were just shown and given to customers that are logged in, we could easily exclude wholesale customers.

    I've seen the thread for a conditional
    below. But, that would only work if all are logged in. My worry is that if a wholesale customer visits the site but isn't logged in yet, they will still see that there is a discount given but not be able to use it because they are wholesale...which is what the client wants, but could be really irritating to wholesale customers, which we want to avoid.

    Is there a way to do this?

    Note: Please be patient with any replies to your response, since I have not been able to get any forum emails since the new forum came about. So immediate replies from me are not a reality.

    Thanks,

    Jamie

    How would I change the code below if I wanted to exclude more than one company from the condition (i.e. Company A, Company B, Company C)?
    Last edited by jsdva; 06-29-16, 07:57 AM. Reason: tags
    Jamie Donaldson
    JSDVS Web Design / Development
    Web Design | Web Development | E-commerce Design & Integration
  • Brennan
    Super Moderator









    • Jun 2009
    • 3481

    #2
    I don't know of a way to what you're looking for. If you give the discount to non-logged in customers, then even your wholesale customers who browse the store (not logged in) will see the discount. There is no way for Miva to know the difference.

    I guess you could so something where you set a cookie for your wholesale customers and as soon as they visit the site, you force them to login in. This way they wouldn't be able to browse the products without being logged in and see the retail discounts.

    You could pretty easily set a cookie for your wholesale customers when they login and add some code globally to redirect them to the login page if they are not logged in and the cookie exists.
    Brennan Heyde
    VP Product
    Miva, Inc.
    [email protected]
    https://www.miva.com

    Comment

    • jsdva
      Mega Mivite





      • Apr 2006
      • 1166

      #3
      Thanks for the reply Brennan! I'll run your advice past the client. I don't think they'll want to redirect their wholesale customers though, since that would be unexpected behavior by the site when wholesale customers visit. We may have to re-think and make concessions.

      Wish there was a way, but I wasn't holding out much hope that there was.

      Thanks again,

      Jamie
      Jamie Donaldson
      JSDVS Web Design / Development
      Web Design | Web Development | E-commerce Design & Integration

      Comment

      • RayYates
        Developer Partner



        • Dec 2006
        • 1517

        #4
        If you set a cookie for wholesale customer, you could prevent them seeing the discounts, rather than forcing them to login in, however, since they need to log in to see wholesale prices anyway, most of my customers, ask that wholesale customers login.
        Ray Yates
        "If I have seen further, it is by standing on the shoulders of giants."
        --- Sir Isaac Newton

        Comment

        • jsdva
          Mega Mivite





          • Apr 2006
          • 1166

          #5
          Thanks Ray. Yes, the wholesale must log in to see their prices, but retail prices are displayed regardless. So, the issue of the wholesale people seeing that the retail people are getting a discount at all, especially when it comes to free shipping...or even a 20% off coupon code, is what the client is trying to avoid.

          I am wondering if there is any other way to do this other than cookies/forced logins.

          Thanks,

          Jamie
          Last edited by jsdva; 07-01-16, 11:59 AM. Reason: clarity
          Jamie Donaldson
          JSDVS Web Design / Development
          Web Design | Web Development | E-commerce Design & Integration

          Comment

          Working...
          X