Puntorosso
In den letzten 30 Tagen erstellte Support-Threads: 0
Lieblings-Forenthemen
This user has no favorite topics.
Forum Topics Created
| Status | Thema | Supporter | Stimmen | Artikel | Aktualität |
|---|---|---|---|---|---|
|
Refresh view
Gestartet von: Puntorosso
in: Toolset Professional Support
Problem: If no items are found in a View of WooCommerce Orders, I would like to automatically refresh the View results after a set amount of time. Solution: There is no automatic feature for refreshing View results, nor is there a true JavaScript API for Views, but you could achieve something similar by reloading the current page in a setTimeout function added to a script tag in the wpv-no-items-found block of the View, for example:
[wpv-no-items-found]
<strong>[wpml-string context="wpv-views"]No items found[/wpml-string]</strong>
<script type="text/javascript">setTimeout(function(){location.reload();}, 5000);</script>
[/wpv-no-items-found]
This will reload the current page after 5 seconds if no results are found in the View. That loop of refreshing every 5 seconds would continue until results exist. Relevant Documentation: |
|
2 | 3 | vor 4 years, 10 months | |
|
User form won't show in Firefox
Gestartet von: Puntorosso in: Toolset Professional Support |
|
2 | 3 | vor 4 years, 10 months | |
|
Filter Woocommerce orders
Gestartet von: Puntorosso in: Toolset Professional Support |
|
2 | 7 | vor 4 years, 11 months | |
|
Query select field
Gestartet von: Puntorosso
in: Toolset Professional Support
Problem: Use WP_Query to extract all order posts containing a specific value on the select field. Solution: The WP_Query will query posts in "Published" status by default: But Woocommerce order posts do not use WP default status, so you need to define the post status parameter in WP_Query. For example: https://toolset.com/forums/topic/query-select-field/#post-2101145 Relevant Documentation: |
|
2 | 3 | vor 4 years, 11 months | |
|
Views incompatibility with Indeed Ultimate Affiliate Pro
Gestartet von: Puntorosso in: Toolset Professional Support |
|
2 | 10 | vor 4 years, 11 months | |
|
WooCommerce Orders with specific products
Gestartet von: Puntorosso in: Toolset Professional Support |
|
2 | 2 | vor 5 years |