• Resolved pramukpor

    (@pramukpor)


    Hello,

    Before your plugin was updated to 1.3.0, I was able to call this function wvg_get_product_default_attributes() from my child theme e.g. child-theme/woocommerce/single-product/product-image.php template. But after 1.3.0 I am getting PHP Fatal error: Uncaught Error: Call to undefined function wvg_get_product_default_attributes()

    What is the correct way to use this function after 1.3.0?

Viewing 1 replies (of 1 total)
  • Plugin Support fizanzvai

    (@fizanzvai)

    @pramukpor

    Please call it now like this:

    woo_variation_gallery()->get_frontend()->get_product_default_attributes( $product_id )

    Note: Don’t forget to pass the product id argument at the time of calling the above function.

    Hope to hear from you soon!

Viewing 1 replies (of 1 total)

The topic ‘function wvg_get_product_default_attributes() undefined’ is closed to new replies.