Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › Product Vendors › Dumplicate template page
Tagged: duplicate
- This topic has 10 replies, 2 voices, and was last updated 4 years, 8 months ago by jorsenmejia.
- AuthorPosts
- February 24, 2020 at 3:39 pm #108517jorsenmejiaParticipant
Hi, how can I edit the duplicate page for the product vendor side?
- February 26, 2020 at 12:36 pm #108865Ramamurthy KrishnanKeymaster
Hi,
Can you please explain your requirement more elaborately? Also if you could share us the link or screenshot of the section.
Thanks,
- February 26, 2020 at 2:18 pm #108877jorsenmejiaParticipant
please see the attached file on how to customize the duplicated content when I pressed the button?
Attachments:
You must be logged in to view attached files. - February 26, 2020 at 2:23 pm #108879jorsenmejiaParticipant
one more thing do you have an appointment status for pending confirmation showing it by count?
or can you provide me a shortcode for that (It depends on user)For example
User A has 3 pending appointments
User B has 2 pending appointmentsif user A logged in he will see that he has 3 pending appointments
then User B will see 2 pending appointments- March 3, 2020 at 1:21 pm #109700jorsenmejiaParticipant
Need your answer here
- March 3, 2020 at 8:59 am #109650jorsenmejiaParticipant
can you give me filter hooks for duplicate product button (Products manager page)?
- March 3, 2020 at 9:00 am #109651jorsenmejiaParticipant
can you give me filter hooks for duplicate products button (Products manager page)?
- March 3, 2020 at 12:07 pm #109675Ramamurthy KrishnanKeymaster
Hi,
After clicking the duplicate product button a duplicate product will be generated and you can edit that product according to your wish.
The action used for this is “wcfmu_duplicate_product”. Here is the add_action method which is being called for the functionality.
add_action('wp_ajax_wcfmu_duplicate_product', array( &$this, 'wcfmu_duplicate_product' ) );
Thanks,
- March 3, 2020 at 12:48 pm #109684jorsenmejiaParticipant
there has been an error after using this code
I put this code on functions.php
add_action(‘wp_ajax_wcfmu_duplicate_product’, array( &$this, ‘wcfmu_duplicate_product’ ) );There has been a critical error on your website.
- March 3, 2020 at 1:22 pm #109701jorsenmejiaParticipant
Need your answer here
one more thing do you have an appointment status for pending confirmation showing it by count? or can you provide me a shortcode for that (It depends on user) For example User A has 3 pending appointments User B has 2 pending appointments if user A logged in he will see that he has 3 pending appointments then User B will see 2 pending appointments
- March 3, 2020 at 1:36 pm #109704jorsenmejiaParticipant
how to get the ID of the duplicated products
there has been an error after using this code I put this code on functions.php add_action(‘wp_ajax_wcfmu_duplicate_product’, array( &$this, ‘wcfmu_duplicate_product’ ) ); There has been a critical error on your website.
- AuthorPosts
- You must be logged in to reply to this topic.