• Resolved anteroriihimaki

    (@anteroriihimaki)


    We are using YITH Pos as a point of sale. After installing Complianz opening the YITH Pos register give blank white page, nothing is found in the debug.log and nothing is printed on the web page.

    From the browsers console I found the following error:
    Uncaught ReferenceError: yithPosSettings is not defined????<anonymous> .../wp-content/plugins/yith-point-of-sale-for-woocommerce-premium/dist/pos/index.js?ver=2.13.0:67????r .../wp-content/plugins/yith-point-of-sale-for-woocommerce-premium/dist/pos/index.js?ver=2.13.0:1????<anonymous> .../wp-content/plugins/yith-point-of-sale-for-woocommerce-premium/dist/pos/index.js?ver=2.13.0:1????<anonymous> .../wp-content/plugins/yith-point-of-sale-for-woocommerce-premium/dist/pos/index.js?ver=2.13.0:1index.js:67:224414

    So it seems that the Compianz plugin is preventing the YITH Pos to fetch it’s settings, but I haven’t found a setting / cookie from the Complianz settings that prevents the YITH Pos from loading it’s settings.

    Has anyone had this issue and/or solved it?

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor jarnovos

    (@jarnovos)

    Hi @anteroriihimaki,

    It looks like the plugin is currently disabled, so I can’t see the behavior for myself at the moment.

    Could you re-enable the plugin temporarily and provide the exact steps we need to take to replicate the issue on your site? That would allow us to check what might cause this to occur.

    Kind regards, Jarno

    Thread Starter anteroriihimaki

    (@anteroriihimaki)

    Thanks for a quick repy.

    Yes it’s currently disabled on our production site, but is in use on our staging page.

    Since it’s POS page that gives the error, you need to login to the admin of the page to access it. I can provide you with temporary access to our staging site, if you let me know how to send them to you privately.

    Plugin Contributor jarnovos

    (@jarnovos)

    Hi @anteroriihimaki,

    Please make sure to not mention or post any sort of login information on these forums, as this is against the Forum Guidelines and might result in action being taken by the moderators (https://www.ads-software.com/support/guidelines/#the-bad-stuff).

    While I am not familiar with the Yith POS plugin specifically, going by what you mentioned in your previous post I assume that the affected “POS” page is only accessible from the back-end?

    In which case it is strange that Complianz affects the behavior of this page; as back-end pages should not be affected.

    Does disabling Complianz solve the issue immediately? If so, re-enable the plugin so that the behavior occurs once more, and then disable individual integrations under Complianz -> Integrations to see when it starts working again. That would narrow down the cause to a specific integration.

    Kind regards, Jarno

    i am facing the same issue when it got to the pos side for it to load it just went blank what is the solution to that.

    evensismedia

    (@evensismedia)

    We are also facing this issue.
    Could anyone please provide the solution here?

    evensismedia

    (@evensismedia)

    Great solution by Yith to add these lines to functions.php:
    /** * Filter post types for cookiewarning * It’s too early to use global $post or url_to_postid(), so we do a simple text comparison * * @param int $cookiewarning_required * * @return bool */

    function cmplz_my_filter_site_needs_cookiewarning( $cookiewarning_required) {
    	$url = is_ssl() ? "https" : "http";
    	$url .= "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
    
    	//don't show cookie banner on page where the URL contains the parameter "shop"
    	if ( strpos( $url, 'pos' ) !== false ) {
    		$cookiewarning_required = false;
    
    		define('CMPLZ_DO_NOT_BLOCK', true);
    	}
    
    	return $cookiewarning_required;
    }
    
    add_filter( 'cmplz_site_needs_cookiewarning', 'cmplz_my_filter_site_needs_cookiewarning' );

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Compliaz X YITH POS’ is closed to new replies.