Jump to content

Check if javascript disabled and hook something else...


Recommended Posts

hi,

prestashop 1.4.x

 

if javascript is disabled by user/bot/crawler/spider

 

i would like the visitor to load Productcontroller2 (Productcontroller2.php) instead of the usual Productcontroller (Productcontroller.php)

 

i don't want "not real users" to execute something i added inside the Productcontroller... or even if real but with javascript disabled, 'cause those functions do requests on other IP, so i don't want unnecessary requests to that IP...

 

Please, can you help me?

thanks

Edited by mmsh (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...