Home Forums Themes Support Bibo Product Variation Attribute can't save

This topic contains 0 replies, has 1 voice, and was last updated by  admin 4 months ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #618

    Hi all customer,
    After WooCommerce update to version 3.0.5, It changed some function and cause our Product variable attribute doesn’t work (can’t save in product variable attribute). We will update in next version. However now you can fix it manual by following steps:
    – Step 1: Go to path {yourwebroot}/wp-content/themes/bibo/framework/includes/ then open file woocommerce-hooks.php
    – Step 2: go to line 110 then change code from:
    echo '<option value="' . esc_attr( $term->slug) . '" ' . selected( has_term( absint( $term->slug), $taxonomy, $thepostid ), TRUE, FALSE ) . '>' . $term->name . '</option>';
    to
    echo '<option value="' . esc_attr( $term->term_id ) . '" ' . selected( has_term( absint( $term->term_id ), $taxonomy, $thepostid ), TRUE, FALSE ) . '>' . $term->name . '</option>';
    Hope this help and sorry for this issue!

    *****
    Best Regards,
    MiloTheme

    • This topic was modified 4 months ago by  admin.
    • This topic was modified 4 months ago by  admin.
Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.