cancel
Showing results for 
Search instead for 
Did you mean: 

Giving Discount based on IP Address or IP Address range

Giving Discount based on IP Address or IP Address range

is there any plugin for this requirement ??

 

i want to give discount to users  who are logging from specific ip address or ip addresses . let me clarify more specifically .  if i want to give auto discount for all users of an specific ISP ,  the best way is users loging from a specific ip addresses that i declared will get that discount automatically when they submit their order.

 

is it possible ??

1 REPLY

Re: Giving Discount based on IP Address or IP Address range

Hi @razibshahriar,

 

I didn't found anything like that at the https://marketplace.magento.com

I can imagine a way to, probably, solve the requirment but you will need some customization.

Maybe you can show a banner (at some place into the store) saying to use some Coupon to get a discount.

That part could be solved with a GeoIP module and some simple validation for a block.

Then, you should use an observer to detect when a customer enter a cupoun to the cart. If the IP is into the allowed list, you'll allow the coupon to be entered. If not, you can deny and show a message.

 

It needs a little bit of work, but I guess you'll get the feature.

 

(my  2 cents)

--
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution"