Home › Toolset Professional Support › [Resolved] Layout being removed when post is being published through Woocommerce
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 |
---|---|---|---|---|---|---|
- | 7:00 – 14:00 | 7:00 – 14:00 | 7:00 – 14:00 | 7:00 – 14:00 | 7:00 – 14:00 | - |
- | 15:00 – 16:00 | 15:00 – 16:00 | 15:00 – 16:00 | 15:00 – 16:00 | 15:00 – 16:00 | - |
Supporter timezone: Europe/London (GMT+00:00)
Tagged: Layouts plugin
This topic contains 17 replies, has 2 voices.
Last updated by daveG-7 5 years, 1 month ago.
Assisted by: Nigel.
In our workflow, a custom post type called Land Seeker Listing is created through a frontend Toolset Post Form. Payment is charged for the form with Toolset Forms Commerce. The post is created as Pending Review and the order is by default In Progress until an admin marks it as complete. We have the setting chosen so that when an order is complete, it is changed to Published.
When the admins go into the WordPress order and mark it as complete, the post gets published. However, the Layout assigned to it is removed. When I look at the Pending Review listings, they do have the correct layout, so it's the act of publishing them through Woocommerce and Toolset Forms Commerce that is removing the layouts. Any ideas on how to get that working?
Languages: English (English ) Spanish (Español )
Timezone: Europe/London (GMT+00:00)
Hi Dave
I tested this locally and found the same, so I've reported it so that it can be debugged further and a fix found.
I'll let you know when there is some feedback.
In the meantime, I found that the same problem doesn't happen with Content Templates. You could stop using Layouts for this post type and create a Content Template instead and that should work.
Languages: English (English ) Spanish (Español )
Timezone: Europe/London (GMT+00:00)
Hi Dave
I have a better workaround for you.
If you update the Order from the list of orders (at WooCommerce > Orders) rather than on the individual Order edit screen then the Layout isn't lost. (You can do that via Bulk Actions.)
Thanks for looking into this. The layout for this post type is very complex, so recreating it as a content template isn't a good option. Your second option, completing the order from the Order screen instead of the individual is a bit better. However, it's a better workflow for us to go directly to the order (we get automatic emails with those links when an order comes in). So, if you could please fix this, that would be great. Thanks.
Languages: English (English ) Spanish (Español )
Timezone: Europe/London (GMT+00:00)
Sure, the intention is to fix it, the other options were for you in the meantime as I don't know how long a fix will take.
I'll leave this as escalated.
Has this ever been fixed?
Languages: English (English ) Spanish (Español )
Timezone: Europe/London (GMT+00:00)
Hi Dave
Nope, I'm afraid not.
I checked the internal tickets and saw no progress so I mentioned it in today's developer meeting and was promised that they'd look into to see what can be done.
I'll leave this ticket in my assigned queue for now so I'll be reminded to follow up on it if I don't get some news soon.
Ok, thanks. It's a little disappointing that a confirmed bug has gone unfixed for 9 months, but I'm glad you'll take it up again now.
Languages: English (English ) Spanish (Español )
Timezone: Europe/London (GMT+00:00)
Hi Dave
I haven't forgotten you, but the developer who handles Layouts issues is on vacation till the end of this week and so I'll have nothing to report before next week.
Languages: English (English ) Spanish (Español )
Timezone: Europe/London (GMT+00:00)
Quick update just to say that I shared again with the developer who said he will look at it this week, so I'll share whatever feedback from him when he does.
Languages: English (English ) Spanish (Español )
Timezone: Europe/London (GMT+00:00)
Hi Dave
We pushed an update to Layouts yesterday which should include the fix for this.
Could you please update and let me know if you still see the problem?
Sorry it has taken this long, thanks for your patience.
Thanks. We're actually in the process of moving the site to new hosting this week to hopefully resolve a different issue we've been having, which keeps us from testing this. When we have it moved, I'll see if this fixes the issue - likely early next week.
Languages: English (English ) Spanish (Español )
Timezone: Europe/London (GMT+00:00)
No problem. Let me mark this as awaiting your feedback, let me know when you can.
We didn't get a chance to move the site last week - hopefully we can this week and test it after. Thanks.
Languages: English (English ) Spanish (Español )
Timezone: Europe/London (GMT+00:00)
No problem, I'll mark this as awaiting feedback again.