Support » Plugin: WCFM - WCFM Marketplace integrate Elementor » wcfm_store_info short-code major bug

  • wcfm_store_info shortcode can get id=”XX” , to get other specific store url, by the user/vendor id.
    it working ok in most case, but on the single product template – it always get the url of the author of the product of the page, disregarding any id we pass it…

    [wcfm_store_info id=10 data=store_url]
    any id we will put on it – on product single page – will always get the same store name and url.

    please fix it asap…
    it is a major issue, as it’s the only way we have to get these pieces of data…

    • This topic was modified 1 year, 2 months ago by looknear.
    • This topic was modified 1 year, 2 months ago by looknear.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter looknear

    (@looknear)

    again…
    better just to write myself..

    function get_wcfm_store_link($store_id){
    global $WCFM;
    if( !$store_id ) {
    return “none”;
    }

    $store_user = wcfmmp_get_store( $store_id );
    $store_info = $store_user->get_shop_info();
    $store_link = $WCFM->wcfm_vendor_support->wcfm_get_vendor_store_by_vendor( $store_id );
    return $store_link;
    }

    Plugin Author WC Lovers

    (@wclovers)

    We will take care of this in coming update.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘wcfm_store_info short-code major bug’ is closed to new replies.