• Resolved reVwow

    (@revwow)


    Hello,
    1- is it possible to display only the current status and not the history of all statuses ?

    2- is it possible to put current status on the top then the rest of informations below ?

    Thanks alot

Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Support jaysupport

    (@jaysupport)

    Hi rev,

    You might be able to do both of these using some Custom CSS and we can help with that. Could you provide the URL to your page so we can take a look? Please also include a sample order ID, so that we can track/view an order.

    Thanks!

    Thread Starter reVwow

    (@revwow)

    Hello,
    ok here is a cookie access link (site is in maintenance) :
    website
    The commande available for test is : 1111
    The link of track order is : Track order page
    (be sure to use 1st the cookie link before clicking this link)

    Thanks a lot for you help

    Regards

    Plugin Support jaysupport

    (@jaysupport)

    Hi rev,

    Unfortunately, the cookie link you shared did not work for us, we still see the maintenance page. If it was a one time/person access, could it be that someone else accessed it before us? Or, if it’s time limited, make sure you make it good for a while, as we can’t guarantee when we’ll be able to look at it. With that in mind, would you be able to share a new link with us?

    • This reply was modified 2 years, 10 months ago by jaysupport.
    Thread Starter reVwow

    (@revwow)

    Ok i generated another one, hope it’ll work this time :
    siteweb access

    all my apologies for time wasting.

    regards

    Plugin Support jaysupport

    (@jaysupport)

    Hi rev,

    Thank you for providing that information.

    Regarding #1, you can use the following Custom CSS to solve this issue.

    .ewd-otp-status-label {
        display: none;
    }
    
    .ewd-otp-status-label:nth-of-type(5),
    .ewd-otp-status-label:nth-of-type(6) {
        display: flex !important;
    }

    Regarding #2, you can use the following Custom CSS to solve this issue.

    .ewd-otp-order-results {
        display: flex;
        flex-direction: column;
    }
    
    div.ewd-otp-order-results > div {
        order: 9;
    }
    
    .ewd-otp-status-label:nth-of-type(5) {
        order: 1;
    }
    
    .ewd-otp-status-label:nth-of-type(6) {
        order: 2;
    }

    Please note that the custom CSS depends on the current HTML order of elements, should the HTML order be changed, the Custom CSS might have to be updated. You can paste it into the Additional CSS section of your theme’s customizer.
    WP Admin Sidebar > Appearance > Customize > Additional CSS

    For reference, here’s a screenshot of the end result: https://ibb.co/0jy1gjD

    Thread Starter reVwow

    (@revwow)

    Hello,

    thanks a lot.
    I did some try but got some synthaxe error.

    #1 PHP Parse error: syntax error, unexpected ‘.’, expecting end of file in Standard input code on line 1

    #2 PHP Parse error: syntax error, unexpected ‘.’, expecting end of file in Standard input code on line 1
    I notice an error line 5 on #1 but cant find the main one.

    Any idea ?

    Reagards

    Plugin Support jaysupport

    (@jaysupport)

    What file/files does/do the errors reference?

    Where did you add the CSS?

    Are you sure you copy/pasted exactly what we provided above and didn’t miss anything?

    Thread Starter reVwow

    (@revwow)

    I used “code snippet” plugin to easily add some custom code.
    I already use it for some custom code and work properly but not this time weirdly.

    Anyway i tried “Appearance > Customize > Additional CSS” the second #2 code worked but the current status isnt the one is displayed.

    I have the feeling if i change status it breaks the last current status id (as there is no static id in code) and as nth-of-type(6) become nth-of-type(7) after a change.

    For the #1 code, it changed nothing, i still have all other statuses historic down.

    regards

    Plugin Support jaysupport

    (@jaysupport)

    Hi rev,

    Could you replace this Custom CSS (#1):

    .ewd-otp-status-label {
        display: none;
    }
    
    .ewd-otp-status-label:nth-of-type(5),
    .ewd-otp-status-label:nth-of-type(6) {
        display: flex !important;
    }

    with the following and see if that makes a difference instead?

    .ewd-otp-status-label {
        display: none !important;
    }
    
    .ewd-otp-status-label:nth-of-type(5),
    .ewd-otp-status-label:last-of-type {
        display: flex !important;
    }

    The ewd-otp-status-label:last-of-type selector will always target the latest status order, since it is always the last element with className ewd-otp-status-label.

    Thread Starter reVwow

    (@revwow)

    Ok it getting ok. Also i replace in css #2 :

    that :

    `.ewd-otp-order-results {
    display: flex;
    flex-direction: column;
    }

    div.ewd-otp-order-results > div {
    order: 9;
    }

    .ewd-otp-status-label:nth-of-type(5) {
    order: 1;
    }

    .ewd-otp-status-label:nth-of-type(6) {
    order: 2;
    }`

    with that :

    `.ewd-otp-order-results {
    display: flex;
    flex-direction: column;
    }

    div.ewd-otp-order-results > div {
    order: 9;
    }

    .ewd-otp-status-label:nth-of-type(5) {
    order: 1;
    }

    .ewd-otp-status-label:last-of-type {
    order: 2;
    }`

    Then i did a test to the very start with fresh order, i changed 3 times the status to have 3 statuses in history. I got the correct current status up there that switch every time i update status, but i still got the very 1st status that display down there, see screenshot.

    screenshot

    regards

    Thread Starter reVwow

    (@revwow)

    I found how to.
    Anyway thanks a lot for all information !
    And especially for being quick.

    regards

    EDIT:

    Actually i still need help, my fix isnt that i expected to.
    I still need to know how to hide this element that still display.

    • This reply was modified 2 years, 10 months ago by reVwow. Reason: mistake i didnt find how to
    Plugin Support jaysupport

    (@jaysupport)

    It’s not displaying for me. Only the recent status.

    It sounds like you might just be seeing a cached version of the page.

    Thread Starter reVwow

    (@revwow)

    Hello,
    I dont use cache plugin or anything cached for now.
    Actually you see some modification i did.

    I put back the code you send me, see again you will see the problem back.
    I still have the very 1st status still displaying.
    Weirdly the code :

    .ewd-otp-status-label {
        display: none !important;
    }

    Dont hide this one, for some reason.

    regards

    Plugin Support jaysupport

    (@jaysupport)

    Hello Rev,

    The reason for that is because you have some old Custom CSS still being applied to that element. Please remove the following Custom CSS, as previously mentioned, and see if that makes a difference.

    .ewd-otp-status-label:nth-of-type(5), .ewd-otp-status-label:nth-of-type(6) {
        display: flex !important;
    }
    • This reply was modified 2 years, 10 months ago by jaysupport.
    Thread Starter reVwow

    (@revwow)

    Hello jay,
    ok all my apologies for being dumb and thanks a lot you were right.
    I found the criminal code on theme custom css. Probly my 1st attempt i didnt delete.
    All seems to work perfectly.

    You won a client, am gonna take pro version probably on january when project come out.
    have a nice day

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘display of tracking form result – client view’ is closed to new replies.