Okay
  Public Ticket #3426666
get_store_content_by_url returns "There is no store here..."
Closed

Comments

  •  2
    Marceline started the conversation

    Hello good people in the MarketKing land!

    I got an unexpected returns from the above function. User ID 6 is a vendor. When i execute 

    echo marketking()->get_store_link(6);

     i get store link, eg, "https://hellostore/store/toystore". But when i execute

    echo marketking()->get_store_content_by_url(marketking()->get_store_link(6));

    i get "There is no store here..."

    I wonder what went wrong. :

  •  2,281
    WebWizards replied

    Hello Marceline,


    The function marketking()->get_store_content_by_url uses only the vendor's unique URL, so you should use:

    marketking()->get_store_content_by_url('toystore');


    (without the https://hellostore/store/ part).


    Kind regards,

    Stefan

  •  2
    Marceline replied

    thankyou sir. very helpful

    marcie.