• Hi,

    Is it possible to add some class in input / label markup for out of stock variations?

    Same question for selected variation?

    The goal is to customize appearance in CSS file depending the variation status (in stock, out of stock, selected, …)

    Thanks.

    • This topic was modified 7 years, 7 months ago by Marc.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author mantish

    (@mantish)

    Hi,
    I’m not sure if I understand correctly, but you may use the :disabled and :selected pseudo classes to style your radio buttons.

    Thread Starter Marc

    (@liomar)

    Hi,

    Thanks for your reply.

    The :selected selector doesn’t exist, but I succeed with the :checked selector. First point solved!

    Unfortunatly, I can’t customize my radio buttons with the :disabled selector : nothing appends despite my CSS code.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Print specific class when selected / out of stock’ is closed to new replies.