Puntorosso
Fils de soutien créés au cours des 30 derniers jours : 0
Sujets de forum favoris
This user has no favorite topics.
Sujets de forum créés
| Status | Topic | Supporter | Voix | Publications | Nouveauté |
|---|---|---|---|---|---|
|
Refresh view
Commencé par : 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 | Il y a 4 years, 10 months | |
|
User form won't show in Firefox
Commencé par : Puntorosso in: Toolset Professional Support |
|
2 | 3 | Il y a 4 years, 10 months | |
|
Filter Woocommerce orders
Commencé par : Puntorosso in: Toolset Professional Support |
|
2 | 7 | Il y a 4 years, 11 months | |
|
Query select field
Commencé par : 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 | Il y a 4 years, 11 months | |
|
Views incompatibility with Indeed Ultimate Affiliate Pro
Commencé par : Puntorosso in: Toolset Professional Support |
|
2 | 10 | Il y a 4 years, 11 months | |
|
WooCommerce Orders with specific products
Commencé par : Puntorosso in: Toolset Professional Support |
|
2 | 2 | Il y a 5 years |