Jump to content

HaCos

Members
  • Posts

    242
  • Joined

  • Last visited

1 Follower

About HaCos

  • Birthday 03/03/1988

Profile Information

  • Location
    Greece
  • Activity
    Developer

Recent Profile Visitors

2,217 profile views

HaCos's Achievements

  1. 'Έχει λυθεί το θέμα για ενημέρωση order status του skr για τις παραγγελίες που γίνονται cancel/refund ?
  2. Can you extend this class to add the page number also in meta description?
  3. You can use a module to export a csv/xml of new products from dev prestashop upload it to production server & use a module to map fields & imports products.
  4. For the reason you mention its impossible to keep track of your code separately from DB. The workflow i am following today is - Create a copy of production instance as a staging. - Apply any changes (modules updates, code changes, core update tec) on staging & do tests. As long as changes are legit => - Either push changes from staging to production (this includes database overides) OR in case there have been new entries (new customers, new orders) in production since the creation of the staging, in order to avoid loosing them by overide - Rapply manually all changes i did on staging on production. Based on my experience its the most safe and easy to go workflow.
  5. I worked around with this and it seems to work fine but unfortunatly the file is getting cached and so it's saved the first visit and doesn't check the user ip on every call. Do you have any idea how I may bypass this? Of course but there are also static ones.
  6. We are looking for a way to load a js file only when specific IP addresses are visiting our site. We already tried by adding in the footer the following code: {if ($_SERVER['REMOTE_ADDR'] != 'ip_address') } {include file='_partials/jsfileneedtobeload.tpl'} {/if} Due to caching of the whole page the above doesnt seem to be working correctly. Since its not possible to check current ip on js without using a 3rd party, I think i will need to pass the $_SERVER['REMOTE_ADDR'] into the js file. Any ideas more than welcome
  7. Hello, I have selected 2 decimals on my setup & the db is updated accordintly. When i update the price of a product from product edit (BO) the rounding that is taking place is applied on more than 2 decimals, this creates an issue some times that prices different by 0,01. For example I add the price 39.73 in field "price without tax" targeting a 44,90 in field "price with tax" . Instead the price that show up in the field "price with tax" is 44.8949 which show the product at the price of 44,89 isntead of 44,90.
  8. Thank you but i need to check if there are any categories left with 0 products available for order - which requires at least to include products & products combination table, for which we will need to check if there visibility if both and not something else, available for order is checked, deny when out of stock is unchecked..
  9. The query becomes more complex than i expected. Any ideas how to get possible "empty" categories aka with no products for sale?
  10. Hello, We manage a store with more than lots of categories & many more SKUs. Because a big part of our catalog is getting updated in bulk, i am looking for a way to check if any our categories is left with 0 products available for order. I am thinking of creating a query that will return: Category name, total products, enabled products, products available for order Any ideas, more than welcome
  11. After checking the rules in htaccess file. Although the file has been regenerated, it did not create additional rules for each subdomain i added in media server. After i copied and placed the image rules for each subdomain everything worked just fine.
  12. Heyo, I created a subdomain ponting to my main domain in order to use it as a media server. A product image before adding the media server is being served from a url that looks like: While the "41980-medium-default" path not exist the image is rendering.. The problem show up when i add the media server where the url that is generated looks like: The urls after the use of media server redirect to home page.. and no product image is rendering correctly. If i call any other file that exist as file path on main site such as domain.com/img/anything.png it works fine under sub.domain.com.. I already tried reseting htaccess with no success.
  13. PHP 7.2 is not suppoerted since November 30, 2020. I ended up updating prestashop to the latest.
×
×
  • Create New...