• Resolved Sparkelz

    (@sparkelz)


    Hi there,

    I am loving this plugin in testing it out.

    One thing I notice is that the ‘From:’ which shows before the price on my products get over written by the plugin/currency converted output price.

    This flashes on screen for a second (I want this ‘From:’ to show)
    https://prnt.sc/kar55Z2KTbug

    But it becomes this:
    https://prnt.sc/Os8tPgTpXsWu

    Any idea on how to restore the ‘From:’ to show in front of the price?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support villasupport

    (@villasupport)

    Hi,

    You can add custom symbols like this: https://prnt.sc/FR14ri35KitS

    Best regards.

    Thread Starter Sparkelz

    (@sparkelz)

    Hello there,

    I had already thought of that, but it is not a valid solution for this case.

    We have product options that the use selects.

    Once options are selected “Final Total: $1,000″ appears.

    With the suggestion you provided it shows like this:

    Final Total: From: $1,000″

    This is incorrect, final total is logically the final total.

    “FROM” should only show on the catalog price and initial product price on the product page.

    It should not show on Final Total area.

    Is there another way to accomplish this?

    Thank you so much for the expert help!!

    Plugin Support villasupport

    (@villasupport)

    Hi,

    Thank you for your response.

    Please add the below code snippet to achieve what you want, you can follow this guide:

    add_filter( 'wc_price', 'wmc_guest_custom_price', 99, 3 );
    function wmc_guest_custom_price( $return, $price, $args ) {
       if ( is_shop() || is_category() ) {
          return '<div class="wmc-before-format-guest-price">From: </div>' . $return;
       }
       return $return;
    }

    Best regards.

    Thread Starter Sparkelz

    (@sparkelz)

    I’ve added this to the child theme’s functions.php

    It has done nothing at all.

    Any other suggestions?

    • This reply was modified 1 year, 2 months ago by Sparkelz.
    Thread Starter Sparkelz

    (@sparkelz)

    Nevermind, I’m gonna try something else ??

    Thank you so much for your time though, I really appreciate the effort.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘From: text before price needed…’ is closed to new replies.