Question: Search Bar Doesnt Work

Search Bar Doesnt Work

Hello, I just bought and install the app but after setting all up i noticed that search bar doesn't work, for example: if I add a product and try to select a supplier the search bar says "Aj

JM

jesus montouya

Asked

Hello, I just bought and install the app but after setting all up i noticed that search bar doesn’t work, for example: if I add a product and try to select a supplier the search bar says “Ajax Request Failed”.

This happens in POS, Products, Purchase, etc. Search Bars.

Any help please?

  • MS

    Mian Saleem

    Answered

    Hello,

    Mostly ajax calls fail when URL structure changed or there is any issue with route. Please let me know your site link with owner login details so that I can have look and suggest.

    Thank you

  • MS

    Mian Saleem

    Answered

    Hello,

    You have changed the URL structure that the reason of ajax call failing.

    You need to check your base_url in app/config/config.php and remove index.php? if that is your index_page set it to blank again. Once index.php? gone from your url the ajax will start working.

    Thank you

  • JM

    jesus montouya

    Answered

    I did what you mention and now i can search for suppliers but now if I want to add a purchase of a product, when I type the product, the seach bar keeps loading but nothing happens.

  • MS

    Mian Saleem

    Answered

    Hello,

    Please check your server’s php error logs and let me know the error details so that I can suggest.

    Thank you

  • JM

    jesus montouya

    Answered

    I re-install everything from beginning and and it works all good, thanks.

    I got another question, is it possible to add more payment methods or edit the existing ones?

    For example i want to add transfer, credit card, debit card, etc…

  • MS

    Mian Saleem

    Answered

    Hello,

    You can add/edit the paying by options by editing the paid_opts method of app/libraries/Sma.php

    Thank you

  • Login to Reply