0

Where can I change the "Add to cart" or in German "Zum Warenkorb hinzufügen" Text on the product page? Where is that template file and where do i need to copy it in my custom theme?

enter image description here

1

You can find out it in

vendor/magento/module-catalog/view/frontend/templates/product/view/addtocart.phtml

<?php $buttonTitle = __('Add to Cart'); ?>

You can change it from your theme by extend this file.

Otherwise also you can change by Csv translate file

app/design/frontend/YourTheme/ThemePackage/i18n/[Your_Language_Code].csv

"Add to Cart","um Warenkorb hinzufügen"
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.