Display available chosen domain name in the WooCommerce Product page
-
Hello and thanks for the great plugin.
I am using it but my website is still in development (not yet finished).
In my case after let’s say the user will use the search for available names, the user will select then the domain if it is available (I am using button instead of link) and it will click the button “buy now for $10” and it will redirect to the WooCommerce product page.
I have created a shortcode funcion in my child theme to be displayed in the product page:add_shortcode(‘wp24_result_domain’, ‘DomainCheckShortcode’);
function DomainCheckShortcode() {
global $test_domain;
return $test_domain;
}Is it somehow possible to display here on the product page the domain name that the user has choosen using my shortcode?
- The topic ‘Display available chosen domain name in the WooCommerce Product page’ is closed to new replies.