Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author sparkweb

    (@sparkweb)

    Here’s the filter reference with some sample code: https://pastebin.com/qRzJxYbM

    If you just do this for the return function that should remove to the whole thing:

    function my_foxyshop_variation_price_change($input) {
    	return "";
    }
    Thread Starter wireframe74

    (@wireframe74)

    Great thanks for that code. I tried that out and it did remove the brackets. I was however interested in removing brackets + everything within the brackets as the -$400 lists an amount to be subtracted from whole amount as opposed to subscription price which is more suitable for my solution here:

    Thanks

    Plugin Author sparkweb

    (@sparkweb)

    If you just want to remove the whole thing – you want to just return nothing:

    return ""

    I think you may have copied the pastebin and not the function I gave you above. Is that right?

    Just returning “” will remove the extra price.

    Thread Starter wireframe74

    (@wireframe74)

    Perfect that all works. Thank you much appreciated.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove Variation Price Select Menu’ is closed to new replies.