Hi there,
Which configurator theme are you using? Could you maybe share a link to a configurable product?
how do I translate the texts in the popup that warns you when you have not filled in all the fields?
You can use a plugin such as https://wordpress.org/plugins/my-wp-translate/ to translate the strings from the plugin. The error message will be %s is required
Marc
Thread Starter
cadstv
(@cadstv)
Hi Marc, I used the WSB theme.
Here you can see the configurator:
https://www.montelloshop.com/prodotto/zero/
for the translation I can’t find the string neither with wp translate nor with loco translate
https://www.montelloshop.com/wp-content/uploads/2021/10/Schermata-2021-10-16-alle-10.53.44.png
Tnx
I see, it looks like some strings are not up to date in the POT file. I’ll update it.
How can I add the text “add to cart” to the right of the icon to make it more visible from mobile?
You can either use this CSS to display the add to cart button and the qty input, or you’d have to override the cart icon button.
Something like this would override it:
function cadstv_pc_wsb_theme_add_mobile_form_button() {
echo '<button class="mkl-pc-show-form">' . mkl_pc( 'frontend' )->product->get_cart_icon() .'<span>' . __( 'Add to cart', 'woocommerce' ) . '</span></button>';
}
// Remove the default button
remove_action( 'mkl_pc_frontend_configurator_footer_form_before', 'mkl_pc_wsb_theme_add_mobile_form_button', 20 );
// Add the new button
add_action( 'mkl_pc_frontend_configurator_footer_form_before', 'cadstv_pc_wsb_theme_add_mobile_form_button', 20 );