Request for modification of coupon functionality – restriction of use per zone

WPPizza – A Restaurant Plugin for WordPress Support General Support Request for modification of coupon functionality – restriction of use per zone

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #70011
    Maurizio
    Participant

      Hi Olly,

      I hope all is well.

      I would need a solution to the coupon functionality that we manage on the platform. I am developing several agreements with companies, which provide exclusive discounts for their employees.

      The problem is that these discounts should only be usable in or near the company premises, but employees can also use them from home, regardless of their geographical location.

      To solve this problem, I thought of implementing a control based on the postal codes (ZIP codes) of the delivery areas. In practice, I would like it to be possible to associate each coupon with a list of valid postcodes. When a customer enters a coupon, the system should check that the postcode of the delivery address falls within the authorised ones.

      For example, if a coupon is intended for employees of the Galliera Hospital in Genoa, the valid postcodes would be those of the hospital area (e.g. 16128). If a customer enters a delivery address with a different postcode, the coupon should not be applied.

      In this way, we could ensure that discounts are only used in the areas covered by the agreements.

      Would you be able to implement this change? Or give me a solution that I cannot think of?

      Thank you very much for your cooperation.

      See you soon,

      Maurizio

    Viewing 1 post (of 1 total)
    • You must be logged in to reply to this topic.