Skip Navigation

[Resolved] Edit Order link in orders list Loop

This support ticket is created 6 years, 4 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 16 replies, has 3 voices.

Last updated by Christian Cox 6 years, 3 months ago.

Assisted by: Christian Cox.

Author
Posts
#956453

1- I have created a Cred Form "Order Edit" for editing the status of the ordered products.
2- I have created a new Layout and added the Form "Order Edit" to it
3- I have a view showing me all orders on the front end.
4- i have embed the "Order Edit" form in the loop of the Views..this showing me the generic field i have in the form with all order statuses and i can change the status of the order immediately in the loop by selecting the status and updating the form.

embed form in the loop works fine as following

[cred_form form='order-edit']

5- WHAT I AM TRYING TO DO is instead adding the whole embed form in the loop i would like to add the usual "toolset-edit-post-link" of Cred form in the loop. I have tried to add following to the loop but it doesn't show anything in the loop.

No Edit link showing up

[toolset-edit-post-link layout_slug="order-edit-layout"]Edit Order[/toolset-edit-post-link]

Is this happening because its orders and not normal post? what is the best way to achieve this?

#956458

I have tricked this this way and seems to work as expected

    <a class="btn btn-primary" href="[wpv-post-url]?layout_id=3359" role="button" target="_blank">Edit Order</a>

I am just still wondering why toolset edit post link not working?

#956573

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Nashaat,

Thank you for contacting our support forum.

This should work as expected. Would you mind allowing me to take a look at the page where this shortcode has been added?

The private fields have been enabled so that you can provide the credentials as well.

Thanks,
Shane

#956574

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Private fields

#957335

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Nashaat,

Its a bit difficult for me to navigate your site to find everything.

Could you send me a link to one of the pages on the frontend ?

Thanks,
Shane

#957340

here is the page : hidden link

#987360

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Nashaat,

Its strong that i'm seeing the Layouts plugin enabled but not seeing it in the toolset menu.

Could you update Layouts to the Latest 2.4 version as this could be the cause of the issue.

Thanks,
Shane

#988483
IMG_20180730_175101.jpg

Hi Shane, the Layout plugin is already updated to the latest version 2.4. see Attachment.

#994125

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Screen Shot 2018-07-30 at 10.47.03 AM.png

Hi Nashaat,

I'm not able to see the layouts options here. See Screenshot.

This could be why its not showing up. Does the layout menu show for you ?

Please let me know.
Thanks,
Shane

#995443
IMG_20180730_185902.jpg

Weird in my account i can see this although both account are administrator...

Please login with my account:

Please delete login data from this comment, after receiving them.

Thanks

#1013560

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Nashaat,

Thank you I was able to check everything and it is setup correctly.

I'm not sure why the information is not showing up, however could you temporarily disable all the non-toolset plugins just to ensure that this isn't being caused by a plugin conflict.

Thanks,
Shane

#1015318

I have disabled all plugins except WooCommerce + Toolset plugins...

I cant disable woocommerce since the results will be different on the frontend...

Please check this link here: hidden link

"Here should be Edit Link:" still showing nothing..

#1069325

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Nashaat,

This is strange as it should show up.

Would it be ok if I took a duplicator package from the site so that I can have a look at this locally ?

Thanks,
Shane

#1069329

Yes sure! go for it!
Thanks

#1070292

Hi, Shane is on public holiday today so I will take over this ticket. I hope that's okay. I just ran some tests locally, and I can replicate the same behavior on my own site - the edit post link does not appear for any User. I tried with and without Layouts, but neither shortcode works as expected. I think it has something to do with the way Shop Order single posts are rendered on the front-end of the site, but I need my 2nd tier team to investigate in more detail. I'm passing this information up the chain to them and I'll let you know what I find out.