• Resolved chicodarave

    (@chicodarave)


    Hello.
    I have contacted the support, they said the problem is when a product is copied all data from it, also the data which says the item was already publicized.
    Also they said there is a code to put in functions.php that solves that, I have searched for this code but cant find.
    I can put codes to functions.php but I dont have knowledge yet to make this code.
    Someone have it or can help me?
    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    Sorry about the delay in writing back to you. If one of my colleague gave you a code snippet and you are having trouble using it, don’t hesitate to get back to them, they will give you more details.

    I can put codes to functions.php but I dont have knowledge yet to make this code.

    Instead of adding code to your theme’s functions.php file, I would recommend using a functionality plugin like this one:
    https://ww.wp.xz.cn/plugins/code-snippets/

    I hope this helps.

    Thread Starter chicodarave

    (@chicodarave)

    Hello Jeremy.

    I need the code to put there, do you have it?
    I can edit functions.php easily.

    Thank you.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    I don’t have the exact code, but you’ll want to use this filter:
    https://github.com/woocommerce/woocommerce/blob/3.1.2/includes/admin/class-wc-admin-duplicate-product.php#L115-L116

    You can use that filter to remove all post meta data that include the string _wpas_ when duplicating a post.

    If you’re not sure how to do this yourself, I would recommend hiring a professional to help you through this:
    https://jetpack.pro/

    I hope this helps.

    Thread Starter chicodarave

    (@chicodarave)

    This comes back to my original message:
    “I can put codes to functions.php but I dont have knowledge yet to make this code.”

    I dont have money to hire a professional to make a code to a shop which is not selling, so it will stay as it is.

    Thank you anyway.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Publicizing duplicated products’ is closed to new replies.