• Resolved gekomees

    (@gekomees)


    How can I overwrite a template file (like for woocommerce it I must put template files in theme-folder/woocommerce)?

    The problem is shortcodes/vendor_registration.php includes echo 'Account Details';
    I need to make that translatable.

Viewing 3 replies - 1 through 3 (of 3 total)
  • @gekomees Please let me know if I am wrong, but I think you want to override vendor_registration.php.

    You can override vendor_registration.php template by copying it to yourtheme/dc-product-vendor/vendor_registration_form.php.

    If you want to override any other file apart from vendor_registration, please let me know which file is that. So that I can help you out with this.

    Regards,
    Moumita

    Thread Starter gekomees

    (@gekomees)

    Actually, the correct path was dc-product-vendor/shortcode/vendor_registration.php but thanks anyway, it helped me to the right path. It seems vendor_registration.php does not have the “how to replace template” text at the top like other files, which is why I didn’t realize how to do it.

    Glad to know that @gekomees ??

    Regards,
    Moumita

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to overwrite template’ is closed to new replies.