• Resolved ShakeyRed

    (@dtco6971)


    Hi there,

    This is a great little plugin. Thanks for sharing it.
    Is there a way to split the list up so that, essentially, I can show 26 lists, one for each letter of the alphabet?

    e.g.
    <h3A</h3>
    a
    aa
    aaa
    <h3>B</h3>
    b
    bb
    bbb
    <h3>C</h3>
    c
    cc
    ccc
    ……..

    Thank you

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author 99w

    (@ninetyninew)

    Hi,

    Currently no, however we’re investigating this now to see if feasible to include as an option. We’ll be back in touch shortly with our findings.

    Thank you,

    • This reply was modified 4 months, 2 weeks ago by 99w.
    Thread Starter ShakeyRed

    (@dtco6971)

    Good morning,

    Thank you for the speedy reply. I look forward to your findings.

    Cheers

    Plugin Author 99w

    (@ninetyninew)

    Yes, this is do-able but requires quite a significant refactor of the code, and would require the use of a new shortcode attribute to be passed.

    We’re working on this now and it will be released in v2.0.0, we are hoping to have that released in the next 24 hours, so keep an eye out for the update notification in your dashboard, and once updated refer to this page: https://www.ads-software.com/plugins/wcpas-product-attributes-shortcode/ for the updated info on the shortcode attribute to use to achieve this.

    Note that this will do the output, however you may wish to use custom CSS to style it up nicely.

    Once you’ve updated, and using the new feature, let us know here.

    Plugin Author 99w

    (@ninetyninew)

    Hi,

    v2.0.0 is now available, if you update to it, you can then update your shortcode to include the categorize="first_character" option like this:

    [wcpas_product_attributes attribute="your-attribute-name-here" categorize="first_character"]

    For example, if using the code above with a brand attribute, the output will be this:

    The categories, A, C, etc have markup wrapped around them with CSS classes/ids so you can target them and style up the list as needed.

    Let us know how you get on with this.

    Thank you,

    • This reply was modified 4 months, 1 week ago by 99w.
    Plugin Author 99w

    (@ninetyninew)

    Hi, We haven’t heard back from you in a while, so we’ll mark this topic as resolved. If you need any further assistance in future please create a new topic. Thank you,

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.