Support » Developing with WordPress » How to add second New Product popup

  • Resolved crystalwaterz



    -multi vendor site

    I want to add second pupup for adding new product for vendors because i need different fields. I found where to add second button, it is in file products-listing.php. So far i know button in that file is a trigger for popup but i cant figure out how and where in code is reference to tmpl-add-product-popup.php. This is a href of the button

    <a href="<?php echo esc_url( dokan_get_navigation_url( 'new-product' ) ); ?>"

    It looks like button href points to new-product.php and i cant find connection between new-product.php and tmpl-add-product-popup.php

    My idea is to change second button to something like

    <a href="<?php echo esc_url( dokan_get_navigation_url( 'new-product-2' ) ); ?>"

    but i need help to find out how to make second button opens tmpl-add-product-popup-2.php

    Thank you

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘How to add second New Product popup’ is closed to new replies.