• Resolved indicana35

    (@indicana35)


    Hello everyone,

    I’m using Classified Listings and I know I’ll have two types of clients: people looking to rent or buy property, etc., and property owners.

    The former pay to publish a listing: they click on “Add Listing” and when they’ve finished filling out their listing, they’re taken directly to the pricing page. So far, so good, it works.

    However, property owners don’t pay anything. Therefore, in “My Account,” I’d like “Add Listing” to be hidden.

    I don’t code in PHP, although I can grasp a few things, but I’ve looked online for how to hide a div, and nothing matches what I’m looking for.

    Does anyone have a solution? Thank you in advance, because I’ve been struggling with this for almost a week (that’s what happens when you get old!).

    I should point out that people who pay for their listing have a different status than the owners, which makes it easier to hide or show “Add Listing” (at least I think so).

    Indicana

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Muhammad Ali Akbar

    (@alireyad)

    Hi,
    Okay, I understand your situation. You want to hide pending listing from my-account list.

    Okey, for specific status we will add class there. So that, anyone can style or override based on status.

    Thank you

    Thread Starter indicana35

    (@indicana35)

    Hello,

    Thank you for your reply, but it’s not what I’m looking for.

    When someone is searching to buy or rent, they can “Add listing” in their dashboard (the field at the bottom of the menu is labeled “add listing”). Once they’ve created and confirmed their listing, they’re automatically redirected to the checkout. No problem, that works.

    However, if a property owner registers, I don’t want this field to appear (because the owner doesn’t post any listings and doesn’t pay anything). Therefore, I don’t want them to have access to the “add listing” field. They will see all the listings, be able to add them to their favorites, etc.

    Indicana

    Plugin Support Muhammad Ali Akbar

    (@alireyad)

    Hi,
    Sorry, we don’t have any specific role for seller, buyer, owner. If you need any specific functionalities based on owner, need customization. You can do it by overriding registration and my-account template.

    Thank you

    Thread Starter indicana35

    (@indicana35)

    @alireyad

    Hello, Thank you for your reply.

    Whan you write : “You can do it by overriding registration and my-account template.”. What do you mean. Could you tell me how I can do it ? Thanks in advance for your reply.

    Yours faithfully,

    Indicana

    Plugin Support Muhammad Ali Akbar

    (@alireyad)

    Hi,
    Please, follow below steps to manage it –

    1. Add user type option with registration form (Seller, Buyer, Owner)
    2. Save this user info in usermeta table
    3. Then when user logged in, check user type then add your functionality what you need based on user type. You can manage content restriction and others functions visibility based on user type.

    Thank you

    Thread Starter indicana35

    (@indicana35)

    @alireyad

    Hello,

    Thank you so much for your help, but as I’m rather a novice, could you tell me where I need to go (which template, or somewhere else in the admin panel or files) to add this option?

    Please don’t be offended, but I’ve been struggling with this for several days and finally asked for help on the forum because I was at my wit’s end. Actually, I always try to figure things out myself before asking for help.

    Thanks a lot

    Indicana

    PS important : For your information, I only have the plugin itself.

    • This reply was modified 2 months ago by indicana35.
    Plugin Support Muhammad Ali Akbar

    (@alireyad)

    Hi,
    Explore template path, you will get all override-able templates here – plugins/classified-listing/templates/

    Registration fields template path – plugins/classified-listing/templates/myaccount/form-registration.php

    If you unable to customize required functionalities, you can create support ticket from our site. We provide custom work https://www.radiustheme.com/ticket-support/

    Thank you

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

You must be logged in to reply to this topic.