WordPress.org

Forums

Magento WordPress Integration
Show Sub Categories (1 post)

  1. rlasater
    Member
    Posted 1 year ago #

    Is there any logic in the plugin where we can have a category ID display sub-categories instead of products?

    I'd think the following logic should already exist for the category product listing shortcode:
    [mwi_cat_listing cat="123" show="" view_product="false" out_of_stock="false" show_title="true" link_title="true" show_price="true" link_img="true" show_img="true" img_width ="300" show_desc="false" view_product ="false" vp_btn_link="false" vp_btn_link_color="blue" add_to_cart="true" atc_btn_link="false" atc_btn_link_color="blue" show_subcat="true" show_prod="true"]

    So there is an if statement in the code that says:
    - if show_subcat = true { display subcategories for this category }
    - if show_prod = true { display products for this category }

    https://wordpress.org/plugins/magento-wordpress-integration/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Magento WordPress Integration
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic