adding the "sort by prices" dificulties

This topic contains 7 replies, has 3 voices, and was last updated by  Paolo 7 years, 5 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #386972

    aronz
    Expired Member
    Post count: 22

    I am posting this here, because i was not sure where else to position this.. :/

    The questions are regarding the Sort by Price Package modification in functions.php.

    1) My site is running Directory starter, with Supreme, and i happen to run in to difficulties with this.
    Right after adding into functions.php i receive the following notice:

    unable to handle this request.
    HTTP ERROR 500

    So i had to restore the server app (cpt. obvious…)
    Any ideas how to avoid this?

    2) Currently i am assigning the corresponding annual and monthly plan to one position, but that might not be wise and cause conflict?
    2.1) Is there any more elegant way to offer monthly or annual billing, without creating a separate price package?

    Thanks a million again!

    #386973

    aronz
    Expired Member
    Post count: 22
    This reply has been marked as private.
    #387082

    Giri
    Expired Member
    Post count: 3155

    Hi there,

    Can you post the code here and then give me the link?

    http://gist.github.com

    #387085

    Paolo
    Site Admin
    Post count: 31206

    Or provide FTP credentials where we can see your code directly.

    Thanks

    #387092

    aronz
    Expired Member
    Post count: 22
    This reply has been marked as private.
    #387093

    Paolo
    Site Admin
    Post count: 31206

    I’m not 100% sure, but I believe the problem is simple, you can’t assign the same order to 2 or more prices.

    Try to assign each a unique position and see if that works.

    Thanks

    #387104

    aronz
    Expired Member
    Post count: 22

    Hmm will try that!

    BTW should i add the code over FTP, or is the WP editor enough?
    Just to be safe… 😛

    regards

    #387108

    Paolo
    Site Admin
    Post count: 31206

    Best way to be safe is to use a plugin like code snippets and avoid adding functions to theme files.

    Let us know how it goes,

    Thanks

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