A deal you can't resist! Get upto 35% Off on this entire cyber week.

00Day 03Hr 23Min 57Sec

Display vendor website

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Viewing 1 reply thread
  • Author
    • #134477


      I would like to display when it exists, the vendor URL website on the vendor page and on the product page in “sold by” section.
      I have a code snippets to display on the vendor page but it doesn’t work very well :
      1. First, the icon “wcfmfa fa-globe” is displayed even if the vendor doesn’t have a website.
      2. The URL od the website vendor is not displayed well (screenshot attached)

      Have you any idea to improve this code and to add the possibility to display the URL also on the product page ?

      I precise that the URL website is collected via subscription form and its name in database is “site-internet”.

      add_action( 'wcfmmp_store_after_email', function( $store_id ) {
      	$site_url = get_user_meta( $store_id, 'site-internet', true );
      	<div class="store_info_parallal" style="display:inline;"><i class="wcfmfa fa-globe" aria-hidden="true"></i><span><a target="_blank" href="<?php echo $site_url; ?>"><?php echo $site_url; ?></a></span></div>

      Thanks for your help.
      Have a good day

      You must be logged in to view attached files.
    • #136647


      Nobody has an idea to do this? It’s important for me, I am not so far with this snippet code.

      Thanks for your help.
      Have a good day,

Viewing 1 reply thread
  • You must be logged in to reply to this topic.