New Landing How can we help? Atelier SPB Shop Products Columns setting not working

Viewing 15 posts - 1 through 15 (of 15 total)
  • Posted in: Atelier
  • #225621
    TimbreDesign
    Member
    Post count: 20

    Hi there, I am using the SPB Shop Products element in the page: https://www.warriorsdivine.com/lookbooks

    I have set the columns number to 2 but it continues to show as four with col-sm-3 not col-sm-6 as it should.

    It seems to me that the columns number might be being overridden by the Theme Options > Shop Options : Product Display Columns.

    Is this a bug you’re aware of?

    Attachments:
    You must be logged in to view attached files.
    #225648
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    That page is blank?

    – Kyle

    #226028
    TimbreDesign
    Member
    Post count: 20

    Yes, I guess my client messed with the categories yesterday, it is now visible please check again: https://www.warriorsdivine.com/lookbooks

    I seem to have sent you the wrong attachment, I have attached the correct one of the element settings.

    Attachments:
    You must be logged in to view attached files.
    #226056
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    You’re showing categories instead of products, I think the setting is only for products

    – Kyle

    #226058
    TimbreDesign
    Member
    Post count: 20

    Correct, I’m using it for categories, well, it doesn’t state that in the setting, seems like an oversight to not mention that in the setting. Is there a way to override it defaulting to the Shop Options?

    I’m looking at content-product_cat.php is that the correct file?

    There is a loop:

    // Store column count for displaying the grid
    if ( empty( $woocommerce_loop[‘columns’] ) ) {
    $product_display_columns = $sf_options[‘product_display_columns’];

    // COLUMNS GET VARIABLE
    if (isset($_GET[‘product_columns’])) {
    $product_display_columns = $_GET[‘product_columns’];
    }

    $woocommerce_loop[‘columns’] = apply_filters( ‘loop_shop_columns’, $product_display_columns );
    }

    #226062
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    I’ll see if we can add the column option for categories in the next update

    – Kyle

    #226069
    TimbreDesign
    Member
    Post count: 20

    That would be good, in the meantime might you be able swing me a stint to get me by, I’m in the middle of a client build and they need this feature.

    #226072
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Sure, add this to your custom css:

    .list-categories .product-category.col-sm-3 {
      width: 50%;
    }

    – Kyle

    #226097
    TimbreDesign
    Member
    Post count: 20

    Yeah, been there done that, just flipping col-sm-3 to 50% doesn’t do it as it loads the same sized thumbnail..

    I was hoping for a PHP mod.

    #226100
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    I’m afraid that’s more work than a small customisation, I’ll put it forward to the developer to add in the next update, but it’s not something I can provide right now

    – Kyle

    #226103
    TimbreDesign
    Member
    Post count: 20

    Ok, understood, is there a chance the dev can lead me in the right direction as far as what file(s) and loops to work with?

    #226158
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    What do you have set as your image sizes in woocommerce?

    – Kyle

    #226159
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Because that’s the image size it will use

    – Kyle

    #226193
    TimbreDesign
    Member
    Post count: 20

    I recognize that the Woo thumbnail settings are used, which is fine for the shop pages. However this page is to be different than the standard shop pages. I was hoping that changing the column count would allow for use of the original image. Seems I may have to build the page custom for now.

    Can I make a suggestion that when the update is made to allow categories that a setting is also made to be able to switch between thumbnail sizes and original image size?

    #226200
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    I’ll put it forward, however it’s woocommerce that controls the size of images for categories and products. And I’m not sure how much work would be involved to change this

    – Kyle

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register