Apply automatic discount to tagged customers

I agree with everyone… should be standard feature. And I refuse to pay for an app to give people a discount - lose lose! Especially when it is like USD$10 a month (which is [email removed] for me - we do not all trade in US!) and we only have specific people using it. To me all Shopify has to do is modify the automatic discount to include the Specific Groups bit, then it would be good.

I got it going with a work around.

Here is what I did:

  1. Made a discount code called Wholesale for x% off with customer elegibility a specific group (tags).
  2. Added this code to the top of the cart.liquid page (under the <form class … tag) {% if customer.tags contains ‘Wholesale’ %}

    {% endif %}

I think that is all I did. I found a how-to by googling it. Sometimes it works, sometimes not. I am trying to find out why or when it does or does not.

Personally, I think it would be an easy feature for shopify to add!