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

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 6 years, 11 months ago by admin.
    • This topic was modified 6 years, 11 months ago by admin.
Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.