Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter rosssisinski

    (@rosssisinski)

    Thanks for your help.

    Thread Starter rosssisinski

    (@rosssisinski)

    Apparently the product collection block doesn’t like AJAX? I am not 100% on what this means, but i guess I am back to square one on the shop page and/or need to get a different plugin, tho the husky doesn’t look great immediately (might have to reformat etc). Its annoying – i really wanted to use as little plugins as possible.

    • This reply was modified 12 hours, 1 minute ago by rosssisinski.
    Thread Starter rosssisinski

    (@rosssisinski)

    Hi

    Fixing the slug didn’t solve the non-plugin Product Filters block issue. In columns or not.

    Searching online often recommends I put in a ‘query loop’ to surround (?) the columns, filter and/or product collection block. (I am not sure) but it has never worked for me.

    I don’t know if it helps, but here’s some source code from 1 of the product categories in the filter

    <div class="wc-block-product-filter-checkbox-list__item" data-wp-each-child data-wp-context='{"item":{"id":"taxonomy\/product_cat-books","label":"Books","ariaLabel":"Books","value":"books","selected":false,"type":"taxonomy\/product_cat","termId":23}}' data-wp-bind--hidden="context.item.hidden" > 

    <label class="wc-block-product-filter-checkbox-list__label" for="taxonomy/product_cat-books" > 

    <span class="wc-block-product-filter-checkbox-list__input-wrapper"> 

    <input id="taxonomy/product_cat-books" class="wc-block-product-filter-checkbox-list__input" type="checkbox" aria-label="Books" value="books" data-wp-bind--checked="context.item.selected" data-wp-bind--disabled="context.item.disabled" data-wp-on--change="actions.toggle" > 

    <svg class="wc-block-product-filter-checkbox-list__mark" viewBox="0 0 10 8" fill="none" xmlns="http://www.w3.org/2000/svg">

    <path d="M9.25 1.19922L3.75 6.69922L1 3.94922" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>

    </svg>

    </span>

    <span class="wc-block-product-filter-checkbox-list__text-wrapper"> 

    <span class="wc-block-product-filter-checkbox-list__text"> Books 

    </span> 

    </span> 

    </label> 

    </div>

    I guess if i can’t make the products filter work with the product catalog template – is it relatively easy to create my own ‘product collection’ type block to put in the product catalog, instead of the ‘product collection’?

    • This reply was modified 12 hours, 39 minutes ago by rosssisinski.
    Thread Starter rosssisinski

    (@rosssisinski)

    I tested my content out the Husky filter plug-in to see if it helped, and using it revealed that one of my category slugs (mediums-and-solvents) was not working and gave me blank page results until i removed the ‘and’ (mediums-solvents) and now that category works with Husky filter- so i will test with the original filter to see if that solved my issue… hopefully…

    Thread Starter rosssisinski

    (@rosssisinski)

    Hi thank you Aliraja

    I originally didn’t have the ‘products by category’ template, but in trying to troubleshoot by myself, i made that active, but its a template not a block, so i couldn’t insert it into the ‘Product Catalog’ template. The product collection block inside the ‘products by category’ template looked normal. I couldn’t work out how to make that ‘template’ my store / homepage (as wordpress/woo automatically assigns the blank shop page to ‘product catalog’…

    In the product filters block, it is like a block with a number of elements, price slider, attributes (which i am not using), reviews (i don’t use), then product categories (which list the categories I am using and allow selection by crossing the little square box, then in-or-out of sock little boxes.

    I have tried twenty-twenty-five and twenty-twenty-four themes. Neither works. My aim was to not be dependent on spammy plug-ins or themes that ask for upgrades etc, but i guess i may be better off using a filter plug-in? i just want a simple as possible store, and feel that having a simple category filter is the best way to allow customers to look at the products they might want.

    Thanks for your advice and help it is much appreciated.

    Thread Starter rosssisinski

    (@rosssisinski)

    Oh thank you so much! The filter block is called ‘Product Filters’ (its icon is like an upside down triangle made of three horizontal lines).

    The filters work for price and in-out of stock – and i have no use for the reviews and attribute sub part of the block so delete those sub-parts.

    When clicking a product category to filter, the screen blanks but keeps the header and footer, and also shows the product catalog title, and even the ‘sort by’ drop down, but nothing else.

    I am not using any other plugins or whatever so believe its the product filter from either woocommerce or my theme (twenty twenty five)

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