Support Forum ยป User Profile

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Coupon code HALLOWEEN #7217
    uxluxl
    Participant

    Hi Anh

    I don't see the coupon code input like the image you attached.

    Anyway it's no big deal. I've purchased Core Bundle at full price which I'm more than happy to do as Meta Box is a great product.

    in reply to: Support for custom taxonomies? #7189
    uxluxl
    Participant

    Hi Anh Tran,

    Thanks for your help. I think I was over complicating things.

    Realised we don't need to get the terms, only the taxonomies so this is our working example and now the user has access to custom meta boxes when they add/edit colors, sizes or whatever product attribute(s) they use.

    $taxonomy_names = array( 'category', 'post_tag', 'product_cat', 'product_tag' );
    if ( class_exists( 'WooCommerce' ) ) {
        $taxonomy_names_wc = wc_get_attribute_taxonomy_names();
        if ( $taxonomy_names_wc ) {
            $taxonomy_names = array_merge( $taxonomy_names, $taxonomy_names_wc );
        }
    }
    
    $meta_boxes[] = array(
        'taxonomies' => $taxonomy_names,
Viewing 2 posts - 1 through 2 (of 2 total)