Free Directory, Listing & Classifieds WordPress Plugin Support General HivePress Setting a listing as featured using a free package seems to break stuff

Setting a listing as featured using a free package seems to break stuff

  • Author
    Posts
  • ianantwalks

    Hello.

    On my site I have created a listing package that is free via Woocommerce.

    https://prnt.sc/ut7oq1

    Here is the flow for adding a new listing.

    1 – They sign in to the site.
    2 – They click Add Listing.
    3 – They choose a category.
    4 – They choose a subcategory.
    5 – They fill out the ad details.
    6 – They click Submit.
    7 – They sign up for the free listing package.

    Once approved, it appears on the main page, like this:

    https://prnt.sc/ut7idz

    But now, as a user, I want to make it appear as a Featured Listing.

    I edit the listing I just created, and I click ‘Feature’.

    https://prnt.sc/ut7ivi

    I fill out the checkout details, even though its a free product. I get the email saying that the order was completed.

    But the image does not appear featured, i.e. in the section of Featured Listings, why is this?

    Many thanks.

    ianantwalks

    If I go to the WP-Admin, click the same ad, and, under Settings, enable the ‘Make this listing featured’ option, then it works as expected. But why not from the front-end?

    https://prnt.sc/ut7qtb

    Thanks.

    ianantwalks

    Also, not sure if related or not, but, inside WooCommerce, I see my test order, but the status is ‘Processing’, does it complete itself automatically? Is that why it doesn’t appear as Featured as the order is not completed yet? How long does a free order take to automatically be completed?

    Thanks.

    ianantwalks

    Okay, so I manually set the test order status from ‘Processed’ to ‘Completed’ from WP-Admin and, lo and behold, it appeared under Featured.

    Surely I don’t have to manually complete every order for a free package subscription?

    Do they not get completed automatically or can that be configured?

    Thanks.

    ianantwalks

    Sorry for all the posts.

    I tried to add this code snippet to auto complete orders using the Code Snippet plugin, but it doesn’t seem to work.

    https://docs.woocommerce.com/document/automatically-complete-orders/

    The second test order sends an email that the order has been received, its status in Woocommerce is ‘Processing’ and I still have to manually complete it.

    Any help is much appreciated.

    Many thanks.

    ihordeveloper

    You don’t have to link a free package with WooCommerce product (packages are free when there’s no product), please check the docs first, there’s a screencast that shows this step by step.

    Orders are marked as processing or completed if you mark the product as virtual, then the featured status should be triggered. Orders can have “processing” status, it already means that the order is paid. Please check the screencasts in the docs, there’s also a screencast that shows how to set up monetization for the featured listings.

    ianantwalks

    Hello @ihor.

    Thanks for replying.

    I deleted my WooCommerce free product.

    I can create a free listing, but, when I click Feature, it breaks.

    http://prnt.sc/utt7r5

    It then goes to the cart page with two error messages.

    https://prnt.sc/utt7u3

    How can I get the Feature option to work?

    Many thanks.

    ihordeveloper

    Please try following screencasts from the Paid Listings docs step by step, these issues occur because you misunderstand the extension features. For example, the paid featuring is not a package, it always requires a linked product, so if you delete it then there will be “Empty cart” error.

    ianantwalks

    Thank you @ihor. I figured it out, I think. I followed the screencast and also deactivated the paid extensions listing. Now there is no option inside My Account, when viewing a listing, to make it featured. I assume that is normal?

    Thanks again for your help.

    ihordeveloper

    It depends on your requirements, if you want to charge users for featuring listings please follow this screencast step by step, you’ll get the same result https://www.youtube.com/watch?v=DJwObr_F9iQ&ab_channel=HivePress I can’t set up this for you.

    ianantwalks

    That makes sense. Maybe in the future I would charge users for featured listings, but for now I start with free, limited to 5 ads that expire after 30 days.

    Thanks again @ihor!

Viewing 11 posts - 1 through 11 (of 11 total)

You must be logged in to reply to this topic.

Subscribe

Sign In

Don't have an account? Register

Forgot password?

Register

Already have an account? Sign In

Forgot password?

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.