Add price package specific class to the preview page

This topic contains 18 replies, has 3 voices, and was last updated by  Giri 7 years, 8 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #387314

    Richard Davies
    Buyer
    Post count: 118

    hey,

    Depending on the price package selected, I want to show/hide details on the Preview page.

    I would like to add a class on the listing detail (on preview) for me to alter this depending on certain price package they have gone for.

    Thanks again for your amazing support

    #387414

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    You don’t need a class and CSS for that. You can hide any field depending the package via the price options.

    Please have a look at the price settings and let us know if it is still not clear.

    Thanks

    #388316

    Richard Davies
    Buyer
    Post count: 118

    Thanks Paolo,

    Another thing, my “amenities” section when I add them to a listing angd go to preview, show up as the word “array”

    any ideas?

    Cheers

    #388367

    Paolo
    Site Admin
    Post count: 31211

    We’d need to have a look at your settings, please provide a link and admin credentials and we’ll have a look.

    Also let us know which custom field of which CPT is causing troubles.

    Thanks

    #388398

    Richard Davies
    Buyer
    Post count: 118
    This reply has been marked as private.
    #388470

    Paolo
    Site Admin
    Post count: 31211

    Please share the link of a listing showing the problem.

    Thanks

    #388519

    Richard Davies
    Buyer
    Post count: 118

    https://www.explore-liverpool.com/hotels/united-kingdom/merseyside/liverpool/hotels/pullman-hotel-featured/

    If you log in as admin and “edit this post”

    When you go to preview you will see the list of amenities coming up as “array”

    Cheers

    #388582

    Paolo
    Site Admin
    Post count: 31211

    The code to output them in details page or preview isn’t the same and I see a lot of customization. Probably that’s where the problem is coming from.

    I asked to the developers to have a look, see if they find the bug and let us know how to fix it.

    Thanks for your patience,

    #388833

    Richard Davies
    Buyer
    Post count: 118

    Thanks, keep me updated 🙂

    #388900

    Paolo
    Site Admin
    Post count: 31211

    I’m really sorry Richard, I fear the developers missed your request, I flagged it again for them.

    Thanks for your patience,

    #388951

    Giri
    Expired Member
    Post count: 3155

    Hi Richard. I’m looking into it.

    #388954

    Giri
    Expired Member
    Post count: 3155

    Hi Richard, You have any idea where you added the custom code to display that super_sectionTab.

    I searched in your themes and snippets. I couldn’t find any custom code there. Did you hardcode inside GD?

    If yes, can you give me the name of those files? That would narrow down my search.

    Thanks

    #389110

    Richard Davies
    Buyer
    Post count: 118

    it would be in the core/function.php in my theme 🙂

    Cheers

    #389157

    Giri
    Expired Member
    Post count: 3155

    Hi Richard, Can you make sure your ftp credentials are correct?

    #389237

    Richard Davies
    Buyer
    Post count: 118

    Hey Giri,

    If you use the Cpanel access? and whitelist your IP through there, thats why you cant connect

    FTP detaisl are same for Cpanel

    Cheers

Viewing 15 posts - 1 through 15 (of 19 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount