• Resolved shenalorlof

    (@shenalorlof)


    This code doesn’t work for me

    add_filter( 'woosq_button_html', 'woosq_custom_quick_view_btn', 99, 2 );
    function woosq_custom_quick_view_btn( $output, $product_id ) {
    	$button_text = get_option( 'woosq_button_text' );
    
    	if ( empty( $button_text ) ) {
    		$button_text = esc_html__( 'Quick view', 'woosq' );
    	}
    
    	$output = '<a href="' . get_permalink( $product_id ) . '" class="woosq-btn woosq-btn-' . esc_attr( $product_id ) . ' ' . get_option( 'woosq_button_class' ) . '" data-id="' . esc_attr( $product_id ) . '" data-effect="' . esc_attr( get_option( 'woosq_effect', 'mfp-3d-unfold' ) ) . '"><i class="far fa-eye"></i><span>' . esc_html( $button_text ) . '</span></a>';
    
    	return $output;
    }

    I’m using WP page builder framework theme. Site which has the issue https://ibb.co/mNjzyx2

Viewing 15 replies - 1 through 15 (of 23 total)
  • Plugin Author WPClever

    (@wpclever)

    Hi @shenalorlof

    Sorry for the late reply!

    It worked, right? https://www.screencast.com/t/MaSciECDM

    Let me know if you still need help on this issue.

    Hi i am Using wOO SMART QUICK VIEW BUTTON.
    But I want to Show a Button Text Except of Eye Icon But it Show only Eye Icon.
    Is there any Code to Change the icon with Text For Example I want it Shows me Add to Cart
    except Quick View or Eye Icon
    Many thanks

    Thread Starter shenalorlof

    (@shenalorlof)

    Go to plugin settings and there you will see a text field. Enter any name u want to show there.

    Thread Starter shenalorlof

    (@shenalorlof)

    @wpclever yes dear supporter it worked. I had to change the font family to font awesome. That’s it

    Yes, I try that Field By Changing Text But it Affects only When we Hover on to the Eye Icon, Here I want to Replace the Eye Icon with Button Quick View. When we Hover Over the Product.

    Or is there any Code Available for Replacing Add to Cart button with the Quick View Link Popup Button? For my Product Catalogue in Home page Such as Featured Products or Best Selling Product.?

    I am Waiting For Your Replay
    Many Thanks

    Thread Starter shenalorlof

    (@shenalorlof)

    Do you want to display icon and text both or only text? You can change the above code <i class="far fa-eye"></i><span> this is where u have to change. Enter your tex into this place

    Currently when i Hover over a Product A Quick View Icon Show, I don’t want that icon Instead of this I want to Show a Button with Quick View Text. This is What I want
    And Second is there any Filter Or hook Available for Changing the default Add to CART button with Quick View Button

    <i class=”far fa-eye”></i><span> How i remove this Code
    Can you tell me the Path of smart Quick view Plugin Directory.
    Where this Above Code is MentionSo that I Remove this and Replace with the Button

    If there is any Solution of this Problem Then Share me

    My Email: [email protected]

    Thread Starter shenalorlof

    (@shenalorlof)

    Don’t worry this is not a major issue. Would u mind showing your issue with a screenshot. What need to be removed and when need to replaced

    Here is the Link of Screenshot Thati Capture
    Click Me
    OR this is my Site URL
    https://www.markskitchen.com.pk/

    Kindly Reply me In this Regard.

    Thread Starter shenalorlof

    (@shenalorlof)

    I’ll send you an email with a solution in few hours cz no one help u with this.

    Thread Starter shenalorlof

    (@shenalorlof)

    remove the above code from your functions.php and add your text here only https://ibb.co/dJ0wRfS

    • This reply was modified 3 years, 6 months ago by shenalorlof.
Viewing 15 replies - 1 through 15 (of 23 total)
  • The topic ‘Replace quick view text to a magnify icon’ is closed to new replies.