Home Forums Basel support forum Compare not working

Compare not working

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #235492

    nikosvl97
    Participant

    Hello, 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.

    #235580

    Hello,

    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

    #235631

    nikosvl97
    Participant

    error 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/

    #235632

    nikosvl97
    Participant

    also 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;
          }
      }
    #235636

    Hello,

    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

Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)