Unable to change "add to cart" text in button prestashop - prestashop

I'm incapable to change the text on these buttons, I'm looking in translations in the theme, but no clue about how to find this specific text and I'm spending a lot of time trying to locate it, I'm using prestashop 1.7.6
Any ideas?
Thanks

If you're using the classic theme, you have to go to translations in the admin panel.
In the lists, choose :
type : "front-office" or "theme translation"
theme : "classic"
language : * yours *
And click on the "modify" button.
Then, the "add-to-cart" label is in "Shop" -> "Theme" -> "Actions" at the second page.
Or, you can simply search for "add to cart" in the search bar.

Related

Can I customize the "New File" menu in PhpStorm?

I would like to add some other options, like "PHP Enum" or "PHP Interface" directly to this menu. Also, I would like to put PHP-related options first. It is possible tu customize this in PhpStorm? I'm using last version (2022.3.2) with the new UI enabled.
I tried using Appearance & Behaviour -> Menus & Toolbars but that didn't work for me.
Do you know that you can use the universal PHP Class entry and just change the type of the object (and therefore the file template) there? That can be done right away when typing the file or class name -- just use Arrow Up / Down keys:
(GREEN rectangle area is where that Up / Down key will work; RED rectangle shows my custom file templates)
P.S. The template for PHP Enums is also there, it just the screenshot was taken in a project with PHP 8.0 language level (need 8.1 for enums to appear).
P.P.S. The IDE will remember the last used template when you invoke this dialog again.
https://www.jetbrains.com/help/phpstorm/creating-php-classes.html
You can add new entries to this menu by creating custom File Templates at Settings/Preferences | Editor | File and Code Templates
https://www.jetbrains.com/help/phpstorm/settings-file-and-code-templates.html
Here are my test custom file templates:
And this is how they appear in that menu:
Customizing this menu (removing items, changing their order)
This is not possible at the moment. https://youtrack.jetbrains.com/issue/IDEA-143090 -- watch this ticket (star/vote/comment) to get notified with any progress.

Datagrip, create custom template

I was wondering if it is possible to create my custom SQL template in Datagrip.
As users of Datagrip know, if you type sel and then wait or press Ctrl+Space, a panel is shown with options. One of them is the template for:
Select * from ;
How could I create my own?
I have found out that if you type in a new file, for example:
sel and then hit CTRL+space
it will show:
Click the yellow lamp in the right top corner of the popup. It will show another menu with "Edit live template settings" option inside it where you can create your own templates.
Go to Settings → Editor → Live Templates
Also, follow official custom live template creation guidance.

Odoo: add custom menu item in Settings section

Odoo v10.0
Is it possible to add custom menu item on left sidebar in top-level "Settings" section?
For example here, in "Settings" section in navbar I have "Dashboard", "Users" and others. I have my custom module (addon) that's installed in system. I want to control some settings of my addon from UI as admin.
Ideally, such as UI should be in "Settings -> on left-side bar MyAddon -> and its sub-items". Otherwise, it should be in top-level navbar as the separate section.
Please advise where I can see (link to code) such as example.
Thanks
CC #Emipro Technologies Pvt. Ltd
if you want to put your menu under Settings -> Users
use parent id of any menu to put your menu under that menu.
<menuitem id="your_ui_menu_id" name="UI" parent="base.menu_administration" />

how to change language in openERP(odoo 8)

I want to change the language of openERP's latest version Odoo 8,
some one give me suggestion and I am also googling about this problem and I found that change into the preferences but that menu also I not locate,
Please give me a suggestion for how to do that and if any query related questions please comment me....)
Click on the user on right top you will see preferences menu.
In preferences menu change language and then reload page if does not work logout of system and login again.
Module setting -> Menu Translation -> Load a Translation (choose your language)
Then
Click on the user on right top you will see preferences menu -> change your language

How to do these 2 things?

I have 2 questions: do you know how I can disable the module that allows the user to choose the colour of the product? I don't need it and I would like to remove it.
My second question is about the "Add to cart" yellow button.. I'd like to change its shape and colour but I can't find the way to do it. Do you know which line should I look for and in which file?
This is not a module. Just do not use color attributes for your products and they will not appear
The "Add to Cart" button is styled in /themes/[YOUR_THEME]/css/product.css. In PrestaShop 1.5.6.2 row with the style rule is 338.