Hide existing Price Plan when upgrading.

This topic contains 8 replies, has 2 voices, and was last updated by  Paolo 9 years ago.

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

Open Support Ticket
  • Author
    Posts
  • #64628

    Shane
    Buyer
    Post count: 149

    Hi Paolo,

    Me again 😀

    Quick query to see how I might hide the existing or lower level price plans from selection if upgrading?

    A simple example might be:
    Say I have 3 plans
    Free Classified Listing
    Premium Listing
    30 Day “Featured” Add-On

    If someone on Premium Listing wishes to purchase a 30 day Featured Add-On I don’t want them to see their current plan or Free as options, only the upgrades available to them on their current package.

    Furthermore…
    I would also like to create links to over-ride the existing “Upgrade Listing” link and use customised links specific to different packages.
    One might say “Upgrade” and another say “Add 30 Day Featured” etc. by referencing the package directly, i.e.,
    http://www.mydomain.com/add-listing/?pid=103&package_id=9

    In this case I don’t want any option displayed except the one chosen via the link and then to echo a message relating to the upgrade selected, i.e., “You Have Chosen a 30 Day Featured Add-on” instead of the default Select Package message?

    From this I could also create a “Downgrade” button to show available Downgrades.
    Many thanks in advance.

    Shane

    #64730

    Paolo
    Site Admin
    Post count: 31206

    Hi Shane,

    with current options, this is not possible. It would require quite a bit of customization in the prices and payments add-on.

    All this goes beyond support.

    Thanks

    #64746

    Shane
    Buyer
    Post count: 149

    Thanks Paolo,

    Pity. I suspected as much.

    There are CSS work-a-rounds I can think of to achieve the effect I need.
    Will let you know how I get on. If it works may benefit other members.

    Thanks again for your prompt response.

    Shane

    #64756

    Paolo
    Site Admin
    Post count: 31206

    With CSS you could do something. You’d need a function to add a body class for each price package, (that’s not difficult using the price package vars in the URL).

    Once that done you can add all custom css for each of your packages.

    Let us know how you went,

    Thanks

    #64757

    Shane
    Buyer
    Post count: 149

    Exactly what I was thinking.

    While I have you…

    I desperately need sidebars Above and Below GD Page content, as have with other GD page templates.

    Any ideas on how I could implement?

    #64783

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    You’ll need to register new sidebars and add them to the page template.

    Example: https://www.tastyplacement.com/add-sidebar-wordpress

    Thanks

    #64788

    Shane
    Buyer
    Post count: 149

    Cheers!

    #64791

    Shane
    Buyer
    Post count: 149

    That did the trick brilliantly. Thank you so much.

    #64799

    Paolo
    Site Admin
    Post count: 31206

    You are welcome 🙂

Viewing 9 posts - 1 through 9 (of 9 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