• Resolved Matt Gibbs

    (@mgibbs189)


    Hello,

    I’m the author of the FacetWP plugin. We’ve been getting reports of fatal errors involving our Color add-on (which includes VSfW integration).

    It looks like the following functions were removed in 2.0:

    wvs_get_product_attribute_image( $term )
    wvs_get_product_attribute_color( $term )

    Were these functions previously deprecated? Regardless, could you please tell me what their replacements are?

    Thanks,
    Matt

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • benjaminkaymill

    (@benjaminkaymill)

    Good to see you are on this Matt. We’re experiencing the same issue with our FacetWP / Color / VSfW installation!

    Thread Starter Matt Gibbs

    (@mgibbs189)

    [Update] the following functions:

    wvs_get_product_attribute_image( $term )
    wvs_get_product_attribute_color( $term )

    were replaced with:

    woo_variation_swatches()->get_frontend()->get_product_attribute_image( $term )
    woo_variation_swatches()->get_frontend()->get_product_attribute_color( $term )

    To the plugin author: in the future, please either (A) deprecate functions for a bit before removing them, or (B) make this more clear in your changelog. “plugin structure change and add more features” honestly isn’t super helpful. Thanks!

    To FacetWP customers: we’ve just released version 1.5.5 of the Color add-on to address this:

    https://facetwp.com/help-center/facets/facet-types/color/#add-on-changelog

    benjaminkaymill

    (@benjaminkaymill)

    Thanks for the swift action on your part Matt, much appreciated.

    Plugin Support fizanzvai

    (@fizanzvai)

    @mgibbs189

    Thanks, man for your reply.

    We are working on dedicated developer documentation. And I’ll take care of your advice.

    Thank you

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

The topic ‘Functions removed in 2.0?’ is closed to new replies.