Jump to content

fzk007

Members
  • Posts

    7
  • Joined

  • Last visited

Profile Information

  • First Name
    Faizal
  • Last Name
    Khan

fzk007's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. When we enable multi-store on a non-default theme, some of the modules on the front page like the CMS blocks get duplicated a number of times depending on how many stores have been enabled. Since these are theme based custom modules and not the default Prestashop one, my understanding is that we should be able to add something like Get context in the module file for it to show only depending on the store id. I am looking for help on what code should I put into the module files that will prevent it from displaying on the default store and only display when that particular store id is open.
  2. Hi, I have been able to remove all unnecessary fields and only have Name, Email & Address box show up in the registration field except that I am unable to remove "city" as a required field. I have edited the following files during the course of hiding/non required fields: Authcontroller.php Authentication.tpl order-opc-new-account.tpl order-opc-new-order-advanced.tpl identity.tpl I have also edited the Localization > Countries and only have First Name, Lastname, Email & Address as required fields. I have also edited the address.php file and made city as isrequired => false. Also, addressformat.php also has only: public static $requireFormFieldsList = array( 'firstname', 'lastname', 'address1', 'Country:name'); While I'm able to hide the city field using the tpl, but the form still shows error - City is required.
  3. I have prestashop 1.6.1.11 I have the google analytics module installed. I created the google analytics client id and secret. When I put in the details under 3.0 OAuth 2.0, it take me to the google screen, I log in, it asks me if I want to allow permission, I hit Allow and then it comes back to prestashop but comes back to a 404 page. The link at the 404 page goes something like mydomain.com/modules/gapi/oauth2callback.php?state=1-2cff74e93f3b0b87f242fdf0d11fb2c4&code=4/b6VAmIkc18jbxiBPWcSCJgBSDEq733kZrkZmxE7iszI# Also, when I try the v1.3 and put in my username and password and the profile Id, it comes back with authentication failed. What is the problem here?
  4. So, I've been trying to develop a native android app for the frontend. So far things are in a "just working" state using the Webservice XML APIs. But now I have hit a wall. The problem of how to authenticate a user who is already registered on the site and now wants to login to the app. I've spent weeks trying to figure how Authcontroller file works and if I can pass the username and password to that. No luck, so what I'm trying now is send the POST from the app to a duplicate copy of the actual prestashop login page(php file) and use Ajax/jQuery to capture server response without moving to the target page. No luck there too as what is being returned is just the whole page loading code. No user identifiable information. Am I doing it completely wrong? What is the proper way to check for user authentication from the App? Which file should I be talking to on the server side? Can this be done through the webservice API which I doubt since there is a question about hash key? Or do I have to go the hard way of talking to the DB directly from the app? Please help! Thank you.
  5. Hi, I'm having the same problem. I tried changing the rewritten url to 'checkout' and 'order-page', also tried the apache multiview off, still no go.Same issue. It is good upto https://www.angelintertrade.in/order?step=1 and then it pulls up https://www.angelintertrade.in/order as blank page. Even disabling friendly URL gives same issue. Anyone? Thanks ----------- update: problem solved. I enabled debugging, found that alvaratax module was causing some error. Don't know why it was enabled. Anyways, disabled the module and it works fine now.
  6. Hello all, I couldn't find any similar issues after searching for a while, so hopefully I can get some help from here. The website is: www.angelintertrade.in In the customer facing site, everything is working fine under default US - English language. but as soon as you change the language to one of the other ones from the drop down list at the top, the top hook module comes up with a big question mark as if the module is missing but it shows fine under English. What could be wrong here? Also, changing the language doesn't seem to be translating any text at all. Please advice. Thanks!
×
×
  • Create New...