Jump to content

kornett

Members
  • Posts

    16
  • Joined

  • Last visited

Profile Information

  • Location
    us
  • Activity
    Freelancer

kornett's Achievements

Newbie

Newbie (1/14)

11

Reputation

  1. I'm using an independent page using a url like this: http://www.site.com/index.php?fc=module&module=Mycommerce&controller=details So my question is, can I display something in the header or footer of prestashop but only for 1 page?
  2. Hi! Currently I'm using the following to add css to my module.... public function hookDisplayHeader() { $this->context->controller->addCSS($this->_path.'css/mymodule.css', 'all'); } But I noticed that the CSS is added to ALL pages of prestashop, is that what the "all" in the above line means? Since it is causing compatibility issues with other modules, I'd like to add it just where my module is used. Thanks,
  3. If you create a shop manually with multistore. Assign a employee to that store created. Login as admin to the new store, and try to change the theme you will get: Select at least one shop When it's obvious that it should select at least the default one. A trick is to update PS_SHOP table manually with the desired theme for now, but this is obviously a little bug on multistore features.
  4. I found that the issue was caused because I was sending some empty values in the employee webservice because they were not "required", ... makes no sense, but that fixed it for me.
  5. When I create a new shop using the webservice and a new employee using the webservice, both are assigned correctly and in the database table ps_employee_shop and the new employee is only assigned to his current shop: i.e. id_employee id_shop 1 1 1 2 2 2 So in the above example id_employee 1 is the admin, and 2 is the new employee created, so as you can see it looks fine, he only has access to his shop. The problem is that whenever that employee logins to the admin panel, there is something (probably a hook) that gives the employee access to the main store, inserting the new record. So now the table looks like this: id_employee id_shop 1 1 1 2 2 2 2 1 I don't understand why it gives users access to the main shop, even if the user is created with a low permissions profile. What is the hook or file that is inserting this record? Is there a way to disable this in the admin panel? Any input will be appreciated! Thanks, By the way I'm using the latest PS version 1.6.0.6
  6. just remove the "www" from PS_SHOP_PATH constant... define('PS_SHOP_PATH', 'http://mysite.com');
  7. Guys, since I solved this with my store, and I see you are having a hard time with this, I created a new store from scratch to find out how to solve it. Follow this steps EXACTLY: 1.- Go to Modules - Payment, select Paypal modulo (configure) so you can see Paypal Admin Settings. 2.-On: Which PayPal Product(s) would you like to enable? 2.1: Select Paypal Payments Advanced (yes even if you don't have advanced) and click Enable Selected Products. 2.2: Select Paypal Payments Standard and click again Enable Selected Products. 2.3: Select Checkbox for Paypal Express Checkout, and once again click Enable Selected Products. Refresh your cart, and you will see the paypal button. Doing this steps overwrites the options, so yes this is a bug and I don't know why it hasn't been solved. Another things to consider in case the above doesn't work: Add Euro currency Import French language on Localization/Translations Check Paypal is Enabled in ALL COUNTRIES on Modules - Payment (yes even if the module says canada,usa and mexico only) Check Euro and Dollar are enabled on Modules - Payment Like I said, I fixed this issue again for you guys with a brand new prestashop 1.5.5 instance, so please follow the above steps and you should fix it too. Buy me a beer if you do.
  8. I have my shop at Godaddy too (shared linux), and I solved this issue but I did so many things that I can't tell what was the real fix, but here is what I found: I read there were some issues with the module while using different languages, this because paypal could detect a language according to the country of your visitor, and that language might not match your store language. The other thing would be the currencies, for example if you have the language "French" you need to enable the Euro Currency. This is my current configuration, you can set all the same and see if it works for you: Modules-> Payment Currency Restriction: Dollar, Euros (checked) click Save Restricions (this is important even if you make no changes) Group Restricions: Visitor,Guest,Customer (checked) click Save Restricions (this is important even if you make no changes) Country Restrictions: All Checked. click Save Restricions (this is important even if you make no changes) Then under your Paypal module select "configure" submit I have "Paypal Payments Standard" (the free plan I have on paypal) Important: Even if it is selected, click on "Enable selected products" button, so it will overwrite. Put your API credentials (live or sandbox) Save again. As you can see, all I did was click SAVE on each option, to overwrite each setting. That worked for me! Hope this helps.
  9. I think you still need the API even if you are using paypal advanced. You can also try using paypal sandbox, if you havent already go to https://developer.paypal.com/webapps/developer/applications/accounts Login with your current paypal account, and create new "test accounts" with any balance (you can setup $500,$1000, etc) Then, get your API credentials there and try them in your paypal module.
  10. well... its working now... I desperately clicked all the "save" buttons options for each feature and it worked.
  11. My paypal payment option is not showing up on the available payment methods when trying to do the checkout. Prestashop: 1.5.4 Paypal module: 1.2.1 I've tried the Live and Sandbox mode, with valid credentials and API settings. is this a bug??? Using USA and Canada as available countries, USD and EUR currencies by default. No errors displayed, its like it was disabled but it is ENABLED. Screenshots attached.
  12. This was the fix for me, just execute the following insert in your database: INSERT INTO `ps_category_shop` VALUES(1, IDshop, 0); IDshop would be the numeric id of the shop having this problem, after that you will be able to see the categories section, click on "Add new root category" to create new one.
  13. This was the fix for me, just execute the following insert in your database: INSERT INTO `ps_category_shop` VALUES(1, IDshop, 0); IDshop would be the numeric id of the shop having this problem, after that you will be able to see the categories section, click on "Add new root category" to create new one.
  14. This was the fix for me, just execute the following insert in your database: INSERT INTO `ps_category_shop` VALUES(1, IDshop, 0); IDshop would be the numeric id of the shop having this problem, after that you will be able to see the categories section, click on "Add new root category" to create new one.
×
×
  • Create New...