• Resolved bernardoliveira

    (@bernardoliveira)


    Hello TranslatePress team,

    I’m picking up a previous development and I notice one problem with TranslatePress.

    https://www.chaga.shop/en/products/

    If you go to the second row of products, there is the price and then the percentage “€ xxx inc. VAT — or subscribe and save up to 25%”. However, if you go to any other language than English the percentage is always missing.

    The plugin is the “WooCommerce All Products For Subscriptions”.

    Thank you very much for the wonderful plugin and the support.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    You might have a bug or conflict with your current theme / plugins.

    Can you please visit TranslatePress -> Settings -> Advanced

    Then, enable these features 1 by 1 in this order and try to see if it makes a difference. Disable them back if it makes no difference. Also please disable or clear the cache if you have any.

    1. Fix spaces between HTML attributes
    2. Fix broken HTML
    3. Fix missing dynamic content
    4. Try manually searching for incorrect formatting around the area where it breaks.
    You need to Right click->View source in the browser (inspect elements browser feature automatically corrects so it’s not useful)
    Could be useful to compare translated page source with original language html source with a tool such as https://www.text-compare.com .
    Search in theme (most likely) or plugins a keyword around where the broken HTML code is outputted, and fix it.

    Let us know also how this went.

    Cheers,

    Thread Starter bernardoliveira

    (@bernardoliveira)

    Hello @sdenis ??

    Thank you for the follow-up.

    I did all the steps one by one and cleared the cache in each one but the problem always remained.

    <p class="price">
            <span class="woocommerce-Price-amount amount">
              <bdi>
                <span class="woocommerce-Price-currencySymbol">€</span>
                &nbsp;145.00
              </bdi>
            </span>
            inc. VAT<small class="wcsatt-sub-options">
              <span class="wcsatt-dash">—</span> or subscribe and save up to</small
            >
            <span class="wcsatt-sub-discount">25%</span><small></small>
    </p>

    The percentage in the last line of the snippet is missing on any translated version.

    Thank you very much.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Percentage always missing’ is closed to new replies.