Refactoring of adding subshop param to ajax urls