Jump to content

IeM

Members
  • Posts

    143
  • Joined

  • Last visited

Everything posted by IeM

  1. V 1.6.0.10 Hi, I have a guest user blasting me with emails in Chinese from my contact form. They have been using the following email domain with random generated addresses: @qq.com and @icloud.com with one IP being 223.119.49.110 For the moment I have had to put the store in Maintenance Mode as I can't work out how to block them. 1. To begin with how do I temporarily deactivate the Contact Us form? (can not find it under "Preferences→Maintenance") 2. How do I block their IP addresses from using the site? 3. What else should I do?
  2. I was asked the same question by another member trying to solve this same issue. While I have not got a complete solution, this is what I answered him with: I needed to use wildcard subdomains for my multi-store and I could not find any answers. After spending about US$1500 for programmers that could not quite get it right I came up with my own hack that does the job with one downside, and that is the site will still always revert back to www.domain.com. However, in the mean time I grabbed the subdomain value. Basically I inserted a script at the beginning of the index page that grabbed the value of the subdomain, stored it as a session or constant, and then reset the header as www.domain.com. I can then use that value in my scripts. What prestashop does is when it gets a non www subdomain is reset the header to www.domain.com and the site reloads. I am really looking forward to the day that Prestashop enables subdomains as there is a number of uses for them. Hope this helps you and anyone with the same very frustrating issue.
  3. Thanks cristic, It is basically to set some session vars with details generated from the login so that could in dead be viable.
  4. Thanks taydotech123, I was thinking that was the case.
  5. Hi, Just wounding if a code snippet can be added to a controller class function without overriding the whole function? Example: I need to add a line of code after a New Customer object has been created and authenticated in AuthControllerCore->processSubmittLogin() I'm assuming that I have to copy the entire function to a Class override to do this but am not 100% sure and am hoping that there is another way without adding it to the actual core file its self. Thanks
  6. Hi Vekia, Thanks for the great module. One issue and one request. My site uses SSL. Even though I have entered my Tumblr URL as a HTTP, on the front end it comes out as a HTTPS link and they do not work with Tumblr. Any ideas on how to make the link be created as a HTTP link? Request. Could you please add https://storify.com/ Thanks
  7. Installed a Point Of Sales (POS) module yesterday as we will need it. However, due to this issue with data not clearing the POS becomes unusable for a number of reasons including adding to stock from the previous order or thinking that the new order has already been processed. This is unbelievably frustrating.
  8. Hi bluekachina, I'm with a2hosting which has the nginx option, though, I have not asked for it to be installed at this point. While it isn't good to have others with this very problematic issue, I'm also glad that it isn't just me and that it may one day get some attention from someone who may have a solution. We may have to try our luck with a bug registration soon. Thanks for responding.
  9. Hi Vekia, From all the looking around the web and this thread, I'm thinking that this could be a good module idea for your team.
  10. Hi Vekia, Great module. This requirement is probably pushing it too far. Is there a way I can list CMS pages in a block instead of products? The reason why is one of my sites has product overviews on CSM pages to avoid all of the cart info etc on the product page as you can not buy the products direct. One has to apply via a form. I would love to show these on the home page. Thanks
  11. Hi, This is a great module and it has got me around some bugs with the standard top menu. Something I can't work out though is that no matter what I do the search box sits hard against the last tab. It would be preferable if the search box would align to the far right of the menu bar but "Search->Position->Align-right current menu" does not shift the search box. Alternatively, if it can not be moved to the far right I would like to have a margin between it and the tab next to it but I can not find any settings for that. Any suggestions, preferably to move the search to the far right? Thanks
  12. I have a multi-store setup with different CMS pages etc for each store, so the Horizontal Top Menu has to reflect this. However, I have some categories that no matter what I do, they are displayed in shops that they should not be displayed in. These displayed category menu items are turned off by selecting the shop in admin and going to Admin->Preferences->CMS and making sure that the displayed icon is RED. For a number of stores they are all turned off. Clear the cache and it all makes no difference, you still get some incorrect menu items. The main issue really is with the "Home" category. When you include the Home category in the Top Menu selector, in most cases it includes all of the sub categories for all sites not matter if they're turned on or not. I have also gone into the categories and made sure that nothing is active within the category for a given site. Some don't even have anything in them. Still the category is displayed. What does one do short of buying a replacement menu module? Thanks
  13. The theory is that you can order CMS pages in the menu and it sub menus via Admin->Preferences->CMS The top part of the page gives you the categories that you can open up OR drill down into and CMS pages can be placed within these categories. So make sure that you have not gone multiple levels down in some categories by clicking on each category and seeing what it contains. While this seems easy enough as you can turn pages and categories on and off for each shop, in reality I am finding what you select does not always work for all of the shops. I'm getting clos to buying a menu module to replace the Horizontal Top Menu as it is way too buggy.
  14. Hi, Whenever I do ANYTHING in the 1.6.0.10 Prestashop Multistore Admin the page has to be refreshed at least once before I start otherwise I will save old data. For example if I want to change stores in admin I have to: Select the new store: page loads but showing old store Refresh the page: Page loads still showing old store Reselect the new store again: If lucky the new store will load, otherwise continue again from step 1 Another example: You go to edit a CMS page that has been modified some time before. If you do not remember to refresh the page after it loads BEFORE adding any new content, you will end up adding new content to the content before the last modification. So the current data does not load when you first go to the page. This also happens when modifying product details and for just about anything if not everything. As a result if you do not constantly refresh on every page nearly every step of the way, you end up with corrupted data without even knowing it. It is such a dangerous pain. In time I hope to afford to put on an admin person but there is no way in the world could you have someone else working in the backend as it is way to easy to screw it all up and very slow to do simple things like changing stores. It can take about 3minuts sometimes to manage a change in store. Cache is off. Any ideas?
  15. Does the current version allow you to set which products are posted? When I tried an earlier version it posted all of my stock including the Affiliate marketing tools and the parts that are used to make the up the products. These other items not for public viewing and are in their own categories and available to specific user groups. While I have to quickly remove that version, it would be great to have one that will only post selected products or from selected categories so one could make up a category to include the product you wish to post. Thanks
  16. No, still waiting. I have moved on to other more pressing projects ATM but will return to complete this. Stack Overflow would be worth trying as they are a lot more responsive there, even for Prestashop. If you get an answer, could you please post it here. Thanks
  17. V1.6 Hi, I need to create a new non-cms Form Page that includes some logic, JS, CSS, and maybe PHP. This page will submit to a PHP script that will perform some logic and redirect back to this page. If possible it would be good to include PHP in this Form Page, but if not, I will need to include PHP in a FormPageController and use a template file or something. Apart from the body, that will include the form, the page needs to look like the shop so it will need to include the Header and Footer. I tried using a CMS page but it was too restrictive in what it would allow. I also set up a root file: form-page.php A controller: FormPage.php A template file: form-page.tpl And linked the page in the Admin->Preferences->SEO Pages As a result I was only getting back totally black pages. To complete this task, are there any other files I have to add? What is the minimum skeleton for each of the required files to make this work? Where else may I be going wrong? Thanks
  18. Hi Mokarick, Glad you made advances. It seems strange to me how they have set it up but as I only have a superficial understanding of it, I can't really make a comment other than it is causing challenges in updating product quantities.
  19. Hi Mogarick, Try the following and see if it helps: $webService = new PrestaShopWebservice(PS_SHOP_PATH, PS_WS_AUTH_KEY, DEBUG); $opt = array('resource' => 'stock_availables'); $opt['id'] = $id; $xml = $webService->get($opt); $resources = $xml->children()->children(); It is very hard to get information in regards to updating the stock via the API.
  20. Hi, Have been trying to get answers for this via posts but found this conversation that is sort of related. I am making a bridging app to work with the PS API to simply update the stock quantities in a V1.6 Multi-Store with Advanced Stock Management from quantities I get from a warehouse DB. While I can increase the quantities in the "stock_available" table, these quantities do not show up in the backend product list. So, what else, OR, what actually has to be updated so that the new quantities take effect? Also, I have tried updating the "quantities" in the Products table via the API but that is write protected so can't be done. I'm not actually sure that it is required anyway or does it? If this updating stock quantities can not be done via the API then I will go directly to the DB but I still need to know what has to be updated. Thanks
  21. Updating physical stock quantities via the webservice is more difficult than one fist thinks so I have closed this and started a new one that asks what updates are required. I've noted a few people asking this over the web so hopefully it will end up helping people out. https://www.prestashop.com/forums/topic/451883-how-do-you-use-the-webservice-api-to-increase-physical-stock/
  22. Prestashop 1.6 Multi-Store with Advanced Stock Management Hi, Most through making a bridging app to update warehouse stock quantities to the shopping cart. ERP is not the answer in this situation as it is a 3rd parties stock that only makes up part of the cart stock. I have been able to do a number of integrations using the Prestashop 1.6 API, however, I can not work out how to increase physical stock levels, and have these new levels show up in the backend of the site. I have been able to increase the quantity level in the "stock_available" table but this does not show in the back end. I have not been able to work out how to chance the quantity in the product table because it is write protected so that is an issue to overcome somehow though beyond me. It also seems that there must be other values that need to be changed because if you change these two quantities directly in the DB they still do not show up in the back end. Also I would think that it would be a good idea to add the change in the advanced stock management as a warehouse as a stock movement. Now even though I have nearly 100 items, I only have 1 in the "stock" table. Whey would that be as it has "physical_quantity" and that may be another one that needs updating? 1/ What needs to be updated to increase a products stock level so that it will be recognised and show up in the back end? 2/ And how do you update the "products" "quantity" when it is write protected? Thanks
  23. Hi Totti, Thanks for the assistance. I am able to update stock_availables, however, the quantity also needs to be changed in the products table. Quantity is stored in two locations. As I can't update it in the products table via the API I might just do a direct DB update on the different tables. Thanks again.
  24. There is an XML error code returned: XML error code 93 is the table is not present in the descriptor. I thought this was done by including "$opt = array('resource' => 'products');" It is a good chance that this is the issue however, I do not know how to correct it. Any ideas? Thanks
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More