Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Language problem #40

Open
esomola opened this issue Apr 13, 2021 · 1 comment
Open

Language problem #40

esomola opened this issue Apr 13, 2021 · 1 comment

Comments

@esomola
Copy link

esomola commented Apr 13, 2021

My external woocommerce shop is in Spanish.

When I display the products on an external website it shows the buttons VIEW PRODUCT and SALE in English.

How can I solve this?

@WPprodigy
Copy link
Owner

WPprodigy commented Apr 14, 2021

Yeah this is partly my bad, the plugin needs to be internationalized better.

To change the button text, you can pass an attribute to the shortcode like this: [wcepe_products orderby='title' order='desc' number='12' columns='4' button='Example Text Here']

The on-sale text though you will currently need to override the template and edit this line: https://github.com/WPprodigy/woocommerce-external-product-embed/blob/master/templates/product-content.php#L65

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants