• Everything goes good with plugin only issue with when I create variable product Buy Now button showing two times please help me out. I’m using latest Version 1.2.4

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @ashishseo18,

    I’ve checked in our theme site, the plugin still work fine.

    There might be a conflict between your theme or your plugin and our plugin. Pls kindly deactivate one by one plugin or change the theme to figure it out

    Regards,

    Thread Starter Abrogrammer

    (@ashishseo18)

    Hi @miemie I’m sorry, I missed to wrote major information above post.

    So I’m using buy now plugin as well as Buy now function for homepage. So it’s two buy now button. Now I don’t know how to figure out for variable product.
    Hi I need buy now on homepage that’s why I’m using below code.
    Code to copy:
    add_action('wcps_layout_element_add_to_cart','wcps_layout_element_post_title_20200331', 90);
    function wcps_layout_element_post_title_20200331($args){
    $product_id = isset($args['product_id']) ? $args['product_id'] : '';
    $elementData = isset($args['elementData']) ? $args['elementData'] : array();
    $element_index = isset($args['element_index']) ? $args['element_index'] : '';
    echo do_shortcode("[wpcbn_btn_archive id='$product_id']");
    }

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘In variable product Buy Now Button showing two times’ is closed to new replies.