Support » Plugin: YITH WooCommerce Request A Quote » Browse the list link issue

  • Good Afternoon.
    I’m using yith woocommerce request a quote (free) and I have a big issue with “request a quote” page.
    My site is a multilanguage site but when I click “Browse the list” I land in the same page (italian page) independently of selected Language.
    I’can’t select different landing page for each Language.
    How can I solve this issue?

Viewing 1 replies (of 1 total)
  • Plugin Author YITHEMES


    You can use the filter ‘ywraq_request_page_url’, with this hook if you know the current language of site you can change the url of ‘Request a quote’ page

    You should add in the file functions.php of your theme something like this:

    add_filter( 'ywraq_request_page_url', 'ywraq_request_page_url');
    	function ywraq_request_page_url( $url ){
    		//change with a function that return the current language
                    $currentlang = 'en';
    			case 'en':
    				$url = 'http://...../en';
    			case 'fr':
    				$url = 'http://...../fr';
    		return $url;
Viewing 1 replies (of 1 total)
  • The topic ‘Browse the list link issue’ is closed to new replies.