Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #23344

    Hello I’d like to have my product categories to be shown as images on my home page.

    Please Help

    #119458

    You can try to use the “product_categories” shortcode. A list of all shortcodes can be found here: http://docs.woothemes.com/document/woocommerce-shortcodes/

    Eg:

    [product_categories number="12,14,16" parent="0"]

    Will display the categories with the ids 12,14 and 16

    #119459

    I’m still not able to show my Product Categories as thumbnails on my home page, is there anything else I could do to solve this issue?

    #119460

    Hi,

    You can do it manually. On the Template Builder, edit the Frontpage dynamic template. Insert columns, 4 columns. On the Column Content, select Direct text input then insert this code

    <a href="http://localhost/kriesi/replete/?product_cat=men"><img src="YOUR PRODUCT CATEGORY IMAGE URL"></a>

    Do this for every Columns. You can get the product category url on Products > Categories, hover on a category, click View.

    Regards,

    Ismael

    #119461

    Hey I tried doing it, that almost worked for me. The thing is, when I input my product category image url no image or nothing shows up.

    #119462

    It seems like the url is not valid – eg:

    <img src="product-category/hookahs-3/" style="left: 0px;">

    is not a valid source. Use an absolute url path instead like:

    <img src="http://hookahcoals.com/my-image.jpg" style="left: 0px;">

    and instead of http://hookahcoals.com/my-image.jpg insert the url to an existing image.

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Product Category/ Images’ is closed to new replies.