Jump to content

Sixhop

Members
  • Posts

    6
  • Joined

  • Last visited

Sixhop's Achievements

Newbie

Newbie (1/14)

  • Week One Done Rare
  • One Month Later Rare
  • One Year In Rare

Recent Badges

0

Reputation

  1. Hi, I'm trying to recompile the assets for my prestasho backoffice because I needed to take some adjustments in the javascript code to not hide a form once it has been saved. What I found is: https://devdocs.prestashop.com/1.7/development/compile-assets/. But I'm not able to do the npm install and npm run build commands. There is no package.json as in normal node projects. Additionally the above page states that as of prestashop 1.7.6 there should be a build.sh script in tools/assets. I was not able to find that script. I even downloaded a new 1.7.6.4 version and checked the tools folder, there is no assets folder inside. Can you tell me how it is possible to rebuild the js assets, either without npm and nodejs or how I can set it up correctly to be able to run the npm run build command? Kind RegardsAndi
  2. Hello, I'm trying to add new translations to the classic theme. I've adjusted the my-account.tpl to welcome customers in a special group with a nice heading: {l s='Welcome to your dealer account' d='Shop.Geda'} As of http://build.prestashop.com/howtos/translation/how-to-translate-your-theme/ I would expect, that the translation is recognized within the translation manager in the prestashop backend. But I'm not able to find these translations. How can I rescan all template files for new translations to be able to see them in the translation manager and translate them? Cheers Andi
  3. Hey, this is your cache directory. How many products and therefore how many different pages do you have in your shop? That's possible to have 20 GB cache, easily. Maybe you have some more diskspace no your server. If you let it run you should notice that it grows slower until it reaches an upper limit. Cheers Andi
  4. Wouldn't it be nice if the module doesn't add rich snippets if there are no reviews for a specific product?
  5. Hey, I found the solution. The mod="" parameter is somehow complex, because the documentation is not clear about what needs to go in there. Once I started to put the exact module name in there like "ps_productoverview" the translation page finds the translatable strings on its own and you're able to start translating the module. Cheers Andi
  6. Hello, I'm trying to translate a module that I've written. It's called product overview. It's a quite simple module which just displays the main products in a hook on the homepage, so no big magic. I'd like to translate the module through the prestashop translation system. Therefore I've added the line "{l s='More than just a Grill' d='Modules.Productoverview'}" into my module. Before that I've tried the 1.6 version "{l s='Mehr als nur ein Grill' mod='Productoverview'}". I'm using Prestashop 1.7.6.0 right now. When I go to International > Translations > Modify Translations and select Installed module translations, then select my module Product Overview Choose a language, i.e. English GB and hit the Modify button I would expect prestashop to scan the modules template files, check for the {l s="..."} statements and provide a list with the strings that can be translated. Am I right until this point? If not, where am I able to let prestashop know that there is a new module with new translatable strings? What I see then Is the page that says: "Expressions to translate: 0" So no translateable strings could be found. I would really appreciate it if somebody could explain how I can finally translate my module. Cheers Andi
×
×
  • Create New...