• Resolved xyz888

    (@xyz888)


    Hi!

    I chose the size shart to show as modal popup but I don’t see it on the product page?

    Can you help, please?

    Thanks!

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Hitendra Chopda

    (@hitendra-chopda)

    Hello xyz888,

    Thanks for reaching out to us.

    Our size chart link is displaying based on the default product detail page template.

    Based on your product layout it might be possible that you have customize the layout and its not calling the default hook.

    So, you can use below filter to show the size chart link.

    
    /**
    * MOVE SIZE GUIDE LINK
    */
    function add_hook_custom_size_chart_position_change( ) {
    return “woocommerce_before_add_to_cart_button”;
    }
    add_filter( ‘add_hook_custom_size_chart_position’, ‘add_hook_custom_size_chart_position_change’, 10 );
    

    Hope this helps.

    Best Regards,
    Hitendra & Dotstore team

    Thread Starter xyz888

    (@xyz888)

    Hi Hitendra,

    Thank you for your response!

    I pasted the filter you provided on my functions.php file, however, I got this error: Warning: Use of undefined constant ‘add_hook_custom_size_chart_position’ – assumed ‘‘add_hook_custom_size_chart_position’’ (this will throw an Error in a future version of PHP).

    Do you have any suggestions?

    Thanks again!

    Thread Starter xyz888

    (@xyz888)

    Hi again!

    I just changed the quotes and the modal link is now showing up.

    Thanks again!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Modal not showing up’ is closed to new replies.