Home › Forums › Basel support forum › Compare not working
Compare not working
- This topic has 4 replies, 2 voices, and was last updated 4 years ago by Elise Noromit.
-
AuthorPosts
-
October 23, 2020 at 6:05 am #235492
nikosvl97ParticipantHello, when i try to compare the products, is bringing an error . i cannot find why. could you help me ?
and one more. i cant enable debug in wordpress. WP_DEBUG is TRUE. i tried with plugins too but nothing.October 23, 2020 at 10:01 am #235580
Elise NoromitMemberHello,
What error do you see when you try to compare products?
Our theme does not influence the possibility to enable debug.
Please check this instruction and make sure you have confirmed compare functionality properly: https://xtemos.com/docs/basel/basel-compare/
Best Regards
October 23, 2020 at 12:47 pm #235631
nikosvl97Participanterror is gone 😛
i have another problem also. i am trying to change the text on variable products button(select options or add to basket for simple products). i tried a lot of plugins but with no luck. i saw my text but when the site fully load it cabe back the old one. i clear the cache and again the same. only one plugin worked perfectly but i lost the add to basket function in product page.. i cant understand why.
a website page is here : https://emall-fashion.com/product-category/andrika/andrika-rouxa/andrika-pantelonia/
October 23, 2020 at 12:48 pm #235632
nikosvl97Participantalso i tried that code and the same. after 1 second is hidden again.the code is on functions.php
add_filter( 'woocommerce_product_add_to_cart_text' , 'custom_select_options_text' ); function custom_select_options_text() { global $product; $product_type = $product->product_type; switch ( $product_type ) { case 'subscription': return __( 'Options', 'woocommerce' ); /*change 'Options' for Simple Subscriptions */ case 'variable-subscription': return __( 'Options', 'woocommerce' ); /*change 'Options' for Variable Subscriptions */ case 'variable': return __( 'Options', 'woocommerce' ); /*change 'Options' for Variable Products */ break; } }
October 23, 2020 at 1:01 pm #235636
Elise NoromitMemberHello,
You can translate/rewrite all theme and plugin texts via PO file in WordPress. Here is a video tutorial that should help you translate your website texts with a Loco Translate plugin https://www.youtube.com/watch?v=D3NsDdMzsls&list=PLMw6W4rAaOgKKv0oexGHzpWBg1imvrval&index=3
Please check the video tutorial to see how to save the translation file correctly. You can remove the plugin and translations would remain. Also, translations would remain after each theme update.
Best Regards
-
AuthorPosts
Tagged: add to basket
- You must be logged in to create new topics. Login / Register