• [EDIT* The developer replied to my problem with some useful CSS code which resolved the issue highlighted below – excellent customer service.]

    When loading web pages from different regions to test the plugin there is an obvious short delay before the geo-located price is displayed. Unfortunately behind the delayed price a random grey box appears which doesn’t make the web page look very professional.

    • This topic was modified 4 months, 2 weeks ago by thecowboy.
    • This topic was modified 4 months, 2 weeks ago by thecowboy.
    • This topic was modified 4 months, 2 weeks ago by thecowboy.
Viewing 1 replies (of 1 total)
  • Plugin Author Oscar Gare

    (@oscargare)

    Hi there @thecowboy,
    In the last release, we replaced the loading dots animation with a placeholder animation (like WooCommerce blocks).

    If you can go back to the dots animation using the following code snippet:

    add_filter(
    'wc_price_based_country_ajax_geolocation_placeholder_class',
    function( $class ) 
     return '-dots';
    }
    );

    Or hide the price until the geo-located price is displayed by adding the following CSS to Appearance > Customize > Additional CSS:

    .wcpbc-price.loading { display: none !important;}

    Please open a support thread before leaving a review if you need support. Thanks!

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this review.