Xstore theme affect the number of columns set in "product_categories" shortcode

This topic has 4 replies, 2 voices, and was last updated 3 years, 11 months ago ago by Rose Tyler

  • Avatar: mouas40
    mouas40
    Participant
    May 16, 2020 at 11:12

    Hello,

    I need to use the standard “product_categories” woocommerce shortcode to display in some places the subcategories of a specific category, on the top of every category page, using static blocks.

    Let’s say for example that I need to display the subcategories of the category 100, by 6 columns using the shortcode and its parameters:

    [product_categories columns="6" parent="100"]

    Depending on the parent category and its children subcategories I need to display a different number of columns (some times 4, 5, 6, etc…).

    The problem is that the number of columns set in this standard woocommerce shortcode is affected by the number of columns set in the xstore theme.

    That is, if I set inside the theme the number of columns displayed in 3, then even if I set the shortcode’s number of columns in 6 (see previous example), it displays the subcategories by 3 and not by 6.

    The same issue if I use some other plugins/widgets to set a different number of columns for “Product Categories” such as the widget included in Elementor Pro (last version 2.9.4).

    Could you please indicate to me how to overcome this issue and make the Xstore theme to not affect the number of columns set inside the shortcodes?

    It’s very important to me

    Thank you very much in advance

    Best Regards

    3 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    May 16, 2020 at 15:15

    Hello,

    Columns work fine on our test site – http://prntscr.com/shxphe http://prntscr.com/shxps0
    Contact us once your site will be live and provide temporary wp-admin access, so we can take a closer look.

    Regards

    Avatar: mouas40
    mouas40
    Participant
    May 16, 2020 at 17:42

    Hello

    I have uploaded a demo clone just to see to problem.
    I have set the categories of your default theme as subcategories of the category “All” in order to display the problem.

    Please check the http://35.214.144.255/~actiond7/foo/store/product-category/all

    The number of columns through the dashboard theme is set to 3 and the number of columns in the product_categories shortcodes is set to 6 ([product_categories columns=6" parent="27"])

    The columns of the “woocommerce product_categories shortcode” are affected by the xstore theme’s number of columns and it displays only 3 instead of 6 columns.

    Could you please help?
    Thank you very much in advance

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    May 17, 2020 at 05:52

    Hello,

    Go to Theme Options > WooCommerce (Shop) > Shop page layout > Products Per Row On Category Page > Inherit from Shop page – http://prntscr.com/si8ufr

    Regards

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.