Jump to content

Mehrshad Zakerian

Global Moderators
  • Posts

    98
  • Joined

  • Last visited

  • Days Won

    1

Mehrshad Zakerian last won the day on July 12 2023

Mehrshad Zakerian had the most liked content!

4 Followers

About Mehrshad Zakerian

  • Birthday February 10

Contact Methods

Profile Information

  • First Name
    Mehrshad
  • Last Name
    Zakerian
  • Activity
    Developer

Recent Profile Visitors

8,413,326 profile views

Mehrshad Zakerian's Achievements

Rookie

Rookie (2/14)

  • First Post Rare
  • Collaborator Rare
  • Reacting Well Rare
  • Week One Done Rare
  • One Month Later Rare

Recent Badges

66

Reputation

  1. In my case it was from shipwire module which was remained from PS1.6. I removed module from host and now everything works great.
  2. Thanks, this solution worked. For theme developers, you can simply create a file called anything (like passive-listener.js) inside your theme directory/_dev/assets/js/lib folder and paste the contents from the link above (https://unpkg.com/default-passive-events) and inside your theme/_dev/assets/js/theme.js file import it, that's it! Many thanks to @duredo
  3. سلام برای این کار بهترین روش پیاده سازی سایت بصورت اختصاصی با ری اکت یا زبان های مشابه اون هست. پرستاشاپ اصلا مناسب کاری که شما نیاز دارید نیست
  4. شما سایتتون با وردپرس قالب وودمارت راه‌اندازی شده پرستاشاپ و وردپرس دو سیستم مدیریت محتوای مجزا هستند و نمی‌تونید قالب‌هاشون رو روی هم نصب کنید اگر صرفا مشکلتون با قالب باشه باید یک قالب وردپرس جدید خریداری کنید اگر مشکلتون با خود وردپرس هست و دوست دارید از پرستاشاپ استفاده کنید، باید اول فروشگاهتون رو به پرستاشاپ منتقل کنید بعد اقدام به خرید و نصب قالب مورد نظرتون در پرستاشاپ کنید اگر تمایل دارید به پرستاشاپ منتقل کنید فروشگاهتونو بهم اطلاع بدید راهنماییتون می‌کنم
  5. To solve this cache issue, you need to navigate to your img/tmp directory (where you have installed your PS on host) and remove all files inside tmp folder. It will be regenerated automatically.
  6. Well that's true, but since in most themes the js files of themes are combined into one single js file and minified (and in most cases developers of themes remove the _dev folder) it might not be possible for users to modify the cart.js file of the theme. It is the responsibility of theme developers to fix this issue.
  7. It is definitely from one of your modules. You need to rename each module to see which one is causing this issue. In my case it was "psxmarketingwithgoogle" module. I renamed it to "psxmarketingwithgoogle2" and it solved the error.
  8. Finally found the solution which works without needing any file replacement or any advanced steps (thanks to our friend response Nawres). Follow the steps below: Before I continue to explain the steps, if you have changed your core.js file or you have replaced it with older versions (e.g. PS1.7.7.x, etc) remove it and upload the original core.js file which is within default PrestaShop file (exact the same with your PS version) then follow the rest of instructions. Step 1: Open your core.js file which is inside your themes directory and edit it. Step 2: Search for code below: o.default.cart=e.resp.cart; And replace it with: o.default.cart=e.reason.cart; Step 3: Reset your ps_shoppingcart module from your BO -> Modules. Step 4: Go to your BO -> Advanced Parameters -> and click on Clear Cache button. Step 5: Go to your store front-office, press Ctrl+Shift+R (or ⌘+shift+R on mac) to refresh your browser cookies. You're done!
  9. This worked. As I saw others have same issue and they could solve their problem with this solution, I highlighted your response as (Recommended). P.S: If the debug mode is ON you may need to remove prod & dev folder from var/cache.
  10. Well I made a test for one of my customers, after replacing the core.js file and solving the issue, I brought back the original core.js file and it’s working now! Please test and see if it’s working for you as well. Thanks for sharing your solution, but it seems hard for non-pro users and they may make new issues on their shops if they make any mistake in this process. I hope the PrestaShop team will take care of this issue on next updates.
  11. Update - Jan 14, 2023 ------------ Finally found the solution which works without needing any file replacement or any advanced steps (thanks to our friend response Nawres). Follow the steps below: Before I continue to explain the steps, if you have changed your core.js file or you have replaced it with older versions (e.g. PS1.7.7.x, etc) remove it and upload the original core.js file which is within default PrestaShop file (exact the same with your PS version) then follow the rest of instructions. Step 1: Open your core.js file which is inside your themes directory and edit it. Step 2: Search for code below: o.default.cart=e.resp.cart; And replace it with: o.default.cart=e.reason.cart; Step 3: Reset your ps_shoppingcart module from your BO -> Modules. Step 4: Go to your BO -> Advanced Parameters -> and click on Clear Cache button. Step 5: Go to your store front-office, press Ctrl+Shift+R (or ⌘+shift+R on mac) to refresh your browser cookies. You're done!
  12. One easy way to find out, is to check the theme config file. In PS1.6 the config file is in "themename/config.xml" path and in PS1.7 the config file is inside "themename/config/theme.yml" path. Also, you can check the compatible versions inside config files as well.
  13. Well it looks like your theme is for PrestaShop 1.6 based on the structure in the attached image. You cannot install any PS1.6 themes on PS1.7 since the theme structures are completely different on these versions.
  14. I'm not sure what your problem is. The issue I mentioned is causing when you change the theme. If you get it while changing admin password, that's something else. Maybe you can solve it by upgrading to the latest version.
  15. New update arrived! A minor update to fix small issues and improve performance: * FIX: showing wrong name for product inside OpenGraph tags only for shops with missing language ID * FIX: minor issue with category description OG * UPDATE: copyright year updated to 2020 More info and buy: https://ipresta.shop/products/prestashop-seo/2-ipresta-seosmo-assistant-module.html
×
×
  • Create New...