Okay
  Public Ticket #3552607
Follow button position
Closed

Comments

  •  2
    Lucy Miller started the conversation

    Hi,

    On a sellers store page is in possible to move the follow store button so that it appears on the line underneath the products, vendor, contact, etc.


    See attached image.

    If this is possible would you be able to provide me with the required code for this.

    Attached files:  Market king Stores Page.jpg

  •  2,214
    WebWizards replied

    Hi Lucy,

    There are 2 main ways you can achieve this:


    (A) You can design the Store page using Elementor, by adding and moving around the MarketKing Elementor widgets.

    More info at: https://woocommerce-multivendor.com/docs/elementor/


    (B) You can modify the PHP template file and make any kind of change that you'd like.

    Basically the way this works is that MarketKing uses .php template files which you can customize per your needs, under your child theme. This is similar to how WooCommerce works if you're familiar with that.

    You can find more information about this here: 

     https://woocommerce-multivendor.com/docs/how-to-edit-marketking-pages-templates/

    The template of the page you described is the store-page.php template. 



    I have modified that template so the button shows under that menu line:

    3212727164.png



    To set it up, follow these steps:

    1. Download the template file I created from here:

    https://drive.google.com/file/d/1wr8EY3o4P_3C875R68KK_zmjZ9wwPcev/view?usp=sharing

    2. Go to your child theme and create a "marketking" folder.  For example if you have a storefront child theme, you would go to wp-content/themes/storefront-child/ and create a "marketking" folder there.

    3. Copy the template file you downloaded and paste it inside this marketking folder.


    Kind regards,

    Stefan

  •  2
    Lucy Miller replied

    Hi Stefan,

    Thanks for responding so quickly.   I have used the first way as this i.e using elementor as I wanted to make other changes to the layout of the page as well.

    Thanks again for your help.

    Lucy