Remove “ : ”in variable product price display

This topic has 9 replies, 2 voices, and was last updated 3 years, 2 months ago ago by Mario :)

  • Avatar: yeb3ch
    Mario :)
    Participant
    August 28, 2021 at 02:40

    Hi

    I opened a previous topic on “Change display of “Price From:” when making a variable product” (https://www.8theme.com/topic/change-display-of-price-from-when-making-a-variable-product/#post-299799)

    Now I’d like to know how I could remove ” : ” in ” Price From :

    Thanks in advance.

    8 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 28, 2021 at 09:42

    Hello,

    What is the language of your site? You can change the text using translation (Loco Translate plugin). Go to Loco translate > Themes > XStore > your language > find string and add translation > Save > clear cache and check.

    Regards

    Avatar: yeb3ch
    Mario :)
    Participant
    August 28, 2021 at 10:11

    Hi

    Thanks for replying.
    What you wrote is exactly what I’ve done but seems that “ : “ is not included as sting. The only string is “Price From”.

    Another solution?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 28, 2021 at 14:35

    Hello,

    Edit next files via FTP: xstore/framework/woo.php, xstore/woocommerce/product-quick-view-canvas.php, xstore/woocommerce/product-quick-view.php
    change
    return sprintf( '%s: %s', esc_html__( 'From', 'xstore' ), wc_price( $from ) );
    to
    return sprintf( '%s %s', esc_html__( 'From', 'xstore' ), wc_price( $from ) );
    It will be changed in the next theme update also.

    Regards

    Avatar: yeb3ch
    Mario :)
    Participant
    September 3, 2021 at 06:22

    Hi
    I’ve done as you said but it’s not working.
    Of course cleared cache.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 3, 2021 at 09:41

    Hi,

    Provide URL, temporary wp-admin, and FTP access.

    Regards

    Avatar: yeb3ch
    Mario :)
    Participant
    September 3, 2021 at 10:01

    Hi

    Attached credentials.

    Thanks.

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 3, 2021 at 10:51

    Hello,

    Check now http://prntscr.com/1r40uv5 http://prntscr.com/1r40vgz Changes were done in next files – xstore/framework/woo.php, xstore/woocommerce/product-quick-view-canvas.php, xstore/woocommerce/product-quick-view.php

    Regards

    Avatar: yeb3ch
    Mario :)
    Participant
    September 3, 2021 at 11:21

    Hi
    Thanks a lot for your help !

  • Viewing 9 results - 1 through 9 (of 9 total)

The issue related to '‘Remove “ : ”in variable product price display’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.