• Resolved cybokron

    (@cybokron)


    Hello,

    I’m using a shortcode like this. I want something like below. Can I customize it? How can I do it?

    When the stock level drops to 10, change color to red

    My shortcode:

    [gravitywp_count formid=’4′ filter_field2=’166′ filter_value2=’MYPRODUCTNAME’ filter_field=’133′ filter_value=’1′]

    For example this shortcode result: 16

    For example, if this number drops to 10, I want its color to be red. The number is for all numbers 10 and below. So there will be a less than sign.

Viewing 1 replies (of 1 total)
  • Plugin Author GravityWP

    (@gravitywp)

    Hi, this is not possible out of the box. But I will take a note for the next version to make it possible to filter the result. This will give you the opportunity to change the result by adding some custom code to your themes functions.php.

Viewing 1 replies (of 1 total)
  • The topic ‘Changing the color when it comes to a certain range of numbers’ is closed to new replies.