Skip Navigation

[Resolved] Toolset View + WooCommerce Orders/Products

This support ticket is created 2 years, 9 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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 3 replies, has 2 voices.

Last updated by Luo Yang 2 years, 9 months ago.

Assisted by: Luo Yang.

Author
Posts
#2359459

Tell us what you are trying to do?

**I'm trying to populate a view like this, hidden link

But, I need the view to be a drop down of the products listed and then populate the orders generated.

Is there any documentation that you are following?

**I've looked at, https://toolset.com/course-lesson/how-to-display-woocommerce-orders-on-the-front-end/

Is there a similar example that we can see?

hidden link

What is the link to your site?
hidden link

#2359591

Hello,

There isn't such kind of built-in feature within Toolset plugins, it needs custom codes, I have searched it in Google, found some related threads, for example:
https://stackoverflow.com/a/40576401

For your reference.

#2361187

Hi Luo,

Thank you for your help.

Was wondering if you could possibly answer another question.
The View that we have set-up: hidden link

Our 'Export CSV' is no longer working.

Here is the code: Export to CSV (Need to Print this Page? --> Right click on the page then choose "Print" in the options menu)

Is there a targeted reason why this would stop working?

Here is the full Loop:

[wpv-layout-start]
[wpv-items-found]

Export to CSV (Need to Print this Page? --> Right click on the page then choose "Print" in the options menu)

<div id="exportData" class="table-responsive">
<table width="100%" class="table table-bordered">
<thead>
<tr>
<th>Vendor Name</th>
<th>Business Name</th>
<th>Vendor Email</th>
<th>Vendor Type</th>
<th>Payment Status</th>
</tr>

<tbody>
<!-- wpv-loop-start -->
<wpv-loop>
<tr>
<td class="ven_name">[types field='your-name'][/types]</td>
<td class="ven_name">[wpv-post-title]</td>
<td class="ven_email">[types field='personal-email' output='raw'][/types]</td>
<td class="ven_type">[wpv-post-taxonomy type="vendor-types" format="name"]</td>
<td class="ven_name">[types field='show-date-payment-accepted-on'][/types]</td>
</tr>
</wpv-loop>
<!-- wpv-loop-end -->
</tbody>
</table>
[/wpv-items-found]
[wpv-no-items-found]
[wpml-string context="wpv-views"]No items found[/wpml-string]
[/wpv-no-items-found]
[wpv-layout-end]

Thank you!
Tracy

New threads created by Luo Yang and linked to this one are listed below:

https://toolset.com/forums/topic/our-export-csv-is-no-longer-working/

#2361241

According to our support policy, we prefer one ticket one question.

For the new issue, please check the new thread here:
https://toolset.com/forums/topic/our-export-csv-is-no-longer-working/