• Resolved skylinks

    (@skylinks)


    Hi,

    Is it possible to have different attribute limit for Desktop & Mobile devices? Basically what I want to achieve is that I want to display 4 attributes on shop page if visiting on mobile devices but for desktop I want to set attribute limit to 7.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Aamir

    (@aamiribsf)

    Hello @skylinks,

    Greetings for the day!

    At the moment, we don’t have the option to set different attribute limits for mobile and desktop views on the shop page. The attribute limit settings in the shop page styling apply to both desktop and mobile.

    I appreciate your understanding in this matter. Please feel free to reach out if you have any further questions or concerns.

    Looking forward to hearing from you. Thank you!

    Thread Starter skylinks

    (@skylinks)

    Hi,

    Thanks for your response. Yes, I completely understand that & hopefully in the future we’ll have the option to define the attribute limit for multiple breakpoints for better responsive design.

    For now, I have made a temp worked around using CSS by only showing the first 4 attributes on mobile devices.

    Here is CSS just in case if help someone.

    @media only screen and (max-width: 667px){
    .cfvsw-swatches-option.cfvsw-image-option:not(:nth-child(-n+4)){
    display: none
    }
    }

    Plugin Support Aamir

    (@aamiribsf)

    Hello @skylinks,

    Thanks for writing back.

    I’m pleased to hear that you were able to find a viable solution. I will certainly pass on your valuable suggestion to the relevant team for their careful consideration.

    Wishing you a wonderful day ahead!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Swatches Attribute Limit’ is closed to new replies.