Please submit a private ticket if you need to share sensitive information, such as license details and admin credentials.

Okay
  Public Ticket #3480815
Delete Auto draft variation from shop page
Closed

Comments

  •  7
    Sabbir started the conversation

    Hello,

    After installing the wpc show single variation plugin, it shows an extra unwanted product card. Further investigating i came to know that this is an auto draft product variation. please delete this.

    Please see the screenshot. If i click "read more" it goes to a url like this: mydomain.com/?product_variation=auto-draft

    Attached files:  Screenshot_19.png
      Screenshot_20.png

  •  767
    Janilyn replied

    Hi Sabbir,

    Thanks for reaching out to us here.

    You can kindly check your site again or you might need to go to WPClever >> Show Single Variation >> Tools tab and click on Re-init the variations again to be sure.

    I have checked this on our test site, there's no auto-draft at all:

    9985758895.png

    Best regards.

    Janilyn T. - WPClever Support Agent

  •  7
    Sabbir replied

    Hi,

    The problem is solved. actually the backend had no autodraft post for variation but it was on the database table like for no reason WP keeps that autodraft in the database even after it was deleted... so first i identified the variation ID by chrome dev and then write a code with the help of chatgpt to delete it. and it worked.


    But your plugin should have the ability to show only published (post/product/variation) and bypass any autodraft.. others prople have gonna suffer for it it guess...so please fix it in your next release


    Thanks

  •  767
    Janilyn replied

    Hi Sabbir,

    Thanks for your feedback. I'll report it to our developers.

    I'll consider your case closed and close your ticket now. Feel free to submit a new one in case you encounter any issues at any time. 

    Have a nice day and best regards. 

    Janilyn T. - WPClever Support Agent