Jump to content

Mehrshad Zakerian

Global Moderators
  • Posts

    100
  • 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,441 profile views

Mehrshad Zakerian's Achievements

Apprentice

Apprentice (3/14)

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

Recent Badges

66

Reputation

  1. Kindly please check you email, sent you the details and contact options
  2. In my case it was from shipwire module which was remained from PS1.6. I removed module from host and now everything works great.
  3. 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
  4. سلام برای این کار بهترین روش پیاده سازی سایت بصورت اختصاصی با ری اکت یا زبان های مشابه اون هست. پرستاشاپ اصلا مناسب کاری که شما نیاز دارید نیست
  5. شما سایتتون با وردپرس قالب وودمارت راه‌اندازی شده پرستاشاپ و وردپرس دو سیستم مدیریت محتوای مجزا هستند و نمی‌تونید قالب‌هاشون رو روی هم نصب کنید اگر صرفا مشکلتون با قالب باشه باید یک قالب وردپرس جدید خریداری کنید اگر مشکلتون با خود وردپرس هست و دوست دارید از پرستاشاپ استفاده کنید، باید اول فروشگاهتون رو به پرستاشاپ منتقل کنید بعد اقدام به خرید و نصب قالب مورد نظرتون در پرستاشاپ کنید اگر تمایل دارید به پرستاشاپ منتقل کنید فروشگاهتونو بهم اطلاع بدید راهنماییتون می‌کنم
  6. 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.
  7. 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.
  8. 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.
  9. 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!
  10. 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.
  11. 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.
  12. 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!
  13. 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.
  14. 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.
×
×
  • Create New...