php, jquery,ajax and wordpress,magento