I'm using marketpress and multisite. How can I show

Hi, I'm using marketpress and multisite. How can I show the seller's information: store name and latest published items on the single item page.

Thanks

  • Jack Kitterhing

    Hi there @Esteban

    I hope you are well today and sorry for the extreme delay with my reply.

    With the name, you might want to use something like this

    $content .= '<h3 class="mp_product_name"><a href="' . $permalink . '">' . esc_attr($product->post_title) . '</a> from ' . get_bloginfo( 'name' ) . '</h3>';

    But with the image not showing, you could a shortcode from within MarketPress, Placing the products within the page, and disabling the image.

    [mp_product] - Displays a single product according to preference.
    
    Optional Attributes:
    
        "product_id" - The ID of the product to display. This is the Post ID, you can find it in the url of a product edit page.
        "title" - Whether to display the product title.
        "content" - Whether and what type of content to display. Options are false/0, "full", or "excerpt". Default "full"
        "image" - Whether and what context of image size to display. Options are false/0, "single", or "list". Default "single"
        "meta" - Whether to display the product meta (price, buy button).
        Example: [mp_product product_id="1" title="1" content="excerpt" image="single" meta="1"]

    Thank you and sorry again about the delay.

    Kind Regards
    Jack.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.