Posted on

Show images with Url from custom field

Time needed: 4 minutes.

Sometime you need to show an image from custom field. Also may you need to set an url to that image. In this tutorial, we are going to add custom field for image and url and show them in our table. We need ‘Advanced Custom Fields(Acf)’ plugin for this.

  1. Add custom field for image

    We add a custom field for image using Acf. Make sure that the field type is ‘Image’

  2. Add custom field for url

    Now we need to add a field for url. Here your custom field name has to be ‘image_url’ , and field type ‘Url’

  3. Take a look

    If you did everything right than you should have two custom field ‘Image’ and ‘Url’ in your product add page.

  4. Upload image and set Url

    Now upload image and set url

  5. Add a column in table

    Now we need to add a new column for showing that image

  6. Check column

    Column should checked by default, if not check it

  7. Result

    You can see the result in the table

Posted on

Show only variable products in Product Table?

Time needed: 5 minutes.

If you want to show only same type products in product table like simple, variable, external or group etc. you can follow below steps.

  1. Create a Product Table

    If you already created a table then you can skip this step or need help on how to create a product table using WOO Product Table for WooCommerce store the read this article.

  2. Setup Basic Query

    To set the basic query for showing specific type of products in product table go to Basic Tab. Here you can find lots of option to set query which are responsible to show products in product table.

  3. Finally publish your table

    When you are done click on publish or update to save the changes. Now copy and paste the table’s shortcode to where you want to show your awesome product table.