• Resolved leonardo534

    (@leonardo534)


    Hi, i create a list product with plugin, i register products in woocommerce, but in list product show product scheduled, is incorrect because product it’s not a published

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Richard

    (@richardmallick)

    Hello,

    Thank you for contacting us. Hope you are doing well.

    You mean. Unpublished products are displayed on your website?

    Regards,
    Richard.

    Thread Starter leonardo534

    (@leonardo534)

    yes, Unpublished products are displayed on my website

    • This reply was modified 7 months, 2 weeks ago by leonardo534.
    • This reply was modified 7 months, 2 weeks ago by leonardo534.
    • This reply was modified 7 months, 2 weeks ago by leonardo534.
    Plugin Author Richard

    (@richardmallick)

    We found the issue. It’s a query issue. Can you modify the code? If yes, let me know so I can instruct you for a quick fix until we release the latest version of the plugin.

    Regards,
    Richard.

    Thread Starter leonardo534

    (@leonardo534)

    yes, i can

    Plugin Author Richard

    (@richardmallick)

    Hello,

    It’s great.

    So you need to edit this plugin.

    1. Go to this plugin: product-layouts -> includes -> Helper -> Public_Render.php
    2. Line: 230, Remove this code
      ‘post_status’ => array(‘publish’, ‘pending’, ‘future’),
      and add this code
      ‘post_status’ => array(‘publish’),

    It should fix the issue.

    If you have any queries please let me know.

    Thank you,
    Regards,
    Richard.

    Thread Starter leonardo534

    (@leonardo534)

    great, its worked, thank you so much.

    Plugin Author Richard

    (@richardmallick)

    Hello,

    I am glad to hear.

    Now we’re going to mark this topic resolved.

    If you experience any further difficulties, please feel free to open a new topic.

    Thank you,
    Regards,
    Richard.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘List product incorrect’ is closed to new replies.