Google Location Guard CS-Cart Add-on
$4995

Google Location Guard CS-Cart Add-on

This product is electronically distributed.

Add to wish list
The Farmers Lot is your online farmers market. You can put your farm online in minutes...

City: AU, Yattalunga

Description

This is a add-on for CS-Cart. I developed this addon after my Google API costs went through the roof, I found I was providing services to customers from countries I didn't service and bots and bad-actors were hitting my pages driving up the costs. I built this addon and my costs reduced to next to nothing! I am not a developer and this addon is sold as is. Note that you can list countries you want to provide location services to (use the standard 2 letter county designator in the add on settings, see image below).

Google Location Guard Function Summary

In simple terms: the add-on is designed to reduce Google API costs caused by bots and unwanted automatic location checks, without blocking the storefront or stopping real customers from choosing their location manually.

This image shows how I was able to drive down costs.


Google Location Guard reduces unnecessary Google location API usage in CS-Cart/Multi-Vendor while keeping normal customer location features available.

It helps by:

  • Blocking automatic browser geolocation for risky traffic, such as bots, crawlers, empty user agents, or optionally visitors outside selected countries.
  • Preventing unnecessary calls to Google Geolocation and Google Geocoding APIs when automatic detection is blocked.
  • Allowing genuine customers to manually use “use my location” when enabled, so the customer experience is preserved.
  • Integrating with AB Antibot when available, using its bot/whitelist decisions.
  • Falling back to built-in crawler detection if Antibot is not available.
  • Supporting optional country-based geolocation restrictions using Cloudflare/GeoIP-style country headers.
  • Logging blocked geolocation attempts for admin visibility.

This is a lifelong single version licence, it allows use in one instalation and can not be resold. No support is provided, you are paying for addon which can use if it works for you (it should), you can modify the code as you wish, but must not resell any derivities from my code. Future versions will provide support. It should work with a standard multivendor licence. If it doesn't work turn off other addons to identify any conflicts (none-known). The addon is operating on this site.

Reviews

No reviews found

Suggested Product

dszV952-CJTT43PC12INZJ001V0
Alloy-steel 6-point impact socket set with 19 standard sockets, 19 deep sockets and four extension bars. Includes sizes 9–30 mm in a storage case for mechanical work.
$10865
In stock
+ −
dszV238-SUPDZ-28747421483088
Set of 100 numbered orange thermoplastic polyurethane ear tags with pins, measuring 7 x 6 cm. Intended for cattle, sheep and other livestock.
$3750
In stock
+ −
Five bendable galvanized steel edging pieces with a rust-resistant coating, interlocking edges and extended spikes for defining flower beds, paths and outdoor zones. Includes installation gloves and an instruction manual.
$5324
In stock
+ −
dszSH-CL-366X300-100-R-GR
UV-stabilised HPDE knitted shade cloth roll providing 50% shade block. Sized 3.66m x 30m and described for greenhouse, shade-house, plant and agricultural use.
$13352
In stock
+ −
Raised planter with 120-litre capacity, built-in water gauge and drainage system. Designed for growing herbs and vegetables in compact spaces such as patios and balconies.
$44879
In stock
+ −
dszV238-SUPDZ-28747545477200
Set of 100 numbered orange rectangular thermoplastic polyurethane ear tags with pins, measuring 5 x 2 cm. Intended for sheep or similarly sized livestock.
$3998
In stock
+ −
dszV952-NHGJSPZ40INC64GX7V0
Ten bendable weather-resistant steel edging pieces with a pre-rusted finish, fasteners, clips, gloves and an instruction manual. Designed for garden, walkway and planting-bed borders.
$7399
In stock
+ −
Check These Out
  • On Sale
  • Tools and Equipment
  • Recently Viewed