Puntorosso
Admite hilos creados en los últimos 30 días: 0
Debates favoritos del foro
Este usuario no tiene debates favoritos.
Temas del foro creados
| Status | Debate | Supporter | Voces | Mensajes | Caducidad |
|---|---|---|---|---|---|
|
Refresh view
Iniciado por: Puntorosso
en: 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 | 4 years, 10 months ago | |
|
User form won't show in Firefox
Iniciado por: Puntorosso en: Toolset Professional Support |
|
2 | 3 | 4 years, 10 months ago | |
|
Filter Woocommerce orders
Iniciado por: Puntorosso en: Toolset Professional Support |
|
2 | 7 | 4 years, 11 months ago | |
|
Query select field
Iniciado por: Puntorosso
en: 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 | 4 years, 11 months ago | |
|
Views incompatibility with Indeed Ultimate Affiliate Pro
Iniciado por: Puntorosso en: Toolset Professional Support |
|
2 | 10 | 4 years, 11 months ago | |
|
WooCommerce Orders with specific products
Iniciado por: Puntorosso en: Toolset Professional Support |
|
2 | 2 | 5 years ago |