• Resolved fwkart

    (@fwkart)


    Hey,

    I need the text output on the product page as HTML output. I want to insert a URL to an info page.

    For me I have customized it in the code. But after an update I always have to re-install this.

    function no_soup_for_you() {
    		$msg = get_option('wpcbr_default_message', $this->default_message());
    		if(empty($msg)) { 
    			$msg = $this->default_message();
    		}
    		return "<p class='restricted_country'><strong>Hey and sorry! Delivery to your country not possible. Here is a solution: <a href='https://www.xyz.de/delivery-to-your-country-not-possible/' style='color:#fff;text-decoration:underline;'>More information here</a></strong></p>";
    	}

    Thanks ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Zorem

    (@zorem)

    Hi, sorry, custom development is not in the scoop of our support ?? You can hire a developer to help you with custom code.

    Thread Starter fwkart

    (@fwkart)

    Hello.

    No, it was an idea to make your plugin a little better ?? Because it would be useful if the input field for the product restriction message also supports html code.

    I have already solved it for myself. But when you release an update, I have to update my change.

    greetings

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Pls, make text output HTML capable’ is closed to new replies.